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

yvecai yvecai at gmail.com
Sat Mar 31 09:59:09 BST 2012


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;
  geometrytype
--------------
  LINESTRING
  LINESTRING
  LINESTRING
  LINESTRING
  LINESTRING
(5 rows)

An additionnal question, is, what is the purpose of the -G option at import?

Yves




More information about the dev mailing list