I am trying to write to an Inspire GML writer using the Habitats and Biotopes xsd but I am not getting any geometry. If I preview the output from the last transformer I can see that the geometry is polygons:
But the written GML just contains the attributes and no geometry.
Does anyone have any clue what I am doing wrong?
Best answer by cstodd
Eventually I figured out that the lack of geometry in the GML was because I am using ETRS89 (EPSG 3035) which is a left-handed CRS and Inspire requires a right-handed CRS. The solution was to add in a OrientationExtractor transformer to confirm this theory and an Orientor transformer to solve it. Then the GML was written out with geometry!
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.
According to the info about the field geometry of that theme, the geometry for the Habitat must be point, line or polygon. Maybe a multipolygon is not accepted?
Eventually I figured out that the lack of geometry in the GML was because I am using ETRS89 (EPSG 3035) which is a left-handed CRS and Inspire requires a right-handed CRS. The solution was to add in a OrientationExtractor transformer to confirm this theory and an Orientor transformer to solve it. Then the GML was written out with geometry!