[fdo-users] SHP polygons & holes issue
bill_gfr at yahoo.fr
Mon Mar 26 12:23:09 EDT 2007
You'll find a zip file attached to this mail containing one feature, a polygon with a hole in it.
When I read in .NET using this code (after a ISelect statement)
FgfGeometryFactory gf = new FgfGeometryFactory();
IGeometry geo = gf.CreateGeometryFromFgf( reader.GetGeometry("Geometry") );
I'm getting something that confuses me : the exterioring has 8 points, and there's one interiorring of 320 points. Which corresponds to an inversion of the inner and exterior ring.
I'd be glad if anyone of this board could doublecheck this and tell me if that's something from the tool that created the shape, something from my code or if it's somehow a mystake in the SHP Provider (I could check the rings area to notice those cases but that would be something heavy for the rare times it will occur) as I don't have the slightiest idea of how it should be stored in the physical .shp file.
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 191 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/fdo-users/attachments/20070326/71a2bfae/utf-8qilot5F111111111.bin
More information about the fdo-users