Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parsing of relation data types #4

Open
philipbelesky opened this issue Aug 18, 2021 · 0 comments
Open

Add parsing of relation data types #4

philipbelesky opened this issue Aug 18, 2021 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@philipbelesky
Copy link
Owner

For many geometries/entities in a map, the meta-data is attached to the relation grouping rather than to the nodes or ways. E.g. this map depicts a pier structure made up of two ways; however those ways are tag-less so they don't show up when parsed with the Ways Component.

The current parsers could relatively easily pickup these relations, but it is unclear how to handle their metadata outputs given the existing structure. At a minimum, they could work within the existing structure by just assigning all tags from the relation to the ways (in effect duplicating them).

That naïve option strips any relationship between the child-ways/nodes and is complicated by structures such as multipolygons. A more thorough rework would be to reconfigure the tree structure to add another level of depth for the relation. E.g. {query, relation, geometry|metadata} rather than just {query, geometry|metadata}.

@philipbelesky philipbelesky added the enhancement New feature or request label Aug 18, 2021
@philipbelesky philipbelesky added this to the 1.0 milestone Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant