[mapguide-users] Linux and raster support?

Frank Warmerdam warmerdam at pobox.com
Sat Nov 11 18:04:45 EST 2006


Andy Morsell wrote:
> Hi Frank,
> I got FDO 3.2 with your GDAL provider to build on Linux and all seems to be
> working.  Can you please provide a couple more details on what is expected
> for the connection string?  Using Autodesk MapGuide Studio, I was trying
> something like /usr/local/raster/test/ where I have a test JPG with JGW.
> Test connection reports successful, but when authoring a layer, it only
> shows default:default feature class, so something is not working right.

Andy,

For my first round of MapGuide testing I hand authored the datasource
xml stuff, so I'm not sure if it is supported from mapguide studio or not.

At the FDO level my test utility was setting the DefaultRasterFileLocation
property on the connection with either the directory with a bunch of raster
files or pointing directly to a single raster file.

When used this way the schema is call "default" and the feature class is
called "default".   As I understanding it default:default is essentially
a table of the raster files.

It looks like the xml fragment for this looks something like:

<?xml version="1.0" encoding="utf-8"?>
<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
   <Provider>OSGeo.Gdal.3.2</Provider>
   <Parameter><Name>DefaultRasterFileLocation</Name>
     <Value>C:/warmerda/mgtest/rasters</Value>
   </Parameter>
</FeatureSource>

So I *think* you might be ok if you are seeing default:default.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org





More information about the Mapguide-users mailing list