[mapguide-users] MgFeatureService.SelectFeatures

Nickcx nickcx at gmail.com
Mon May 6 09:58:02 PDT 2013


Hi,

I'm using MgFeatureService::SelectFeatures 	( 	MgResourceIdentifier *  
resource,
		CREFSTRING  	className,
		MgFeatureQueryOptions *  	options,
		CREFSTRING  	coordinateSystem	 
	) 	
to select features of a layer which has data in coordinate system LL83 and
map in (UTM83-10)

my code is:
 MgCoordinateSystemFactory coordFactory = new MgCoordinateSystemFactory();
 string mapSrs = this._map.GetMapSRS();
 string mapCoordSys = coordFactory.ConvertWktToCoordinateSystemCode(mapSrs);

MgFeatureReader fr = this._featureService.SelectFeatures((new
MgResourceIdentifier(layer.FeatureSourceId)), layer.GetFeatureClassName(),
queryOptions, mapCoorSys);

but it throws a MgNotImplementedException execption.

anything wrong with the coodinatesystem name?

thanks!









--
View this message in context: http://osgeo-org.1560.x6.nabble.com/MgFeatureService-SelectFeatures-tp5051682.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list