OpenJUMP

From OpenStreetMap Wiki
Jump to: navigation, search
OpenJUMP screenshot

OpenJUMP is a desktop GIS software, written in Java, developed primarily in Canada. Like many "GIS" systems, it's all about working with Shapefiles, but it also has native support for PostGIS databases.

Contents

How to import OSM data

To work with OSM data, you could just download Shapefiles created from OSM. For more flexibility however you may prefer to import OSM data into PostGIS as follows:

Preparations

Import the data

osm2pgsql -d osmdatabasename osmdumpname.osm

Everything will be automatic after that and the result is ready-to-use PostGIS tables '_point', '_line' and '_polygon' containing OSM data. The more data there are to import, the longer it takes. Some estimate is that with a standard laptop osm2pgsql used in the slim mode can import about 80 GB of bz2 compressed OSM data per hour.

Read the data into OpenJUMP

OpenJUMP has native support for PostGIS. All you need is to define the datastore, that is to give server, post, dbname etc. so that OpenJUMP knows how to connect. After that all PostGIS layers in that database are selectable. And not only that, they are queryable too. So you can tell OpenJUMP to read in line data WHERE highway='secondary' and you know what you will get :) Or from the point data WHERE shop='supermarket', and you will get the supermarkets which are not drawn in the default Mapnik or Osmarender maps.

See also

External Links

Personal tools
Namespaces
Variants
Actions
site
Toolbox