[gdal-dev] How to convert GeoJson to EsriJson

Mateusz Loskot mateusz at loskot.net
Tue Jan 21 12:38:18 PST 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200121/ffb39133/attachment.html>


More information about the gdal-dev mailing list