That sounds sensible, but why do you need to filter the list?
Is it too slow with 14,000 nodes in the xml?
Regards, Kenneth Skovhede, GEOGRAF A/S
On 16-02-2010 18:30, GordonL wrote:
Hi All, I have a layer that points to a folder of rasters. I want to
filter that layer based on the filename of the raster (dynamically).
Do I need to dynamically alter the config.xml? If so, how would I do
it? Some thing like this? 1. Get Raster Datasource. 2. Get Config.xml
of datasource. 3. Modify config, delete all child nodes of where the
name does not equal the filename I need. 4. SetResource of the raster
feature source with the modified config 5. Refresh the map. Does this
make sense? Is there an easier way to do this? My issue is that I have
14,000 images. thanks gordon
------------------------------------------------------------------------
View this message in context: CONFIG.XML EDIT DYNAMICALLY?
<http://n2.nabble.com/CONFIG-XML-EDIT-DYNAMICALLY-tp4581567p4581567.html>
Sent from the MapGuide Users mailing list archive
<http://n2.nabble.com/MapGuide-Users-f1803227.html> at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users