[mapguide-users] Using MgResourceService.GetResourceData with SQL
Spatial data
mszanto
mszanto at microdesk.com
Mon Jun 13 15:15:34 EDT 2011
My spatial data is stored in SQL Spatial.
I need to provide functionality for my customer to download selected
features to a local SDF File and therefore need to use GetResourceData.
I was unable to get GetResourceData to work with SQL Spatial data because I
could not figure out what the DataName parameter should be.
As a work-around I copied the SQL Spatial data to a temporary resource in
the session then used GetResourceData on this temporary feature source.
The problem with copying the data to the temporary feature source is that it
can be very slow when dealing with 10,000+ features therefore the ideal
solution would be to access the SQL Spatial data directly.
Is it possible to use GetResourceData on a SQL Spatial data source and if
so, can someone provide some insight on what the DataName parameter should
be?
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Using-MgResourceService-GetResourceData-with-SQL-Spatial-data-tp6471412p6471412.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list