Re: [gdal-dev] ogr2ogr is not working for a geojson file

2020-11-24 Thread Wuyyuru Ravi Teja Krishna
Hi,        I have tried converting the file in Centos and Macos but I am facing an error as said below. I have analyzed and found that the issue occurs only when there is no properties data in geojson file. I have generated jars and library files using the java bindings of gdal. Is there any

Re: [gdal-dev] ogr2ogr is not working for a geojson file

2020-11-24 Thread jratike80
Hi, What is your GDAL version (current is 3.2)? Do you get the same error with ogr2ogr command line without launching it from Java? -Jukka Rahkonen- Ravi Teja Krishna Wuyyuru wrote > Hi,  > > > >       I have tried converting the file in Centos and Macos but I am facing > an error as said be

Re: [gdal-dev] ogr2ogr is not working for a geojson file

2020-11-23 Thread jratike80
Hi, I don't know that Java stuff but at least there does not seem to be anything wrong with your data nor ogr2ogr. Your command runs without errors on Windows and ogr2ogr binary (GDAL version 3.2). -Jukka Rahkonen- Ravi Teja Krishna Wuyyuru wrote > Hi team, > >       I am using ogr2ogr with

[gdal-dev] ogr2ogr is not working for a geojson file

2020-11-23 Thread Wuyyuru Ravi Teja Krishna
Hi team,       I am using ogr2ogr with java bindings for conversion of a geojson file to a csv file, But I am getting an error as specified below. ERROR 10: Pointer 'panMap' is NULL in 'OGR_F_SetFrom'. Unable to translate feature 0 from layer map_sample Terminating translation prematurely af