Skip to main content
Solved

Inspire GML - no geometry habitats and biotopes

  • January 29, 2020
  • 2 replies
  • 21 views

cstodd
Contributor
Forum|alt.badge.img+3

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.

2 replies

oscard
Influencer
Forum|alt.badge.img+22
  • Influencer
  • 344 replies
  • January 29, 2020

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?


cstodd
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • 7 replies
  • Best Answer
  • February 4, 2020

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!