[mapguide-users] External SHP file Refresh?

GordonL gordon.luckett at arrowgeomatics.com
Wed Dec 17 16:24:59 EST 2008


Hi all,
I know that one has to restart the server to see the new External File
Alias, but is this true for additional files added to that folder?  

How does one refresh the Data Connection to that folder to see the new file?  

My workflow:
1. User uploads a SHP/DBF/PRJ file into the Aliased folder on the server.
2. Programatically connect to the SHP Data Connection that points to that
folder.
3. Loops over the Features, harvesting coordinates for inserts into Oracle
Spatial (using Bind Variables with PHP).

Everything works if I restart the service, but I really need to upload the
SHP and then use the Data Connection to use the Feature Reader to get the
geometries. 
(I know I can use the SHPLIB outside of MapGuide...but I really like
MapGuide!).

Can anyone suggest another way?  Do I really have to restart the service to
see the new SHP files in the folder?  I thought I only had to restart for
new Aliases, not files within them..

regards,
gordon

-- 
View this message in context: http://www.nabble.com/External-SHP-file-Refresh--tp21061784p21061784.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list