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 wrote: > On 30 March 2012 01:35, Eli Adam wrote: > >

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

2012-03-29 Thread Vivek Dey
Hi Eli My bad , i did typo in writing here. I have written correctly as GeoJSON for conversion. Thnks Vivek On 2012-03-29 4:23 PM, "Eli Adam" wrote: > Vivek, > >I think you might have some minor typos: > > > ogr2ogr -f "geoJSAON CENO.json CENOVUS.shp > > "GeoJSON" not > "geoJSAon [no ending d

[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.sh