-
Notifications
You must be signed in to change notification settings - Fork 120
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 power to landuse, landuse-labels #186
Comments
Doesn't look like we'll need new indexes, but the |
@nvkelso, what's an appropriate order for power "landuse" polygons? the same as commercial / hospital / etc... (2)? @rmarianski, for folding in the station/sub_station values - you'd prefer that done in Python rather than the SQL, right? |
If it's just a |
Are we exporting the calculated landuse sort key now? That should have been included in last the road intercut work, but I don't see it. |
Sadly not, it would be |
In this section: We generally default to For |
Sounds like you think this would be appropriate: plant: 1
generator: 1
substation: 2 ? |
In that direction, yeah. Expanding on this thread, something like this is probably more right:
|
I'm seeing features like 'meadow' in the road intercut landuse_kind values, what do things default to if they aren't listed in the sort function? |
I'm not sure that's hooked up correctly anyway. And it won't work at all if you're not seeing an 'order' element on the "landuse" polygons... I think this should go in as a separate issue. |
Something like: tilezen/TileStache@6624ec9 |
Before: After #199: Using this in the landuse:
data: { source: osm }
draw:
polygons:
order: 1
color: '#aaffaa'
power:
filter: { kind: [plant, generator, substation] }
draw:
polygons:
order: 2
color: '#801010' |
All related PR have been merged. |
We're missing polygons and labels for large power generating stations.
https://taginfo.openstreetmap.org/keys/power?filter=relations#values
These three values seem to be the useful ones:
For these 2 deprecated values, let's recast them into
substation
landuse kind.Places to change:
And maybe somewhere else, do we need new indexes? @rmarianski for comment.
The text was updated successfully, but these errors were encountered: