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 after failed

translation of layer map_sample (use -skipfailures to skip errors)



ogr2ogr is invoked as below



java -cp :gdal.jar -Djava.library.path=libs/ ogr2ogr "-s_srs" "CRS:84" "-t_srs" 
"CRS:84" "-f" "CSV" proplesscsv.csv map_sample.geojson  "-lco" "GEOMETRY=AS_WKT"

I have also attached the sample file I was working with this mail. Kindly help 
me in this conversion failure.


Thanks & Regards,

Ravi Teja

Attachment: map_sample.geojson
Description: Binary data

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to