[QGIS-Developer] Reading OSM data from .osm file

Etienne Trimaille etienne.trimaille at gmail.com
Tue Jul 24 06:34:23 PDT 2018


When you have your .osm file on your computer (eg downloaded from outside
QGIS), you can open it with:
* QuickOSM with the default parser, each keys will have their own fields.
* QuickOSM with your custom osmconf.ini file. The attribute table is
defined according to your osmconf file.
* OSM core importer in QGIS 2, not sure about the final attribute table.
* QGIS, loading a normal vector file. The osmconf file on your computer
will be used to define the attribute table.

So it seems you are using the last option, right? So maybe you modified the
default osmconf file?

2018-07-24 9:14 GMT-04:00 matteo <matteo.ghetta at gmail.com>:

> Hi Etienne,
>
> wait maybe we are confusing providers ;)
>
> QuickOSM parser works great. So far I never had a problem when
> downloading data with your plugin.
>
> But if the .osm file is downloaded outside QGIS (e.g. directly on
> openstreetmap.com) the parser (GDAL?!) makes columns collapsing.
>
> I attached a screenshot of the only 2 columns I have from the point
> layer loaded from the osm file (center of Rome city). So except for
> "osm_id" **all** the other tags are concatenated in the nameless second
> column.
>
> I really don't know is I'm missing something, but I thought that the
> workflow was pretty straightforward.
>
> Thanks!
>
> Matteo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180724/2bd0d09c/attachment.html>


More information about the QGIS-Developer mailing list