Re: [gdal-dev] Re-projecting with valid geometry

2014-09-07 Thread Jukka Rahkonen
klo uo gmail.com> writes: > Thanks Even,that's great solution. > > Now, although ST_IsValid() doesn't report any more problems, QGIS "Check geometry validity" still finds issues on 3 features. > I also tried ArcMap's "Check Geometry" function, and it found 2 "self intersections". Features repor

Re: [gdal-dev] Re-projecting with valid geometry

2014-09-06 Thread klo uo
Thanks Even,that's great solution. Now, although ST_IsValid() doesn't report any more problems, QGIS "Check geometry validity" still finds issues on 3 features. I also tried ArcMap's "Check Geometry" function, and it found 2 "self intersections". Features reported by QGIS and ArcMap are different

Re: [gdal-dev] Re-projecting with valid geometry

2014-09-06 Thread Even Rouault
Hi, > > Interestingly table reprojected with ogr2ogr shows errors on different > features then errors generated by PostGIS's ST_Transform() function. This is a bit surprising. ogr2ogr applies reprojection on each point of source geometries. I would have expected ST_Transform() to do the same.

[gdal-dev] Re-projecting with valid geometry

2014-09-06 Thread klo uo
Hi, I have PostGIS table with multipolygon geometry column of ~2000 features with valid geometries. Most are single polygons. These were originally in 900914 projection. I tried to re-project to 4326, first with org2ogr then with PostGIS's ST_Transform() function. In both cases I get results wit