Re: [gdal-dev] Ogr2OGR for GeoJSON fails on windows 7

2012-03-30 Thread Vivek Dey
Hello Thank you all for helping me out. The error was because of the write permission in the directory. I changed the directory and it works well. Thanks Chaitanya and everybody else. Vivek On Fri, Mar 30, 2012 at 3:18 AM, Mateusz Loskot mate...@loskot.net wrote: On 30 March 2012 01:35, Eli

[gdal-dev] Ogr2OGR for GeoJSON fails on windows 7

2012-03-29 Thread Vivek Dey
Hi All I am a newbie of GDAL. I want to convert a shape file to GeoJSON file. I have downloaded GDAL 19 (MSVC 2010 win64) binaries. However, when I try to convert to GeoJSON. It says Failed to create geoJSON datasource I am using the following code ogr2ogr -f geoJSAON CENO.json CENOVUS.shp

Re: [gdal-dev] Ogr2OGR for GeoJSON fails on windows 7

2012-03-29 Thread Eli Adam
Vivek, I think you might have some minor typos: ogr2ogr -f geoJSAON CENO.json CENOVUS.shp GeoJSON not geoJSAon [no ending double quote either] HTH, Eli ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

Re: [gdal-dev] Ogr2OGR for GeoJSON fails on windows 7

2012-03-29 Thread Eli Adam
Vivek, My bad , i did typo in writing here. I have written correctly as GeoJSON for conversion. Are you saying that you typed it correctly on the command line and it still doesn't work? If so, can you copy your command and error from the command line to the email? Eli