[gdal-dev] Processing line-delimited GeoJSON with ogr2ogr

Sean Gillies sean at mapbox.com
Wed Jul 12 00:05:49 PDT 2017


Hi Maning,

There was a 2016 summer of code proposal to implement GeoJSON text
sequences but it didn't pan out. The Fiona package (for Python) is the only
thing in the GDAL ecosystem that does this right now, as far as I know.

See https://toblerity.org/fiona/cli.html#load and disregard the outdated
bit about --x-json-seq. The fio-load command reads GeoJSON sequences (with
or without the standard RS delimiter) and loads them into an OGR layer.

Hope this helps,

On Wed, Jul 12, 2017 at 7:03 AM, maning sambale <emmanuel.sambale at gmail.com>
wrote:

> Hi,
>
> I'm trying to process line-delimited geojson with ogr2ogr.  Using gdal
> 2.1, I don't think it can do it.
> So I had to convert it to a feature collection before processing with
> ogr2ogr.  Any other ways to process line-delimited data?
>
> --
> cheers,
> maning
> ------------------------------------------------------
> "Freedom is still the most radical idea of all" -N.Branden
> https://epsg4253.wordpress.com/
> http://twitter.com/maningsambale
> ------------------------------------------------------
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev




-- 
Sean Gillies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170712/cdd1243c/attachment.html>


More information about the gdal-dev mailing list