Skip to main content
Question

Visualizing CityGML: Inspector vs Writer

  • December 15, 2015
  • 4 replies
  • 11 views

Forum|alt.badge.img

When filtering CityGML dataset (with AttributeFilter) the Inspector shows different results than Writer outputs. Why?

I have cityGML with a lot of buildings, but based on their id I need to filter few of them out. I use AttributeFilter and when I check result in Inspector everything looks like I want it to look, but when I write the output it has lost all geometry and is completely different.

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+50

If you use an Inspector within your FME workspace it will show you the data as it is in FME at that point in the process. This may not be the same as the data that's eventually written to output, even if you connect the Inspector to the last port before the writer feature type because the output format may introduce limitations, or have a different schema, or may be limited in what types of geometry are selected.

You can disable the Inspector(s) and tick the option Writers -> Redirect to FME Data Inspector. That will send all your output data to the Data Inspector rather than your output file(s) but that still won't give you 100% the same output.

Now, as for your actual problem, it's hard to say something meaningful about that without seeing your workspace and/or data. Can you post that here?


mark2atsafe
Safer
Forum|alt.badge.img+45
  • Safer
  • December 16, 2015

You're round-tripping from CityGML back to CityGML, right? Does it work when you process the whole file (i.e. leave out the AttributeFilter)? I know very little about CityGML, but I do know that there are relationships between parts of the data, and if you filter out one component it's possible that related items are affected.


Forum|alt.badge.img
  • Author
  • December 16, 2015

Thanks for reply! It makes sense more and more.

I just used to workspace generator which did the trick for CityGML dataset! Thanks!


Forum|alt.badge.img
  • Author
  • December 16, 2015
mark2atsafe wrote:

You're round-tripping from CityGML back to CityGML, right? Does it work when you process the whole file (i.e. leave out the AttributeFilter)? I know very little about CityGML, but I do know that there are relationships between parts of the data, and if you filter out one component it's possible that related items are affected.

Thanks. Yes, Im going from CityGML to CityGML. Workspace generator hooks up the right 'settings' for reader and writer. When it comes to AttributeFilter - it takes a filter for each feature class then for it a proper filter. Cannot take just one.


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