Opened 7 years ago

Last modified 7 years ago

#6754 closed defect

Information by gdal.Info using JSON format has invalid WGS84 extention — at Version 2

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": {}}]

Change History (3)

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

Note: See TracTickets for help on using tickets.