Skip to main content

Hi All.

I am having a problem while converting a CityGML file to shape file. In CityGML i have polygons in Counter Clock wise direction. After converting them in to shape file all are converted in to Clock Wise direction.

Please some body help me how avoid this.

Thanks,

Kumar.

Hi @kumarbangaram, I don't think there is a way to write CCW polygons into a Shapefile dataset, because the Shapefile format specification regulates that the orientation of polygon exterior boundary should always be clock-wise, and the FME Shapefile writer follows the specifications.

See also this paper: ESRI Shapefile Technical Description


This is a topic that is expanded on here. A number of formats have specifications similar to this and on the whole FME will honour the spec unless there's a very specific reason to offer an alternative.


Reply