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

Re: [OSM-dev] osm2pgsql fails on pbf file

2011-07-23 Thread Jon Burgess
On Sat, 2011-07-23 at 13:23 +0200, Stephan Knauss wrote: > On 23.07.2011 12:43, mar...@gmx.eu wrote: > >> That really sounds like a problem inside the pbf. Did you try to read > >> another pbf-file or read asia.osm.pbf with osmosis? > > yesterday on irc someone had a similar problem. > > I tried

Re: [OSM-dev] osm2pgsql fails on pbf file

2011-07-23 Thread Stephan Knauss
On 23.07.2011 12:43, mar...@gmx.eu wrote: That really sounds like a problem inside the pbf. Did you try to read another pbf-file or read asia.osm.pbf with osmosis? yesterday on irc someone had a similar problem. I tried today with a different file. Same error. I used this: http://download.geo

Re: [OSM-dev] How to excluede unnecessary world boundaries while generating tiles?

2011-07-23 Thread Graham Jones
Parveen > If you look through osm.xml and its included files you will find layer > definitions. These have an on/off flag that you can use to disable layers > that you do not want to use. > > > I have just checked and it is the 'status' attribute of the layer definition that switches the layer on

Re: [OSM-dev] osm2pgsql fails on pbf file

2011-07-23 Thread marqqs
Hi, I just downloaded asia.osm.pbf and started the detour via .o5m (osmconvert, osm2pgsql with o5m-parser). So far no error occurred. > That really sounds like a problem inside the pbf. Did you try to read > another pbf-file or read asia.osm.pbf with osmosis? Maybe it was just the pbf file fro

Re: [OSM-dev] How to excluede unnecessary world boundaries while generating tiles?

2011-07-23 Thread Graham Jones
Parveen If you look through osm.xml and its included files you will find layer definitions. These have an on/off flag that you can use to disable layers that you do not want to use. Graham from my phone On 23 Jul 2011 10:03, "Parveen Arora" wrote: Hello Everyone, While setting uo tile server,

[OSM-dev] How to excluede unnecessary world boundaries while generating tiles?

2011-07-23 Thread Parveen Arora
Hello Everyone, While setting uo tile server, I don't want to include all the world boundaries for generating tiles as I don't want to generate tiles for lower zoom levels and also these directories are of 300MB. While generating tiles without including world boundaries I am getting the following e