[mapguide-users] External SHP file Refresh?

Dave Wilson dave.wilson at autodesk.com
Wed Dec 17 17:12:02 EST 2008


Open your Data Connection and save it again. You could preview to ensure it picks up the new files first. This assumes of course you have MG Studio. Not sure if any of the other tools have the previews.

Dave

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of GordonL
Sent: Wednesday, December 17, 2008 2:25 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] External SHP file Refresh?


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.

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


More information about the mapguide-users mailing list