Skip to main content
Question

Feature writer and writer outcome is different

  • July 16, 2019
  • 5 replies
  • 13 views

Forum|alt.badge.img

Hello

While making INSPIRE gml I get different outcomes from INSPIRE gml writer and an INSPIRE gml feature writer. Is it true or am I doing something wrong with the feature writer settings?

 

 

I would like to create an INSPIRE gml and then write it to postgres. That is why I wanted to use a feature writer for creating an INSPIRE gml and then connect it to a postgres writer, but it seems INSPIRE gml feature writer does not give a proper outcome.

 

 

My other solution was to create another workspace and try to use workspace runner and then write the result to postgres, I still have not managed to succeed in this.

Below you can see feature writer and writer, both specified by Theme (Energyresourcevector v4.0). You can see the outcomes are different. Why is that?

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.

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+62

Different formats have different limitations to their output feature types, so this is to be expected. One feature that works in GML but not in PostGIS is for example lists, the attributes with {} in their names indicate they're attributes with multiple values, PostGIS doesn't like that (in fact most other formats are not too happy about it).

If you want to get the output in PostGIS to look as much as in GML as possible you'll need to handle those lists, for example through the use of a ListConcatenator. There may be more peculiarities that you'll need to account for.


Forum|alt.badge.img
  • Author
  • July 16, 2019

Well, it's possible to transform gdb to inspire gml, which in turn can be transformed to postgres. So it isn't a problem for me to write gml to postgres. My problem is that I find it difficult to do these forementioned things as one automated flow.

I understand there are some limitations with feature writer... So, I'm wondering how could i create such a flow...


Forum|alt.badge.img
  • Author
  • July 18, 2019

Currently I am trying to create a new workspace and run the "gdb to inspire gml" workspace as a workspacerunner and then connecting the outcome to a postgres writer. Not sure if this is how workspacerunner is supposed to work. So far I haven't succeeded.


trentatsafe
Safer
Forum|alt.badge.img+6

Currently I am trying to create a new workspace and run the "gdb to inspire gml" workspace as a workspacerunner and then connecting the outcome to a postgres writer. Not sure if this is how workspacerunner is supposed to work. So far I haven't succeeded.

Hello @triintjr,

Are you able to share the workspace/sample data even if it is just our data directly before the writer? This would help troubleshoot.

 

 

Secondly, to clarify you are running the GDB to Inspire GML workspace. Are you then passing the Inspire Output into the Postgres writer?

 

 


Forum|alt.badge.img
  • Author
  • September 9, 2019

Hello @triintjr,

Are you able to share the workspace/sample data even if it is just our data directly before the writer? This would help troubleshoot.

 

 

Secondly, to clarify you are running the GDB to Inspire GML workspace. Are you then passing the Inspire Output into the Postgres writer?

 

 

Hello! Sorry to reply You so late. Yes, I wanted to run gdb to inspire gml which in turn, I wanted to write into postgres.

Right now the solution I've come up with is to use a scheduled bat file to run workspaces. This way I don't have to get all the transformations into one workspace (I can use a normal writer, instead of feature writer).

 

 

Thank you for Your response!