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.

Re: [gdal-dev] OGRStyleTool::GetStyleString() loosing quotes after modification

2014-09-06 Thread Even Rouault
Le jeudi 04 septembre 2014 22:07:46, Andre Vautour a écrit : > I ran into a problem where a quoted text string in a OGR Style String > gets lost while interacting with it via an OGRStyleTool. Using the same > style string afterwords causes OGRStyleTool::Parse() to fail because the > quote string co

[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