Re: [mapguide-users] Connecting to remote files using mapagent [please help]

2007-08-22 Thread Mansoureh Sadrykia
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 [EMAIL PROTECTED] 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@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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Connecting to remote files using mapagent [please help]

2007-08-22 Thread Jackie Ng

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 [EMAIL PROTECTED] 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@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@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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Connecting to remote files using mapagent [please help]

2007-08-22 Thread Mansoureh Sadrykia
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 [EMAIL PROTECTED] 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@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@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@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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] FDO for shp!

2007-08-22 Thread Jason Birch
Is your MapGuide service on the MapGuide server running as a user that
has permissions to the LAN?  By default, the service is running as
LocalService (I think) and will not be able to access UNC shares.
 
Jason



From: Mansoureh Sadrykia
Subject: [mapguide-users] FDO for shp!


In map agent, set resource I introduced the content xml file, It
worked very well for the shp files of my computer, but when I change the
shp file directory to a LAN address, the feature source is shown in
studio but shp files can't be accessed through studio.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Connecting to remote files using mapagent [please help]

2007-08-22 Thread Jackie Ng

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 [EMAIL PROTECTED] 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@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@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@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@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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users