Skip to main content
Solved

INSPIRE GML

  • January 26, 2014
  • 1 reply
  • 13 views

Forum|alt.badge.img
Hi, I have started to use new writer format INSPIRE GML. I have also watched webinar on following subject recently. Since this is a first time I am working with mapping to INSPIRE schemas, I am a little bit dizzy with whole bunch of features and attributes. Still worst problem I have is with mapping geometry. I had to do a test with Hydro theme and featureType Crossing (geometry line). I used GeometryExtractor (GML 3.2.1. geometry encoding) for this purpose. Mapped '_geometry' to 'geometry' with AttributeCopier, but 'geometry' attribute is empty (missing) at the end. If i check the output values after GeometryExtractor with Inspector, there is a geometry value. So obviously I haven't mapped _geometry correctly with corresponding attribute on writer as Dean suggested in webinar (geometry attribute should be used for polygons only, correct?) I also mapped it with all possible xml_geometry datatype on writer, nothing. what do I do wrong? 

Best answer by fmelizard

Hi there,

 

You shouldn't need the GeometryExtractor as long as the features are fme_line. The trick is that you need to "name" the geometry according to the name of the geometry attribute you are writing too. So for the Crossing feature type it looks like there is one called "geometry". To do this use the GeometryPropertySetter and set the Geometry Name to "geometry".

 

 

It will still look like nothing is connected to the "geometry" format attribute but this should work.

 

 

Hope this helps

 

Ken

 

 

View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

1 reply

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • Best Answer
  • January 27, 2014
Hi there,

 

You shouldn't need the GeometryExtractor as long as the features are fme_line. The trick is that you need to "name" the geometry according to the name of the geometry attribute you are writing too. So for the Crossing feature type it looks like there is one called "geometry". To do this use the GeometryPropertySetter and set the Geometry Name to "geometry".

 

 

It will still look like nothing is connected to the "geometry" format attribute but this should work.

 

 

Hope this helps

 

Ken

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings