Re: [OSM-talk] Mysterious PostGIS Problem with Polygons

2009-08-21 Thread John Smith
--- On Sat, 22/8/09, Jon Burgess wrote: > In part it could be caused by invalid geometries. Postgis > reports that > only Polska is actually a valid polygon geometry. Any > errors could upset > algorithms like ST_Within(). > > gis=> select name,isvalid(way) from planet_osm_polygon > where > boun

Re: [OSM-talk] Mysterious PostGIS Problem with Polygons

2009-08-21 Thread Jon Burgess
On Fri, 2009-08-21 at 18:51 +0200, Peter Körner wrote: > >> The second should fetch the border of Germany and the first > >> one all boundaries in that. At least that's what I want it > >> to do :) > > > > I just ran that query on my database and used name='Australia' and it works > > as you thou

[OSM-talk] Mysterious PostGIS Problem with Polygons

2009-08-21 Thread Peter Körner
>> The second should fetch the border of Germany and the first >> one all boundaries in that. At least that's what I want it >> to do :) > > I just ran that query on my database and used name='Australia' and it works > as you thought it should. Yes, you're right. It works with Nederland, Aus