Ticket #2454 (closed bug: invalid)
Format.GeoJSON multipolygon parsing
| Reported by: | jmcgrath | Owned by: | jmcgrath |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Format.GeoJSON | Version: | |
| Keywords: | parsing, geojson, multipolygon | Cc: | |
| State: |
Description
Multipolygons are treated as having 3d coordinates since a 3 dimensional array is passed to the polygon function.
Fixed by changing :
p = this.parseCoords["polygon"].apply(this, [array[i]]);
to
p = this.parseCoords["polygon"].apply(this, array[i]);
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

