Opened 15 years ago

Closed 13 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:

Description

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 13 years ago.
Proposed patch

Download all attachments as: .zip

Change History (4)

comment:1 by zspitzer, 13 years ago

Version: 3.4.03.5.0

the correct link for the MG bug is http://trac.osgeo.org/mapguide/ticket/740

using GeoTIFF from http://www.unearthedoutdoors.net/global_data/true_marble/download

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

http://trac.osgeo.org/mapguide/wiki/MGOS22GdalProvider

comment:2 by zspitzer, 13 years ago

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

by jng, 13 years ago

Attachment: GDAL_493.patch added

Proposed patch

comment:3 by jng, 13 years ago

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.