[mapguide-users] Connecting to remote files using mapagent [XML tags]

Mansoureh Sadrykia m_sadrykia at yahoo.com
Sun Sep 2 09:54:13 EDT 2007


Hi!
   
  Would you please let me know what are the tags I should use in <> before the lines of my XML content, I'm not sure about the one I shall use for the last line: TemporaryFileLocation.
   
  Thanks in Advance,
  

Jackie Ng <jackie.ng at aecsystems.com.au> wrote:
  
Are you using MGOS 1.2? This is a new feature of that version.

- Jackie


Mansoureh Sadrykia wrote:
> 
> Thanks for your reply Jackie,
> 
> 3. Unfortunately I couldn't find "configure external files" in mg site
> administrator. please tell me where it is, 
> 
> second, Is there a way to share and access shp file in LAN network
> without using mg studio?
> 
> Thanks once again,
> 
> Jackie Ng wrote:
> 
> 1. By network, I mean a LAN that is correct.
> 2. I don't quite understand this question.
> 3. In the Site Administrator. Go to the "Add Alias" under "Configure
> external files". In there add your alias and external file path.
> 
> 
> Mansoureh Sadrykia wrote:
>> 
>> Hi Jackie,
>> 
>> 1. You asked if the remote computer is on the same network as the
>> mapguide server; Do You mean a "LAN", by "network" or
>> you mean the servers that we add in mapguide site administrator? You
>> know,
>> in my case the remote computers don't have mapguide installed.
>> 2. Actually I can't add new servers in mapguide site adminstrator,
>> and I guess that I make a mistake in defining IP addresses. Would you
>> Please explain me how I can give IP addresses to different computers as
>> different servers?
>> 
>> 3.Would you please explain me more about how to create an unmanaged alias
>> in the 
>> MapGuide Site Administrator to the network share? 
>> Thanks in advance
>> 
>> connecting to remote files using mapguide, please help
>> 
>> Jackie Ng wrote:
>> 
>> Is the remote computer on the same network as the mapguide server? Are
>> the
>> shp files on a network share? If so you can create an unmanaged alias in
>> the
>> MapGuide Site Administrator to that network share, and be able to refer
>> to
>> that alias in your resource documents.
>> 
>> For example if your shp files are located at \\server\shp you can create
>> an
>> alias "SERVER_SHP" that you can then refer to in your resource xml
>> documents
>> as %MG_DATA_PATH_ALIAS[SERVER_SHP]%
>> 
>> So if you have a shp file called foo.shp in that network share you can
>> create a feature source document that refers to it by creating a document
>> that look like something below:
>> 
>> 
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
>> 
>> OSGeo.SHP
>> 
>> 
>> 
>> DefaultFileLocation
>> %MG_DATA_PATH_ALIAS[SERVER_SHP]%foo.shp
>> 
>> 
>> 
>> 
>> TemporaryFileLocation
>> 
>> 
>> 
>> 
>> 
>> Hope that helps.
>> 
>> - Jackie
>> 
>> 
>> Mansoureh Sadrykia wrote:
>>> 
>>> Hi List!
>>> 
>>> I intend to use mapagent to connect to shp files in a remote computer
>>> and decided to introduce the files' address, in the xml that I use in
>>> mapagent as the "content". Is it possible to introduce an IP address for
>>> the directory of shp files? Can map agent follow such an address and
>>> find
>>> the files?
>>> 
>>> Thanks in advance for your help; 
>>> 
>>> 
>>> ---------------------------------
>>> Need a vacation? Get great deals to amazing places on Yahoo! Travel. 
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>> 
>>> 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/Connecting-to-remote-files-using-mapagent--tf4303364s16610.html#a12249882
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>> 
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>> 
>> 
>> 
>> ---------------------------------
>> Moody friends. Drama queens. Your life? Nope! - their life, your story.
>> Play Sims Stories at Yahoo! Games. 
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Connecting-to-remote-files-using-mapagent--tf4303364s16610.html#a12270055
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 
> 
> ---------------------------------
> Got a little couch potato? 
> Check out fun summer activities for kids.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Connecting-to-remote-files-using-mapagent--tf4303364s16610.html#a12284927
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


       
---------------------------------
Got a little couch potato? 
Check out fun summer activities for kids.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070902/1e79d852/attachment.html


More information about the mapguide-users mailing list