Skip to content

Add fell kind to landuse#1932

Open
rwrx wants to merge 8 commits into
tilezen:masterfrom
rwrx:fell
Open

Add fell kind to landuse#1932
rwrx wants to merge 8 commits into
tilezen:masterfrom
rwrx:fell

Conversation

@rwrx

@rwrx rwrx commented Sep 30, 2019

Copy link
Copy Markdown
Contributor

Add fell kind to landuse

Comment thread queries.yaml
scree: barren
shingle: barren
stone: barren
fell: barren

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me, thanks for taking care of the remapping!

@nvkelso nvkelso left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to set a sort_rank for the new fell kind, too.

Otherwise LGTM

@nvkelso

nvkelso commented Sep 30, 2019

Copy link
Copy Markdown
Member

Are there also names for these, if so we need to add collision_rank.

@rwrx

rwrx commented Oct 1, 2019

Copy link
Copy Markdown
Contributor Author

I am not sure which number for fell should I set. I have looked at bare_rock, desert, grassland, heath, sand, shingle and they does not have set sort_rank. I haven't found a fell with a name. Is there some online tool to do osm query?

@nvkelso

nvkelso commented Oct 7, 2019

Copy link
Copy Markdown
Member

Looks like a few fell features do have names:

sort_order:

collision_order:

@nvkelso nvkelso left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add a test, here's an example feature:

I found it using Overpass-Turbo for (in northern Europe in this case):

Which should be in this tile:

  • 16, 35072, 18481

With tags:

  • area: yes
  • name: Fulufjellet
  • natural: fell
  • wikidata: Q34852081

@rwrx

rwrx commented Oct 9, 2019

Copy link
Copy Markdown
Contributor Author

I have updated sort and collision ranks, but now Circle is complaining that there is no 265 sort rank, because I have incremented it to 266:

dam,LineString;MultiLineString,266

I am not sure how to change this Circle test.

@rwrx

rwrx commented Oct 9, 2019

Copy link
Copy Markdown
Contributor Author

I have added test, but I am not sure into which file I should have put it in and I am not sure whether it is correctly written.

@nvkelso nvkelso added this to the v1.9.0 milestone Nov 11, 2019
@rwrx rwrx mentioned this pull request Mar 21, 2022
dam,*,224
land,*,223
wetland,*,221
mud,*,220

@nvkelso nvkelso Mar 21, 2022

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mud, wetland, land and above don't need to increment their numbers, as there is a discontinuity buffer between mud and footway.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, should I remove dam, land, wetland and mud? Will they sort properly when they will be removed from this list?

@nvkelso nvkelso modified the milestones: v1.9.0, v2.0.0 Apr 29, 2022
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

Successfully merging this pull request may close these issues.

2 participants