Hello, The geojson file before conversion and csv file after conversion are attached below.
the ogr2ogr command line used isĀ java -cp :gdal.jar -Djava.library.path=libs/ ogr2ogr "-f" "CSV" "-t_srs" "CRS:84" gdaltampered.csv gdaltampered.geojson "-lco" "GEOMETRY=AS_WKT" thanks. ---- On Thu, 16 Jan 2020 05:44:36 +0530 Even Rouault <[email protected]> wrote ---- Hello, > I am trying to convert a geojson file to csv file. but that coordinates were > tampered i.e 32.76543 is changed as 2333432.76543. Is there a way that > ogr2ogr conversion util will throw an error for such cases that data is > invalid. It would be of great help if such error throwing is possible. You should provide a sample csv file and the exact ogr2ogr command line to reproduce the issue Even -- Spatialys - Geospatial professional services http://www.spatialys.com
gdaltampered.csv
Description: Binary data
gdaltampered.geojson
Description: Binary data
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
