Re: [mapguide-users] Change Raster Layer ResourceSourceId

2016-04-06 Thread Jackie Ng
The Maestro API has some configuration document classes that you might be able to use. But however, configuration documents are provided specific and the Maestro API only supports configuration documents for a small subset of the FDO providers (ODBC, GDAL, WMS). Anything else, you'll have to

Re: [mapguide-users] Change Raster Layer ResourceSourceId

2016-04-06 Thread Liglio
Hi, I found what was missing. The configuration file "config.xml" must be provided to the temporary raster feature source using SetResourceData. I can use the config.xml file generated by Studio and change to point to the choosen file, and change other parameters also. But can I generate this

[mapguide-users] Change Raster Layer ResourceSourceId

2016-03-31 Thread Liglio
Hi, I am trying to change dinamically the raster image of a layer, following the steps: 1 - Copy the xml content of the original Resource Source and change the raster file path. 2 - Create a Session Resource Source with the above modified xml content. 3 - Copy the xml content of the original