[mapguide-users] Re: How to render MgMultiGeometry

Julien Leture julien.leture at gmail.com
Tue Jun 1 11:55:05 EDT 2010



Zac Spitzer wrote:
> 
> I guess this is more a fdo issue, i am going to forward this on to the
> fdo-users mailing list
> 
> silent failing and data loss is nasty, however esoteric it is
> 

Hi,

I confirm that using a MgFeatureReader with a "geometry collection" (in my
case: polygon and polyline) throws an unclassified exception (I am using the
OSGeo SQL Server Provider spatial). The exception is thrown when the reader
find the first geometry collection and you cannot read the following
results...

It's kind of annoying because SQL Server transforms sometime (with the
MakeValid method) regular polygons into "geometry collection" (polygon +
line). So MapGuide doesn't render it to the map, and the MgFeatureReader
doesn't read it.

-----
Julien Leture
.net developper
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-render-MgMultiGeometry-tp5112715p5126705.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list