{"action":"created","issue":{"url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/issues/166","repository_url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles","labels_url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/issues/166/comments","events_url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/issues/166/events","html_url":"https://github.com/osm2vectortiles/osm2vectortiles/issues/166","id":139130427,"number":166,"title":"Request for additional mapping types and fields","user":{"login":"numenor","id":514975,"avatar_url":"https://avatars.githubusercontent.com/u/514975?v=3","gravatar_id":"","url":"https://api.github.com/users/numenor","html_url":"https://github.com/numenor","followers_url":"https://api.github.com/users/numenor/followers","following_url":"https://api.github.com/users/numenor/following{/other_user}","gists_url":"https://api.github.com/users/numenor/gists{/gist_id}","starred_url":"https://api.github.com/users/numenor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numenor/subscriptions","organizations_url":"https://api.github.com/users/numenor/orgs","repos_url":"https://api.github.com/users/numenor/repos","events_url":"https://api.github.com/users/numenor/events{/privacy}","received_events_url":"https://api.github.com/users/numenor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/labels/feature","name":"feature","color":"84b6eb"},{"url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"manuelroth","id":1810384,"avatar_url":"https://avatars.githubusercontent.com/u/1810384?v=3","gravatar_id":"","url":"https://api.github.com/users/manuelroth","html_url":"https://github.com/manuelroth","followers_url":"https://api.github.com/users/manuelroth/followers","following_url":"https://api.github.com/users/manuelroth/following{/other_user}","gists_url":"https://api.github.com/users/manuelroth/gists{/gist_id}","starred_url":"https://api.github.com/users/manuelroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuelroth/subscriptions","organizations_url":"https://api.github.com/users/manuelroth/orgs","repos_url":"https://api.github.com/users/manuelroth/repos","events_url":"https://api.github.com/users/manuelroth/events{/privacy}","received_events_url":"https://api.github.com/users/manuelroth/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/milestones/15","html_url":"https://github.com/osm2vectortiles/osm2vectortiles/milestones/v1.3","labels_url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/milestones/15/labels","id":1619630,"number":15,"title":"v1.3","description":"","creator":{"login":"manuelroth","id":1810384,"avatar_url":"https://avatars.githubusercontent.com/u/1810384?v=3","gravatar_id":"","url":"https://api.github.com/users/manuelroth","html_url":"https://github.com/manuelroth","followers_url":"https://api.github.com/users/manuelroth/followers","following_url":"https://api.github.com/users/manuelroth/following{/other_user}","gists_url":"https://api.github.com/users/manuelroth/gists{/gist_id}","starred_url":"https://api.github.com/users/manuelroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuelroth/subscriptions","organizations_url":"https://api.github.com/users/manuelroth/orgs","repos_url":"https://api.github.com/users/manuelroth/repos","events_url":"https://api.github.com/users/manuelroth/events{/privacy}","received_events_url":"https://api.github.com/users/manuelroth/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":2,"state":"open","created_at":"2016-03-03T08:46:00Z","updated_at":"2016-03-29T07:54:41Z","due_on":"2016-04-03T22:00:00Z","closed_at":null},"comments":6,"created_at":"2016-03-07T23:52:08Z","updated_at":"2016-03-29T14:52:24Z","closed_at":null,"body":"I am working on conversion of an existing mapnik xml style to mapbox gl, based on osm2vectortiles data. While doing so, I encountered some mapping types and fields I am missing in osm2vectortiles to support the existing style. Below I am giving an overview of the most important ones. Is this list appropriate? Should I split it into several issues accoring to related tag, for instance? Is there any chance you might support these tags/values in future? To me it seems that most of these are a simple case of adding some rows to the mapping.yml and maybe data.yml files. But I do not know about the possible impact on tile sizes or other topics I might have overlooked.\r\n\r\nHere are the issues I currently have (roughly in decreasing order of importance):\r\n\r\n1. missing mappings for landuse / residential, landuse / commercial, landuse / retail, landuse / military, landuse / railway, landuse / greenfield, landuse / landfill, landuse / quarry, landuse / salt_pond, landuse / winter_sports. residential is main value for landuse, with > 3mio occurences\r\n\r\n1. place / ...\r\nimportant missing values: (important for low zoom, or with > 10.000 occurences): place / continent, place / country, place / island, place / islet\r\nother important values for higher zoom levels: place / bay, place / farm, place / isolated_dwelling (4th most frequent value for place!)\r\nother interesting values: place / archipelago, place / ocean, place / sea, place / state\r\n\r\n1. capital, this is currently only a boolean feature, but most values in osm are integers with values up to 10, this would allow better distinction wrt. place importance\r\n\r\n1. missing mapping for amenity / parking (around 2mio occurences)\r\n\r\n1. natural / peak, >400,000 occurences\r\n\r\n1. natural / ridge, natural / valley, important for labeling mountain topology (with around 35,000 and 5,000 occurences each)\r\n\r\n1. replacement of landuse / beach (already present in osm2vectortiles, but occuring < 100 times) by natural / beach (ca. 100,000 occurences)\r\n\r\n1. missing mappings for natural / rock, natural / bare_rock, natural / fell, natural / grassland, natural / heath, natural / riverbank, natural / scree\r\n\r\n1. missing mappings for route / ferry, route / piste, route / ski, each several thousand occurrences\r\n\r\n1. missing field tracktype for highway=track, with values tracktype / grade1, tracktype / grade2, tracktype / grade3, tracktype / grade4, tracktype / grade5\r\n\r\n1. bicycle / designated, bicycle / yes, (maybe: horse / designated, ...) on highway=path, to allow more complete rendering of cycleways\r\n\r\n1. missing mappings for leisure / marina, leisure / miniature_golf, leisure / track\r\n\r\n1. missing mappings for military areas/buildings/pois: military / airfield, military / barracks, military / bunker, military / danger_area, military / naval_base, military / range\r\n\r\n1. missing field usage for railways, to allow better distinction between different classes/importances: usage / branch, usage / highspeed, usage / industrial, usage / main, usage / military, usage / tourism\r\n\r\n1. missing mapping of waterway / dock\r\n\r\n1. missing mapping of aerialway / station (as poi and building shapes)\r\n\r\nI would appreciate any indications about possible support for (any of) these in future!\r\n"},"comment":{"url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/issues/comments/202936605","html_url":"https://github.com/osm2vectortiles/osm2vectortiles/issues/166#issuecomment-202936605","issue_url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/issues/166","id":202936605,"user":{"login":"manuelroth","id":1810384,"avatar_url":"https://avatars.githubusercontent.com/u/1810384?v=3","gravatar_id":"","url":"https://api.github.com/users/manuelroth","html_url":"https://github.com/manuelroth","followers_url":"https://api.github.com/users/manuelroth/followers","following_url":"https://api.github.com/users/manuelroth/following{/other_user}","gists_url":"https://api.github.com/users/manuelroth/gists{/gist_id}","starred_url":"https://api.github.com/users/manuelroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuelroth/subscriptions","organizations_url":"https://api.github.com/users/manuelroth/orgs","repos_url":"https://api.github.com/users/manuelroth/repos","events_url":"https://api.github.com/users/manuelroth/events{/privacy}","received_events_url":"https://api.github.com/users/manuelroth/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T14:52:24Z","updated_at":"2016-03-29T14:52:24Z","body":"@numenor thanks again for your comprehensive list. Below you can find the list with referenced commits if added or an explanation if not added. All commits can be found on the [mapping_improvements](https://github.com/osm2vectortiles/osm2vectortiles/commits/feature/mapping-improvements) branch. \r\n\r\n1. https://github.com/osm2vectortiles/osm2vectortiles/commit/98b4047dfb0bb493c321c7f051edeecfc90f445e Temporarily added, we will evaluate how this will affect the tile size and decide later if we really keep them\r\n2. place={island, islet, isolated_dwelling} added with https://github.com/osm2vectortiles/osm2vectortiles/commit/2561827d71c1e8b75174530d2989660b99ffb5f1 .\r\nplace={country, continent, bay, ocean, sea, state} are not mapped, because we have custom lists for [countries](https://github.com/osm2vectortiles/osm2vectortiles/blob/master/src/import-external/countries.geojson), [states](https://github.com/osm2vectortiles/osm2vectortiles/blob/master/src/import-external/states.geojson) and [seas](https://github.com/osm2vectortiles/osm2vectortiles/blob/master/src/import-external/seas.geojson), therefore they are not listed in our import mapping, but are already present in our vector tiles.\r\n3. Added the capital value with https://github.com/osm2vectortiles/osm2vectortiles/commit/2561827d71c1e8b75174530d2989660b99ffb5f1 place importance is distinguished with the scalerank and localrank, we will think about if we can incorporate this value into the scalerank calculation\r\n4. https://github.com/osm2vectortiles/osm2vectortiles/commit/1ecf0b9409bcb1bb01c1e784f0df4965a6fe07d2\r\n5. and 6. natural={peak, ridge, valley} will be part of new layer mountain_peak_label which is newly added by Mapbox Streets v7\r\n7. https://github.com/osm2vectortiles/osm2vectortiles/commit/2e2eba178147df4b04d58705156ad8fd45889e17\r\n8. https://github.com/osm2vectortiles/osm2vectortiles/commit/7cf2b128574df29b5f16f3c19ba60499a7704c1a and https://github.com/osm2vectortiles/osm2vectortiles/commit/62b589b74f1972cde524bed774ff4dacfa94fc7a\r\n9. https://github.com/osm2vectortiles/osm2vectortiles/commit/79925ca9ef177dc9d4c212e5e55fc3ab9fcb0a6a\r\n10. Mapbox Streets adds track:grade{1-5} as type for roads with class track\r\n11. highway=path add attribute bicycle=designated and bicycle=yes for complete cycleway map => Mapbox Streets has special type for cycleway (general many different types for class=path)\r\n12. https://github.com/osm2vectortiles/osm2vectortiles/commit/925e405c063c9911fcc3c94d3055c5e1dd66e4f9\r\n13. Added with https://github.com/osm2vectortiles/osm2vectortiles/commit/98b4047dfb0bb493c321c7f051edeecfc90f445e landuse=military to layer landuse with this tag military={airfield, naval_base, training_area, barracks} are all covered\r\n14. Add type for railways with usage(branch, highspeed, industrial, main, military, tourism) like for construction, track and service\r\n15. https://github.com/osm2vectortiles/osm2vectortiles/commit/48a9f10c27a7d95becaa5c714644fe708be6c31d\r\n16. https://github.com/osm2vectortiles/osm2vectortiles/commit/f26289c828fdc637bbf652c8706bc1c3318a52bc\r\n\r\nThe type classification in [Mapbox Streets v7](https://www.mapbox.com/developers/vector-tiles/mapbox-streets-v7/#road) has changed a lot. Applying the type classification will resolve section 9, 10 and 13. In a next step, I will align our [current mapping](https://github.com/osm2vectortiles/osm2vectortiles/blob/feature/mapping-improvements/src/import-osm/mapping.yml) and [source-style](https://github.com/osm2vectortiles/osm2vectortiles/blob/feature/mapping-improvements/open-streets.tm2source/data.yml) to all the changes the new Mapbox Streets v7 brought.\r\n\r\nBefore we can rerender the world again, the work on OSM Diff updates and the work on the mapping, source-style needs to be finished. As soon as we are ready we will inform you. If something is not clear, don't hesitate to ask me."}}