Hello Gdal team,


Iam using ogr2ogr tool for .shp or .geojson. or .kml to .csv conversion. But i 
want the Geometry to be as collections as show below. ( On giving 
GEOMETRY=AS_WKT iam getting in a normal format is there any option to get in 
the format i need )



format I need : { "type": "Polygon", "coordinates": [ [ [ 76.612, 33.173 ], [ 
76.64, 33.162 ], [ 76.709, 33.181 ] ] ] } 

                        or  atleast to have it in this format is aceptable for 
us POLYGON (([76.612 , 33.173],[76.64 , 33.162],[76.709 , 33.181])) 
format iam getting :  POLYGON ((76.612 33.173,76.64 33.162,76.709 33.181)) 



Thanks.
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to