Hi Andrew,
Thanks for the input. Yes the alias is set correctly, as are permissions. I've tried <RasterDefinition name="images"> <Location name="%MG_DATA_PATH_ALIAS[OS_Street_Map]%data/"> <Feature name="%MG_DATA_PATH_ALIAS[OS_Street_Map]%data/hp40se.tif"><Band name="RGB" number="1"><Image name="hp40se.tif" frame="1"> And <RasterDefinition name="images"> <Location name="%MG_DATA_PATH_ALIAS[OS_Street_Map]%data/"> <Feature name="%MG_DATA_PATH_ALIAS[OS_Street_Map]%data/\hp40se.tif"><Band name="RGB" number="1"><Image name="hp40se.tif" frame="1"> And <RasterDefinition name="images"> <Location name="MapData"> <Feature name="%MG_DATA_PATH_ALIAS[OS_Street_Map]%data/\hp40se.tif"><Band name="RGB" number="1"><Image name="hp40se.tif" frame="1"> None seem to work. The problem I have is that I need to move the tifs off the C: drive and onto a network drive, as the C: drive is getting full. If you have a similar setup, would you be able to check the way your xml goes please? Regards, Dave From: Andrew DeMerchant [mailto:andrew.demerch...@gemtec.ca] Sent: 24 June 2011 14:34 To: d...@daveboyle.co.uk; MapGuide Users Mail List Subject: Re: [mapguide-users] Using MG_DATA_PATH_ALIAS Well, first, I'm assuming that your alias is set up correctly...but aside from that, the only difference that I see between the 2 "<feature name>" sections is that the path is in the local version, but missing from the aliased version. I'd certainly try putting that path in there....I've never looked at the raw XML for my own raster layers, so I can't help much beyond that. Andrew On 11/06/24 10:20 AM, Dave Boyle wrote: Hi all, Struggling - can someone tell me why this works : <RasterDefinition name="images"> <Location name="C:\Maps/data/"> <Feature name="C:\Maps/data/\hp40se.tif"><Band name="RGB" number="1"><Image name="hp40se.tif" frame="1"> But this doesn't ? <RasterDefinition name="images"> <Location name="%MG_DATA_PATH_ALIAS[OS_Street_Map]%data/"> <Feature name="hp40se.tif"><Band name="RGB" number="1"><Image name="hp40se.tif" frame="1"> Dave _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- _____ <http://www.gemtec.ca/> GEMTEC Limited Andrew DeMerchant tel: 506.453.1025 / toll-free: 1.877.243.6832 fax: 506.453.9470
<<image001.png>>
_______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users