Note: this is an answer for an older version of GDAL, and there are newer versions available (including current) that can be compiled similar to this answer. Just replace the version numbers in the commands below.
Build from source, with Python bindings:
sudo apt-get install build-essential python-all-dev
Follow the NOOBS Setup instructions.
Update Raspbian from its Debian wheezy base to Debian jessie:
sudo vi /etc/apt/sources.list # or use your favourite editor
change all references of wheezy to jessie
sudo apt-get update
sudo apt-get upgrade # this will take a long time, with occasional user prompts
sudo apt-get dist-...
Here's a dedicated page for OSM SVG exporting: http://wiki.openstreetmap.org/wiki/SVG
One way to do this through command line would be to use Maperitive - here's a tutorial on how to generate SVG. You can simply write all the commands mentioned in the tutorial into a text file and run Maperitive with the file specified in the command line. Here are some ...
You can get 1.9 from Ubuntugis (see https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable).
See http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries for other sources of binaries.
Failing all else you can build 1.9 from the sources (http://trac.osgeo.org/gdal/wiki/BuildHints)
Basically pick a computer as a server, install the OS and database software, open the firewall for port 5432, modify the postgresql.conf and pg_hba.conf files to allow external access, and serve the data to the other computers. These are the same instructions for setting up a server on either Windows or Linux, except one OS is free. Most folks would pick ...
You have a few options:
PostGIS 2 has support for TIN and some other 3D objects.
GRASS has support via an add-on. See this how-to document.
QGIS has an Interpolation plugin (see here)
Roll-your-own by importing the GDAL libraries into a 3D modelling package such as Blender (I do it this way a lot because I want interactive 3D model rather than for ...
To solve the rendering-issues in VirtualBox you need to disable 3D-Hardware- and 2D-Video-Acceleration.
This is quite paradox, but I asked friends who used ArcGIS in a VirtualBox session and they simply told me I should try to turn off the acceleration.
Blender has a Python API. Therefore, I use Python in Blender and import the GDAL libraries and construct a Blender-native mesh directly from the GIS data. The only thing you need to be careful of is that the version of GDAL you have matches the version of Python in the Blender release you are using.
If you don't want to write your own script ...
I use following intro for stand-alone applications:
from qgis.core import *
from PyQt4.QtGui import *
# app specific code
if __name__ == '...
What about using the OSGeo Live distribution?
OSGeo-Live is a self-contained bootable DVD, USB thumb drive or
Virtual Machine based on Xubuntu, that allows you to try a wide
variety of open source geospatial software without installing
anything. It is composed entirely of free software, allowing it to be
freely distributed, duplicated and passed ...
You open your package manager. Type grass. Hit the install button. It should be able to identify any dependencies you may not have and install those as well. A package manager usually comes with a Linux installation. Some are better than others. I like synaptic.
Package management in Mint Linux is based on apt: http://wiki.debian.org/Apt, which means that the following, typed into your terminal, should install GRASS:
sudo apt-get install grass
Once the package is installed, you should be able to launch it by typing
into your terminal.
This will get you the latest stable version of GRASS. If you want ...
It appears that mint is able to handle package installation via a web embeddable trigger.
Navigate to community.linuxmint.com/software/view/grass and click install.
Looks like Mint manages everything from there.
Geonetwork's default configuration tries to put H2 database files directly in /var/lib/tomcat7, which is not writable by the tomcat user. You need to change this to a location that is writable, and that is persistent (won't get overwritten by a redeployment). A simple solution for this is using the tomcat user's home directory.
First, make sure your tomcat ...
I think the best option if you want to work with several GIS applications and a Ubuntu-based system is the UbuntuGIS repository.
Adding it to your sources is very easy, just enter this commands in the terminal, one at a time.
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
sudo apt-get install qgis
After that you will have QGIS ...
I always keep a Portable OpenOffice Calc (or Libre Office Calc) for editing DBF files. Here's a link (I haven't tried):
It is possible to directly edit a dbf file using this approach - even if the GIS file is open in another program (such as ArcGIS). To refresh the table in GIS Software, just ...
According to the manpage http://trac.osgeo.org/gdal/wiki/SOSI you have to compile the SOSI support yourself.
This is dependent on the operating system (which you have not mentioned) and documented on the page.
If you are on a mac, see also Converting SOSI to ESRI Shape
This page (also available in English) has a link to compiled binaries for Linux and ...
Does the version of the GDAL python package you are trying to install match the one for your GDAL installation?
I was having the same problem because I was trying to build the GDAL python package v1.9.0 against GDAL v1.8.1 that I had previously installed on my development machine.
Simply telling pip to use v1.8.1 solved this issue for me.
pip install ...
How to compile latest QuantumGIS on a non-Debian/Ubuntu Linux-system with Python-plugin-support and GRASS-integration? I finally did it!
Download and prepare dependencies. Most of them I could find in repositories, sometimes package names vary. Dependencies from INSTALL read-me file:
CMake >= 2.6.2
Bison >= 2.4
Qt >= 4.4.0
Proj >= 4.4.x
GEOS >= 3.0
Besides the OSGeo Live distribution, as already mentioned here, see also
Enterprise Linux GIS
Enterprise Linux (EL) and derivatives (that is, Red Hat Enterprise Linux, CentOS and Scientific Linux) is a popular and robust platform for servers and computing-heavy workstations, and is therefore a good fit for GIS specific requirements.
It works also nicely ...
although it is funny to answer my own question I think it might be useful also for other QGIS users.
If you go to Muon Package Manager and in Software sources remove all QGIS related repositories like Ubuntugis etc. then you add these (obtained from QGIS website):
deb http://qgis.org/debian-nightly raring main
deb-src http://qgis.org/debian-nightly ...
You can do that by first creating an empty geometry and "unioning" it with the polygons of the shapefile:
from osgeo import ogr
test = ogr.Open('polygons.shp')
layer = test.GetLayer()
3 # -> polygons
# empty geometry
union_poly = ogr.Geometry(ogr.wkbPolygon)
# make the union of polygons
for feature in layer:
This seems to be a known system/software bug:
and from the gpsd manpage http://www.catb.org/gpsd/gpsd.html:
There are exactly two circumstances under which ...
I just went through solving this problem.
The post by AndreJ is accurate and helped to start my investigation as to why the system clock was so far off.
In my case, I'm connecting a GPS receiver to a Raspberry Pi 2 running Ubuntu 14.04. Raspberry Pis don't have hardware clocks and so early in the boot process, before ntp can set the clock, the time/date are ...
You could create a custom script in your model to clear the '/tmp' folder at the end of each run. There's numerous ways to delete files but I like to use shutil.rmtree which deletes all files/folders in a specified directory.
To do this, go to Processing Toolbox > Scripts > Tools > Create new script and copy the following (adjust the path):
Assuming you really do need a JPEG output file, not a GeoTIFF with internal JPEG compression...
The JPEG driver supports the CreateCopy but not the Create method. It's not mentioned specifically in the gdal raster formats list (and probably should be). If you check the command line documentation using gdalinfo you'll see this.
gdalinfo --format JPEG