[mapguide-users] MapGuide 1.0.2 with Autodesk Raster FDO?
Jason Birch
Jason.Birch at nanaimo.ca
Tue Oct 24 12:59:21 EDT 2006
Cool. I haven't used the Autodesk raster provider yet. Using it via
Studio required me to create a package and upload the images to the
MapGuide server, which seemed like a pain in the...
I'll have to try it your way, perhaps there is some way to shortcut the
creation in Studio and then alter the resource XML via the mapagent unit
test scripts.
Does GDAL support image catalogs of some format? I can't imagine that
it's efficient to just point to a folder full of images without some
kind of aoi index.
Jason
-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam at pobox.com]
Sent: Tuesday, October 24, 2006 09:47
To: users at mapguide.osgeo.org
Subject: Re: [mapguide-users] MapGuide 1.0.2 with Autodesk Raster FDO?
Jason Birch wrote:
> Frank...
>
> Can you give an example of how to set up the GDAL provider from within
> Studio (once it's installed on the server)?
Jason,
The GDAL provider should work similarly to the Autodesk raster provider.
I manually inserted the following XML fragment for the datasource to
access a raster file already on the server.
<?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>
The DefaultRasterFileLocation can also be a directory to access a
directory full of files. There is also a way to use a config file.
but I haven't actually done that from MapGuide, just in standalone FDO
tests. So I'm not exactly clear on how that works.
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
More information about the Mapguide_users
mailing list