<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Arial, Helvetica, serif, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><div>Hello,<br><br>The geojson file before conversion and csv file after conversion are attached below.</div><div><br></div><div>the ogr2ogr command line used is <br></div><p class="p1"><span class="s1"><span class="font" style="font-family: "times new roman", times, serif, sans-serif;"><span class="size" style="font-size: 18.666666666666664px">java -cp :gdal.jar -Djava.library.path=libs/ ogr2ogr "-f" "CSV" "-t_srs" "CRS:84" gdaltampered.csv gdaltampered.geojson "-lco" "GEOMETRY=AS_WKT"</span></span></span><span class="font" style="font-family: "times new roman", times, serif, sans-serif;"><span class="size" style="font-size: 18.666666666666664px"><br></span></span></p><style type="text/css"><span class="font" style="font-family: "times new roman", times, serif, sans-serif;"><span class="size" style="font-size: 18.666666666666664px">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #f2f2f2; background-color: #000000; background-color: rgba(0, 0, 0, 0.85)}
span.s1 {font-variant-ligatures: no-common-ligatures}</span><span class="size" style="font-size: 18.666666666666664px"><br></span></span></style><div data-zbluepencil-ignore="true" id="Zm-_Id_-Sgn"><div>thanks.</div></div><br><div data-zbluepencil-ignore="true" style="" class="zmail_extra"><br><div id="Zm-_Id_-Sgn1">---- On Thu, 16 Jan 2020 05:44:36 +0530 <b>Even Rouault <even.rouault@spatialys.com></b> wrote ----<br></div><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin: 0px 0px 0px 5px;"><div>Hello, <br> <br>> I am trying to convert a geojson file to csv file. but that coordinates were <br>> tampered i.e 32.76543 is changed as 2333432.76543. Is there a way that <br>> ogr2ogr conversion util will throw an error for such cases that data is <br>> invalid. It would be of great help if such error throwing is possible. <br> <br>You should provide a sample csv file and the exact ogr2ogr command line to <br>reproduce the issue <br> <br>Even <br> <br>-- <br>Spatialys - Geospatial professional services <br><a target="_blank" href="http://www.spatialys.com">http://www.spatialys.com</a> <br></div></blockquote></div><div><br></div></div><br></body></html>