[OSM-dev] Osm2pgsql: 2 linestrings in a way?

Martin Koppenhoefer dieterdreist at gmail.com
Sat Mar 31 10:16:54 BST 2012


Am 31. März 2012 10:59 schrieb yvecai <yvecai at gmail.com>:
> Hi,
> Is there a reason why a 'way' can contain more than one linestring in a
> osm2pgsql import to postgis?
>
> # select geometrytype(way) from planet_osm_line where osm_id = -2000800;


negative IDs are from relations, so it is normal that there is more
than one linestring (e.g. in the case of a route-relation).

cheers,
Martin



More information about the dev mailing list