Opened 13 years ago

Closed 11 years ago

#493 closed defect (fixed)

GDAL provider doesn't return spatial contexts

Reported by: jbirch Owned by: warmerdam
Priority: major Milestone:
Component: GDAL Provider Version: 3.5.0
Severity: 3 Keywords:
Cc: crispinatime, ksgeograf External ID:


When loading a data source that does not have an associated coordinate system, the GDAL provider does not assign the extents of the image to the spatial context, even though they are known. This makes creating MapGuide? maps for images that don't have coordinate systems assigned very painful.

See: MapGuide #740 for details

It would be great if this could be addressed in a 3.4 maintenance release if there is one.

Attachments (1)

GDAL_493.patch (11.4 KB) - added by jng 11 years ago.
Proposed patch

Download all attachments as: .zip

Change History (4)

comment:1 Changed 11 years ago by zspitzer


the correct link for the MG bug is

using GeoTIFF from

the CS is always returned as Default :: LOCAL_CS["*XY-MT*",LOCAL_DATUM["*X-Y*",10000],UNIT["Meter", 1],AXIS["X",EAST],AXIS["Y",NORTH]]

The GDAL provider is now working reliably if you use CS overrides with MG 2.2 and follow the wiki directions from Trevor

comment:2 Changed 11 years ago by zspitzer

Summary: GDAL provider does not return extents of images without coordinate systemsGDAL provider doesn't return spatial contexts

Changed 11 years ago by jng

Attachment: GDAL_493.patch added

Proposed patch

comment:3 Changed 11 years ago by jng

Resolution: fixed
Status: newclosed

Fixed in trunk r6069 Fixed in 3.6 branch r6070 Fixed in 3.5 branch r6067

Note: See TracTickets for help on using tickets.