Re: [gdal-dev] Regarding geometry layer creation options

2019-12-10 Thread Wuyyuru Ravi Teja Krishna
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 wro

Re: [gdal-dev] Regarding geometry layer creation options

2019-12-09 Thread jratike80
Hi, The example does not really use any database. It is utilising SQLite and a Spatialite function but it happens through a virtual table system in the background. You do not need to install anything extra. Did you try the command? -Jukka- Ravi Teja Krishna Wuyyuru wrote > Hi, > > Thanks for y

Re: [gdal-dev] Regarding geometry layer creation options

2019-12-09 Thread Wuyyuru Ravi Teja Krishna
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 wrote Hello Gdal team, Iam using ogr2ogr tool for .shp or .geo

Re: [gdal-dev] Regarding geometry layer creation options

2019-12-09 Thread jratike80
Hi, Have you tried with the syntax that is used in an example in the CSV documentation https://gdal.org/drivers/vector/csv.html? "This example shows using ogr2ogr to transform a shapefile into a .csv file with geography field formatted using GeoJSON format." ogr2ogr -f CSV -dialect sqlite -sql "

[gdal-dev] Regarding geometry layer creation options

2019-12-09 Thread Wuyyuru Ravi Teja Krishna
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": "Poly