Skip to main content
Question

I'm new and I'm not sure if post category is correct. I'm trying to extract some informations from XML files in CityGML. In particular, I'm looking for the XML tag that identifies a wall, which it divides a road and all buildings near that road.

  • September 14, 2020
  • 2 replies
  • 45 views

I need that tag because I want to move from a road to one of all buildings that are located near that road (hyperarch), if it possible and there aren't walls obv. I tried to search for hours, but I don't know in which file of my (generic) city model that tag is. Can anyone help me?

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

redgeographics
VIP
Forum|alt.badge.img+63

If you know what the tag is called you can simply have FME read all the files that make up your city model and use a Tester or TestFilter to filter out the information you need.

You can then use a NeighborFinder to find all wall and building features "near" your road.

It does sound like it would be useful for you to examine the city model beforehand, e.g. in the FME Data Inspector, just to get to know the data a bit better.


  • Author
  • September 15, 2020

Special thanks for replying. In reality, i'm trying to write a parser in java, that extracts informations about my generic city model. After that, I want to build a planar graph of the city topology. I already implemented all functions about information extracting like buildings, roads, and crossroads. But I didn't find anything about element/features near roads. That's why I'm looking for specifics tags. It seems that these features are located in specific files, like CityFornitures or similar. But I'm not sure. Thanks again.