[mapguide-users] [MGE2010] Select Within doesn't work MgMultiGeometry ?

lgoubet lgoubet at GEOMAPGIS.com
Thu Oct 15 06:38:04 EDT 2009


Hi,

I have create a redline (in a temporary sdf file) with a next feature:
CURVEPOLYGON XY((772700.258 2109475.325(LINESTRINGSEGMENT(775095.8178654188
2111281.230017213),CIRCULARARCSEGMENT (774333.6920353653
2111991.650347031,773374.5499537277 2112398.5647029904 ),LINESTRINGSEGMENT
(772700.258 2109475.325))))


If I use on the map the context command 'select within' (page
selectwithinui.aspx), there are nothing features selected with my
curvepolygon.
If I select a polygon it works.

I saw the file selectwithin.aspx and line 77
MgFeatureInformation fi = renderingSrvc.QueryFeatures(map, layerNames,
inputGeom, MgFeatureSpatialOperations.Intersects, -1);

My inputgeom is a type 7 => MgMultiGeometry => Collection geometry
For a simple polygon the type is 6.

In a documentation Mapguide API reference, "The following analysis functions
would throw MgGeometryException if called on an instance of MgMultiGeometry"
so it not supported ?

Do you have a solution ? It seems to me that it worked in MGE 2009.

Thanks for your response. 







-- 
View this message in context: http://n2.nabble.com/MGE2010-Select-Within-doesn-t-work-MgMultiGeometry-tp3828466p3828466.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list