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 zoo, aerodrome, urban, rural areas to landuse polygons #124

Closed
nvkelso opened this issue Aug 5, 2015 · 18 comments
Closed

Add zoo, aerodrome, urban, rural areas to landuse polygons #124

nvkelso opened this issue Aug 5, 2015 · 18 comments

Comments

@nvkelso
Copy link
Member

nvkelso commented Aug 5, 2015

The SF zoo is missing, and the animals there are sad.
tourism:zoo

@nvkelso
Copy link
Member Author

nvkelso commented Aug 5, 2015

And pilots at SFO are rioting. Or was that the London Underground people? Whatever.
aeroway:aerodrome

@nvkelso nvkelso changed the title Add zoos to landuse polygons Add zoo, aerodrome to landuse polygons Aug 5, 2015
@nvkelso nvkelso changed the title Add zoo, aerodrome to landuse polygons Add zoo, aerodrome, nature_reserve to landuse polygons Aug 5, 2015
@nvkelso
Copy link
Member Author

nvkelso commented Aug 5, 2015

And we're missing Pt Reyes national seashore north of SF, which has these tags
leisure:nature_reserve
landuse:conservation

UPDATE: Turns out this is already in tiles as landuse:conservation :)

@nvkelso
Copy link
Member Author

nvkelso commented Aug 5, 2015

Urban areas are in:
place:locality

UPDATE: Looks like landuse=urban and landuse=rural are more likely candidates
https://taginfo.openstreetmap.org/keys/residential#values

@nvkelso nvkelso changed the title Add zoo, aerodrome, nature_reserve to landuse polygons Add zoo, aerodrome, nature_reserve, locality to landuse polygons Aug 5, 2015
@rmarianski
Copy link
Member

The SF zoo is missing, and the animals there are sad.
tourism:zoo

Taginfo says that tourism=zoo exists for some points as well. Should we add this to the pois layer? If so, maybe at z16?

And we're missing Pt Reyes national seashore north of SF, which has these tags
leisure:nature_reserve
landuse:conservation

We are already pulling in leisure=nature_reserve. I did some digging, and it looks like it does appear in the tiles. But I'm not sure why it's not rendering when I view it in tangram (I was expecting green).
http://vector.mapzen.com/osm/all/12/649/1579.json

As an aside, we're not querying for landuse=conservation, but that can be added.

Urban areas are in:
place:locality

Looks like there are lots of nodes tagged like this. Should it be added to the pois layer too, z16?

@bcamper
Copy link
Collaborator

bcamper commented Aug 5, 2015

It looks like a style problem, not a data one -- looks like the landuse layer in the demo is only showing specific kind values, and that is not one of them. I think this was @meetar's attempt to cut out some of the notorious New Jersey "farm" areas, but perhaps went too far. Easy to change: https://github.com/tangrams/tangram/blob/master/demos/scene.yaml#L195

(side note, that layer is also requiring features to have a name, but that's overly restrictive since that's just a polygon layer, I can fix that)

@rmarianski
Copy link
Member

That explains it, thanks @bcamper! My vote would be to keep the name requirement for the landuse_labels layer, but drop it for landuse.

@bcamper
Copy link
Collaborator

bcamper commented Aug 5, 2015

Name is required for landuse_labels at the query level (can't label
something without a name :), but not for the actual landuse polygons
(which you could also label using some other data field if you wanted).

On Wed, Aug 5, 2015 at 4:13 PM, Robert Marianski [email protected]
wrote:

That explains it, thanks @bcamper https://github.com/bcamper! My vote
would be to keep the name requirement for the landuse_labels layer, but
drop it for landuse.


Reply to this email directly or view it on GitHub
#124 (comment)
.

@souperneon
Copy link

@nvkelso love that you are looking out for the pilots. I was trying to make a map of airports recently and the polygon data was not available so I started tracing them out and it's a lengthy process and not that accurate. Does the aeroway:aerodrome return polygons or points?
Thanks @meetar :)

@rmarianski
Copy link
Member

Does the aeroway:aerodrome return polygons or points?

@souperneon both [1]. Currently the pr has things set up such that the polygon areas will appear in the landuse layer, and the points in the pois layer.

[1] http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Daerodrome

@nvkelso
Copy link
Member Author

nvkelso commented Aug 10, 2015

@rmarianski You're right, Point Reyes was hiding in plain site as landuse:conservation only. Updated the original commit above.

@nvkelso
Copy link
Member Author

nvkelso commented Aug 10, 2015

@rmarianski For urban areas, reviewing https://taginfo.openstreetmap.org/keys/residential#values it looks like landuse=urban and landuse=rural are more likely candidates. These should just be landuse polygons without poi or landuse_labels (if they have names, we should probably ignore them).

@nvkelso
Copy link
Member Author

nvkelso commented Aug 10, 2015

@rmarianski For zoos, let's set the default min_zoom to 13 (not z16), yes for also include the labels. Is it better to put it into landuse_labels than POI?

@nvkelso nvkelso changed the title Add zoo, aerodrome, nature_reserve, locality to landuse polygons Add zoo, aerodrome, nature_reserve, urban areas to landuse polygons Aug 11, 2015
@nvkelso nvkelso changed the title Add zoo, aerodrome, nature_reserve, urban areas to landuse polygons Add zoo, aerodrome, urban areas to landuse polygons Aug 11, 2015
@nvkelso nvkelso changed the title Add zoo, aerodrome, urban areas to landuse polygons Add zoo, aerodrome, urban, rural areas to landuse polygons Aug 11, 2015
@nvkelso
Copy link
Member Author

nvkelso commented Aug 11, 2015

@rmarianski For the landuse=urban and landuse=rural, I suspect our grouping of several OSM keys into the same "kind" bucket results in odd stuff happening where a less interesting key's value overwrites the more interesting landuse key's value. For instance, I'm seeing a bunch of "residential" values in the returned landuse tiles, and those are usually a refinement of urban/rural.

@rmarianski
Copy link
Member

I updated the pr (#125):

  • removed place=locality
  • add landuse=urban and landuse=rural to landuse layer
  • add tourism=zoo to pois layer at z13

Wrt the kind collisions, we can always return back the landuse value in addition to providing a kind. I think we've done something like that for the roads layer already, where just the kind might not have been able to provide sufficient information.

@nvkelso
Copy link
Member Author

nvkelso commented Aug 12, 2015

PR updates look good.

Yes, let's try returning back also the explicate landuse value in addition to the kind object. We might also need to do that for boundaries, I'll make a new issue for that.

@rmarianski
Copy link
Member

Is it ok for me to merge in the pull request as is, and create a new issue for adding in the landuse value in the response?

@nvkelso
Copy link
Member Author

nvkelso commented Aug 12, 2015

Yes.

@rmarianski
Copy link
Member

Created ticket to include landuse tag: #132

@nvkelso nvkelso modified the milestone: Compilation 2.0 Sep 10, 2015
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

4 participants