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

--
GEMTEC Email Signature
GEMTEC
            Limited

Andrew DeMerchant

tel: 506.453.1025  /  toll-free: 1.877.243.6832
fax: 506.453.9470


This e-mail message (including attachments, if any) is confidential and may be 
privileged. Any unauthorized distribution or disclosure is prohibited.  
Disclosure to anyone other than the intended recipient does not constitute 
waiver of privilege.  If you have received this e-mail in error, please notify 
us and delete it and any attachments from your computer system and records.
------------------------------------------------------
Ce courriel (y compris  les pièces jointes) est confidentiel et peut être 
privilégié.  La distribution ou la divulgation non autorisée de ce courriel est 
interdite.  Sa divulgation à toute personne autre que son destinataire ne 
constitue pas une renonciation de privilège.  Si vous avez reçu ce courriel par 
erreur, veuillez nous aviser et éliminer ce courriel, ainsi que les pièces 
jointes, de votre système informatique et de vos dossiers.
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to