[gdal-dev] Regarding geometry layer creation options

Wuyyuru Ravi Teja Krishna ravitejakrishna.w at zohocorp.com
Tue Dec 10 04:45:10 PST 2019


I have tried it but it shows a usage text which doesn't show any option of dialect. Do I need to do anything extra than normal java bindings?. (Note i have run configure with sqlite but still it doesn't work)



Thanks.






---- On Mon, 09 Dec 2019 17:24:38 +0530 Wuyyuru Ravi Teja Krishna <ravitejakrishna.w at zohocorp.com> wrote ----


Hi,



Thanks for your reply. But we would like to use it without using databases. can the same result be obtained without using any databases?

Thanks






---- On Mon, 09 Dec 2019 13:32:00 +0530 Wuyyuru Ravi Teja Krishna <mailto:ravitejakrishna.w at zohocorp.com> wrote ----










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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20191210/7ff5d9d0/attachment.html>


More information about the gdal-dev mailing list