<div>Hi Jackie,</div> <div> </div> <div>1. You asked if the remote computer is on the same network as the mapguide server; Do You mean a "LAN", by "network" or<BR>you mean the servers that we add in mapguide site administrator? You know, in my case the remote computers don't have mapguide installed.</div> <div>2. Actually I can't add new servers in mapguide site adminstrator,<BR>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?<BR> <BR>3.Would you please explain me more about how to create an unmanaged alias in the <BR>MapGuide Site Administrator to the network share? </div> <div>Thanks in advance</div> <div> </div> <div>connecting to remote files using mapguide, please help<BR><BR><B><I>Jackie Ng <jackie.ng@aecsystems.com.au></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT:
#1010ff 2px solid"><BR>Is the remote computer on the same network as the mapguide server? Are the<BR>shp files on a network share? If so you can create an unmanaged alias in the<BR>MapGuide Site Administrator to that network share, and be able to refer to<BR>that alias in your resource documents.<BR><BR>For example if your shp files are located at \\server\shp you can create an<BR>alias "SERVER_SHP" that you can then refer to in your resource xml documents<BR>as %MG_DATA_PATH_ALIAS[SERVER_SHP]%<BR><BR>So if you have a shp file called foo.shp in that network share you can<BR>create a feature source document that refers to it by creating a document<BR>that look like something below:<BR><BR><?xml version="1.0" encoding="utf-8"?><BR><FEATURESOURCE <br
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">xmlns:xsd="http://www.w3.org/2001/XMLSchema"<BR>xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd"><BR><PROVIDER>OSGeo.SHP</PROVIDER><BR><PARAMETER><BR><NAME>DefaultFileLocation</NAME><BR><VALUE>%MG_DATA_PATH_ALIAS[SERVER_SHP]%foo.shp</VALUE><BR></PARAMETER><BR><PARAMETER><BR><NAME>TemporaryFileLocation</NAME><BR><VALUE></VALUE><BR></PARAMETER><BR></FEATURESOURCE><BR><BR>Hope that helps.<BR><BR>- Jackie<BR><BR><BR>Mansoureh Sadrykia wrote:<BR>> <BR>> Hi List!<BR>> <BR>> I intend to use mapagent to connect to shp files in a remote computer<BR>> and decided to introduce the files' address, in the xml that I use in<BR>> mapagent as the "content". Is it possible to introduce an IP address for<BR>> the directory of shp files? Can map agent follow such an address and find<BR>> the files?<BR>> <BR>> Thanks in advance for your help; <BR>> <BR>> <BR>>
---------------------------------<BR>> Need a vacation? Get great deals to amazing places on Yahoo! Travel. <BR>> _______________________________________________<BR>> mapguide-users mailing list<BR>> mapguide-users@lists.osgeo.org<BR>> http://lists.osgeo.org/mailman/listinfo/mapguide-users<BR>> <BR>> <BR><BR>-- <BR>View this message in context: http://www.nabble.com/Connecting-to-remote-files-using-mapagent--tf4303364s16610.html#a12249882<BR>Sent from the MapGuide Users mailing list archive at Nabble.com.<BR><BR>_______________________________________________<BR>mapguide-users mailing list<BR>mapguide-users@lists.osgeo.org<BR>http://lists.osgeo.org/mailman/listinfo/mapguide-users<BR></BLOCKQUOTE><BR><p> 
<hr size=1>Moody friends. Drama queens. Your life? Nope! - their life, your story.<br> <a href="http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/">Play Sims Stories at Yahoo! Games. </a>