[gdal-dev] How to convert GeoJson to EsriJson

Lucas Caixeta Lucas GT4W lucascaixeta.gt4w at gmail.com
Tue Jan 21 12:44:18 PST 2020


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 <mateusz at loskot.net> escreveu no dia terça, 21/01/2020 à(s)
18:37:

> On Tue, 21 Jan 2020 at 21:29, Lucas Caixeta Lucas GT4W <
> lucascaixeta.gt4w at gmail.com> 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
> gdal-dev at lists.osgeo.org
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200121/06ff7326/attachment.html>


More information about the gdal-dev mailing list