[mapguide-users] Connecting to remote files using mapagent
[please help]
Jackie Ng
jackie.ng at aecsystems.com.au
Wed Aug 22 04:11:28 EDT 2007
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 <jackie.ng at aecsystems.com.au> 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.
More information about the mapguide-users
mailing list