[mapguide-users] [ZS0] Combining features

A H hizperion at hotmail.com
Fri Feb 6 05:08:04 EST 2009

i come into another problem. now instead of just polygons, i want to combine
other geometry types.

i tried to use this:

				MgGeometryCollection geometries = new MgGeometryCollection();
				MgAgfReaderWriter geometryReaderWriter = new MgAgfReaderWriter();
				MgGeometryFactory geometryFactory = new MgGeometryFactory();
				MgMultiGeometry newGeometry;
					MgByteReader temp = featureReader.GetGeometry("GEOM");
					MgGeometry tempGeo = geometryReaderWriter.Read(temp);
				newGeometry = geometryFactory.MgMultiGeometry(geometries);
				MgByteReader geom = geometryReaderWriter.Write(newGeometry);

no error, but the new area doesn't appear on map. is it possible to do with
this code?
View this message in context: http://n2.nabble.com/Combining-features-tp2249387p2283318.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list