<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6618.4">
<TITLE>Spatial contexts for the GDAL Raster provider</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Lots of discussion about raster providers!</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I would like to change the topic a bit.&nbsp;&nbsp; When MapGuide Studio is used define layers using GDAL provider feature sources, the preview of the raster data does not show anything.&nbsp; The reason for this is that Studio uses the spatial contexts returned from the provider to set the bounds and coordinate system to generate the preview, and the GDAL provider is not returning any spatial contexts.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Now, I know that Studio could do a select aggregate command to calculate the bounding box, but it does not do this yet.&nbsp; In the meantime, is it possible to enhance the GDAL provider to return spatial contexts?&nbsp; (BTW, this problem occurs when using the DefaultRasterFileLocation and may not happen when a configuration doc is supplied---we haven't been able to get config docs to work yet; it's on my list of things to investigate.)&nbsp; I know that the spatial contexts coordinate system will usually be blank, but the bounding box will be useful for Studio.</FONT></P>
<BR>

<P><FONT SIZE=2 FACE="Arial">Thanks</FONT>

<BR><FONT SIZE=2 FACE="Arial">Tom</FONT>
</P>

</BODY>
</HTML>