Jackie, Thanks for your reply. I am trying to read the pixels values of a single band GeoTIFF raster file. Below is my code, I get na error "The feature set is empty." on the GetRaster method.
tempResource = "Library://DQDM/Data/SIPPER.FeatureSource"; resIdTemp = new MgResourceIdentifier(tempResource); MgFeatureReader FeatureReader; MgFeatureQueryOptions FeatureQueryOptions = new MgFeatureQueryOptions(); FeatureReader = featureService.SelectFeatures(resIdTemp, "default", FeatureQueryOptions); int count = FeatureReader.GetPropertyCount(); string n1 = FeatureReader.GetPropertyName(0); string n2 = FeatureReader.GetPropertyName(1); int t1 = FeatureReader.GetPropertyType(0); int t2 = FeatureReader.GetPropertyType(1); MgRaster Raster = FeatureReader.GetRaster(1); -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapguide-Raster-Classes-tp5228185p5228565.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users