[mapguide-users] Export SDF

Andy Morsell amorsell at spatialgis.com
Fri Nov 23 14:38:02 EST 2007


To find the path, at least using the mapagent (I haven't tested using the
API, but assume it would return the same information), one can use
GetResourceData while specifying the MgRseourceIdentifier for the resource
and %MG_DATA_FILE_PATH% for the dataName.  What is returned is the directory
name used by the managed resource.


Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Kenneth,
GEOGRAF A/S
Sent: Friday, November 23, 2007 8:38 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Export SDF

Not sure how to accomplish it with the MapGuide API, but it is stored as a
ResourceData item on the resource.
You can download that item, by acessing the mapagent directly, or perhaps
thorugh the ResourceService object.

Regards, Kenneth, GEOGRAF A/S



Jim O'Leary skrev:
> I would like to take features that the user selects on the map, create 
> a new feature source based on those features, and make them available 
> to the user as a downloadable SDF file. I know that MapGuide does 
> create an SDF file when you do this, but it is written "somewhere" in 
> the repository. Is there a way using either the Web API or the Studio 
> API to control where the SDF is written so you can access it in a
predictable place?
>
> Thanks.
>   
_______________________________________________
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