[Qgis-user] OpenStreetMap Error

Even Rouault even.rouault at spatialys.com
Sun Aug 31 13:22:31 PDT 2014


Le dimanche 31 août 2014 22:16:30, Jukka Rahkonen a écrit :
> Andre Joost <andre+joost at ...> writes:
> > There are two ways to use OSM in QGIS:
> > 
> > 1) by downloading OSM raw data with Vector -> Openstreetmap
> > 2) by using the Openlayers plugin, which will install into the web menu.
> 
> Hi,
> 
> There is also a third way which is to open OSM data with GDAL/OGR. Usage:
> Add vector layer - Open an OGR supported Vector Layer - path to
> OpenStreetMap .xml or .pbf file. OSM does not seem to be listed as a
> supported file format at least in QGIS 2.2 but it works still. The manual
> page of OSM driver is http://www.gdal.org/drv_osm.html.

True to a certain extent. You must be aware that you cannot directly the OGR 
OSM driver in QGIS if there are more than 100 000 nodes, ways or relations in 
the file (small extracts will work, but possibly with not great performance). 
Above that limit, the file must be processed with ogr2ogr, which will use a 
specific mode to drive the OGR OSM driver ("interleaved" mode), that QGIS 
doesn't use.

> 
> -Jukka Rahkonen-
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com



More information about the Qgis-user mailing list