[mapguide-users] Re: Using MgResourceService.GetResourceData with SQL Spatial data

Jackie Ng jumpinjackie at gmail.com
Mon Jun 13 21:25:40 EDT 2011


SQL Server Spatial feature sources are not file-based, and so there isn't any
resource data attached to them. 

Even so, GetResourceData is not the approach to take for file-based feature
sources because you would be fetching the *entire* data store (you're
grabbing the physical file), and not a subset. It is not an API for querying
data.

You need to use the MgFeatureService API (or FDO) to bulk copy the data in
question to your SDF feature source. 

- Jackie

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Using-MgResourceService-GetResourceData-with-SQL-Spatial-data-tp6471412p6472451.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list