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

Multilinestring Support #5243

Open
MikeTho16 opened this issue Feb 10, 2022 · 0 comments
Open

Multilinestring Support #5243

MikeTho16 opened this issue Feb 10, 2022 · 0 comments

Comments

@MikeTho16
Copy link

Describe the bug
OSM has a limit of 2,000 nodes per way. Many linear features with which our project deals have more than 2,000 vertices and when such features are exported they should not be split. One method of addressing this limitation is to introduce a new relation type=multilinestring which would be similar to type=multipolygon.

To Reproduce

  1. Import/upload linear feature with more than 2,000 vertices
  2. Export above data (e.g. to a shapefile)

Expected behavior
Import

  • linestrings/polylines are broken into ways of 2,000 nodes or less.
  • A relation is created with type=multilinestring
  • Above ways are added to above relation
  • Tags from the original feature are added to the relation
  • Ways receive no tags

Export

  • Relations with type=multilinestring become a single linestring/multilinestring/polyline in the output
  • Tags (other than type=multilinestring) from the relation are turned into the corresponding field values on the above linestring

Translations via API

  • Relation type=multilinestring should be treated as a linear feature

Screenshots
N/A

Desktop (please complete the following information):
N/A

Smartphone (please complete the following information):
N/A

Additional context
None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant