Skip to content

MultiPolygon not nested correctly #161

@bsaid97

Description

@bsaid97

Hi Arthur, thank you for this awesome library.

I'm trying to convert a Google Maps MultiPolygon back to GeoJSON using Wicket but noticed that the conversion isn't nesting the first index of the shape correctly.

image

It seems that the shape at index 0 needs to be nested into another array to be completely correct. I'm not sure if this is to do with the ring problem I've seen over and over, but as far as I can tell, there is no ring within this shape, just two different polygons in the same multi polygon.

Here's a gist of the GeoJSON generated by Wicket

If you go on geojson.io and make index 0 and level deeper, it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions