You could try geopandas. It has an explode method that looks like it does
what you want.
https://github.com/geopandas/geopandas/blob/a3170ecbf76fc91188cd67c93c123c5fa27e9c95/geopandas/geodataframe.py#L659

On Thu, Oct 10, 2019, 6:17 PM Simon Eves <simon.e...@omnisci.com> wrote:

> Dear List,
>
> I need to do this super-urgently
>
> I am trying to use ogr2ogr -explodecollections but it does nothing.
>
> I don't seem to be able to install GDAL for Python (it fails to compile
> the wrapper)
>
> I will write a command-line tool in C++ if I have to, but I'd really
> rather not.
>
> Anyone have the magic incantation, please?
>
> Simon
>
> --
> <http://www.omnisci.com/>
> Simon Eves
> Senior Graphics Engineer, Rendering Group
> 100 Montgomery St (5th Floor), San Francisco, CA 94104, USA
>
>
> Email: simon.e...@omnisci.com | Cell:  415.902.1996
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to