[mapguide-users] Getting error "Geometry Conversion error" when doing SpatialFilter in MgCurvePolygon

Jackie Ng jumpinjackie at gmail.com
Wed Nov 14 23:45:02 PST 2012


When they say curves aren't supported in SQL Server 2008, it's not storing
curve geometries in tables, it's also recognition of curves for the purpose
of testing spatial filters and predicates.

So what you'd do in such cases is approximate the circle. That's what the
circle tool in the AJAX viewer does. You look at the WKT it sends back up,
it's not a CURVEPOLYGON, it's a POLYGON with a number of line string
segments to approximate the curves.

You can see in this diff how the AJAX viewer constructs the WKT for an
approximated circle: http://trac.osgeo.org/mapguide/changeset/6076

- Jackie



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Getting-error-Geometry-Conversion-error-when-doing-SpatialFilter-in-MgCurvePolygon-tp5014745p5016504.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list