Customizing OSM map with osm2postgresql & QGIS

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,758
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 18, 2011

Discover how to customize your own map with openstreetmap data with a few cliks!
The data was imported to a new postgresql/postgis database with a single line command using my osm2postgresql bash script.
This works with qgis 1.6 (you need qgis 1.7 if you want both rule-based rendering AND symbol levels). For the symbology for ways, I use map units (and I meant them to be meters: a road can be 30 meter wide, not 30 degrees!).
In the middle of the video QGIS seems slow then there is an orange screen, because I made a mistake: On this database, I have latitude-longitude data [1] ... and I forgot to check the "reproject on the fly" checkbox in QGIS, so in the video you see QGIS making some time to draw roads of 30 degrees ! (hence the orange screen).

[1] Note that osm2postgresql can reproject when importing an .osm file; this improves rendering performance. You should use it!

More info on how to do it yourself here:
http://www.qgis.org/wiki/Using_OpenStreetMap_data
https://sourceforge.net/projects/osm2postgresql/
http://wiki.openstreetmap.org/wiki/Osm2postgresql

Map data (c) OpenStreetMap contributors, CC-BY-SA. Map and video made by Mayeul KAUFFMANN with QGIS, osm2postgresql and gtk-recordmydesktop.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Video Responses

see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more