Ticket #493 (closed defect: fixed)

Opened 3 years ago

Last modified 9 months ago

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

GDAL_493.patch Download (11.4 KB) - added by jng 9 months ago.
Proposed patch

Change History

Changed 13 months ago by zspitzer

  • version changed from 3.4.0 to 3.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

Changed 12 months ago by zspitzer

  • summary changed from GDAL provider does not return extents of images without coordinate systems to GDAL provider doesn't return spatial contexts

Changed 9 months ago by jng

Proposed patch

Changed 9 months ago by jng

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.