Re: [OSM-dev] Osm2pgsql outputs neg. and duplicate osm_ids (and weird attributes in table rels)

2011-07-24 Thread Stefan Keller
Hi Frederik, hi Jon Thanks for your quick explanations. 2011/7/23 Frederik Ramm : >> => Any hints? > "Read the source, Luke" ;) Lazyness was not my (main :->) problem and surely not reading the code. Regarding at least the attribute "pending" in osm_rels and osm_ways I assumed that they have an

Re: [OSM-dev] Osm2pgsql outputs neg. and duplicate osm_ids (and weird attributes in table rels)

2011-07-23 Thread Frederik Ramm
Hi, Frederik Ramm wrote: [...] Or, what Jon said ;) Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09" E008°23'33" ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] Osm2pgsql outputs neg. and duplicate osm_ids (and weird attributes in table rels)

2011-07-23 Thread Frederik Ramm
Hi, your suspicions are correct, the objects with negative IDs come from relations and at least in the case of a multipolygon relation it is obvious that there can be more than one. Boundary relations will create line and polygon objects, and route relations create line objects. The multi

Re: [OSM-dev] Osm2pgsql outputs neg. and duplicate osm_ids (and weird attributes in table rels)

2011-07-23 Thread Jon Burgess
On Sat, 2011-07-23 at 21:31 +0200, Stefan Keller wrote: > Hi, > > I have some questions about the osm2pgsql and it's output to the > tables <>_line, <>_polygon and <>_rels (hereby called > tables line, polygon and rels). > > After loading OSM data there are three remarkable things in the > result

[OSM-dev] Osm2pgsql outputs neg. and duplicate osm_ids (and weird attributes in table rels)

2011-07-23 Thread Stefan Keller
Hi, I have some questions about the osm2pgsql and it's output to the tables <>_line, <>_polygon and <>_rels (hereby called tables line, polygon and rels). After loading OSM data there are three remarkable things in the resulting tables regarding osm_ids: 1. In the tables lines and polygons there