Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6754 closed defect (fixed)

Information by gdal.Info using JSON format has invalid WGS84 extention

Reported by: lmotta Owned by: warmerdam
Priority: normal Milestone: 2.1.3
Component: default Version: unspecified
Severity: normal Keywords: Info; JSON
Cc:

Description (last modified by lmotta)

The geometry of extension in GEOJSON format has crossing inside, got by gdal.Info.

I am testing with this Python code:

https://nbviewer.jupyter.org/github/lmotta/notebook_ipynb/blob/master/gdal.Info.wgs84Extent.ipynb

Result for http://geojson.io/:

"features": [{"geometry": {"type": "Polygon", "coordinates": [-55.1980338, -14.8524218], [-55.1789556, -16.9806545], [-53.0479293, -14.8254994], [-53.0061936, -16.9496626], [-55.1980338, -14.8524218]}, "type": "Feature", "properties": {}}]

Attachments (1)

LC82250712015212LGN00_ext.json (2 bytes ) - added by lmotta 7 years ago.
JSON extension

Download all attachments as: .zip

Change History (5)

comment:1 by lmotta, 7 years ago

Description: modified (diff)

comment:2 by lmotta, 7 years ago

Description: modified (diff)

by lmotta, 7 years ago

JSON extension

comment:3 by Even Rouault, 7 years ago

Milestone: 2.1.3
Resolution: fixed
Status: newclosed

Has been fixed some time ago in trunk r36076 and in branches/2.1 r36077. Not yet in a released version.

comment:4 by lmotta, 7 years ago

Thank's. Sorry for this ticket

Note: See TracTickets for help on using tickets.