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

Build hierarchy of landuse polygons. #446

Open
zerebubuth opened this issue Dec 14, 2015 · 5 comments
Open

Build hierarchy of landuse polygons. #446

zerebubuth opened this issue Dec 14, 2015 · 5 comments
Milestone

Comments

@zerebubuth
Copy link
Member

A lot of the time, it's not possible to have a "static" hierarchy (e.g: all parks draw on top of all forests) between landuse polygons. Instead, we can use their geometry to determine their relationship; a featyre that is fully within another should probably draw on top of it.

We can build a "dynamic" hierarchy per-tile to produce a per-tile order value for each polygon which respects these relationships.

Note that there might be drawbacks to this approach; for example it would be possible for a polygon which crosses tile boundaries to get a different order in each tile, making it more likely that seaming artefacts would be visible. Many polygons won't have a simple within/contains relationship, and will have something more complex (crossing / mostly-overlapping). For those, there won't be a unique order, and we'll still have to tie-break to some arbitrary values.

@nvkelso
Copy link
Member

nvkelso commented Dec 14, 2015

Water that needs to displayed on top of landuse also needs to be in the mix (either with a data value set on export, or a conventional value communicated in a backchannel to the stylesheet).

@nvkelso
Copy link
Member

nvkelso commented Dec 14, 2015

We should also consider landuse versus nature (landcover) here.

@zerebubuth
Copy link
Member Author

Yup, and I'm sure there's lots of cases where nature and landcover are very different. We'll have to take a look over what data is available and sort out a sensible set of defaults with various overrides if we want to start a landcover layer (or, rather, separate out landcover from the existing landuse layer).

@nvkelso
Copy link
Member

nvkelso commented Feb 2, 2016

This is also affecting the landuse_kind road intersection – discovered when setting up Tailgate Mania targeted editing post, where should be parking lot, but is getting university instead.

#18/37.43733/-122.17039

@nvkelso
Copy link
Member

nvkelso commented Jul 6, 2016

Related: The grass areas in the SFO Airport south of San Francisco show up green "park". It'd be nice to know this "landcover" natural feature is "in" an airport and downplay it:

359-vupraeulblpy

@nvkelso nvkelso added this to the v1.6.0 milestone Jun 27, 2017
@nvkelso nvkelso modified the milestones: v1.6.0, v1.7.0 Sep 25, 2018
@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
Projects
None yet
Development

No branches or pull requests

2 participants