![]() ![]() spatialite_osm_map (import layers for mapping).There are 3 spatialite tools available from (The following seems to be fixed now: The 3 layers have weird pointers in the QGIS project: after saving the project, when reopening it, the points will not be recognized, so you need to "save as" all the 3 layers anyway before saving the QGIS project).Probably limit in data size (would not work with planet.osm !).Right-click on a layer and "Save as" sqlite for instance to keep all tags in one text field. You should not save the 3 created layers as a shapefile as shapefiles will truncate the "tags" field (which contains a text representation of all fields). Only a few tags are extracted into fields (in the attribute table).As a consequence, the python plugin fails to build many polygons (they become just a bunch of lines) and represent all roundabouts as polygons (those must be represented as ways, otherwise QGIS cannot render them with a border as osmarender and mapnik). OSM rules are much more complex than this (polygons can be made of several lines, may have holes, holes in holes. Incorrect management of polygons and closed ways: the rule seems to be: something is a polygon if and only if it is a closed single line.This is the easiest but there are several problems: This is an easier and more powerful solution largely built on considerations and codes from this page. TODO: Show screenshots, compare functionalities with the integrated routing capability and the few online OSM routing tools Let QGIS access OSM data for rendering ¶ Using osm2postgresql ¶ ![]() Otherwise please wait until I write here the solution I'm using. If your osm file is small or if you have tens of GB of RAM (!), see this tutorial (read my comment on the same page). TODO: Samples comparing rendering methods (for a few areas show results from qgis python plugin, osmarender, mapnik, and qgis rule-based rendering) Routing ¶ ![]() NEW: More high-resolution samples of rendering are available here: OpenStreetMap data rendered with QGIS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |