This project has moved. For the latest updates, please go here.

Polygon winding?

Jun 5, 2014 at 7:16 AM
Can i just ask if sharpmap requires polygons to have the correct winding in order to draw the fill correctly?

I'm importing some polygons from a cad drawing and only some of the polys get filled so i'm wondering if its a winding thing?
Jun 5, 2014 at 8:08 AM
may be the ones that don't get filled are just linestrings ?
Jun 5, 2014 at 6:04 PM
I'm pretty sure they are polygons, can't say for sure now as I'm not at work, but i think they are.

Was just wondering if anyone knew before I spent too long investigating.
Jun 6, 2014 at 6:54 AM
I'm not aware that polygons need a correct winding.
It is probably like costeakai said, due to the linearring that defines the polygon shell not being closed (first == last) the provider fails to make it a polygon.
What provider do you use?