Skip to main content
Question

Problem in City GML to Shape file conversion

  • May 4, 2017
  • 2 replies
  • 77 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • May 4, 2017

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


davideagle
Contributor
Forum|alt.badge.img+22
  • Contributor
  • June 29, 2017

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.