Well, the driver says no and I'm not aware of any workarounds to make it say yes or make GeoJSON driver output yhr ESRIJSON.
GDAL 2.3 extracted read-only ESRIJSON driver from read-write GeoJSON driver. Mateusz Loskot, [email protected] (Sent from mobile, may suffer from top-posting) On Tue, 21 Jan 2020, 21:44 Lucas Caixeta Lucas GT4W, < [email protected]> wrote: > Thank you Mateus!! you asnwer was very enlightening. > > So, problaby it is not possible to do this parse right? is there a way to > get a esri type geojson? > > Best regards. > > Mateusz Loskot <[email protected]> escreveu no dia terça, 21/01/2020 > à(s) 18:37: > >> On Tue, 21 Jan 2020 at 21:29, Lucas Caixeta Lucas GT4W < >> [email protected]> wrote: >> >>> >>> I tried to convert geojson to esrijson either but got an error >>> this message, ESRIJSON driver does not support data source creation. >>> >>> ------ >>> $ ogr2ogr -f ESRIJSON file_output.json cities.json >>> ERROR 1: ESRIJSON driver does not support data source creation. >>> >> >> I'd say, the error is clear. >> >> Additionally, https://gdal.org/drivers/vector/esrijson.html says >> "This driver can read the JSON output of Feature Service..." >> and nowhere says read/write. >> >> TL;TR: ESRIJSON can only read, AFAIK. >> >> Best regards, >> -- >> Mateusz Loskot, http://mateusz.loskot.net >> _______________________________________________ >> gdal-dev mailing list >> [email protected] >> https://lists.osgeo.org/mailman/listinfo/gdal-dev > > > > -- > > > *LUCAS CAIXETA SIMÃO* > Analista de Sistemas > > *www.gt4w.com.br <http://www.gt4w.com.br/>*Fone/Fax: (35) 3822-8259 >
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
