Brian Sperlongano
0e17d53f42
Implement park rendering at z4-5 ( #1160 )
...
Unblocks ZeLonewolf/openstreetmap-americana#51
Currently, OpenMapTiles renders protected areas at zoom 6 and higher. However, the western United States has protected areas that are so vast that it makes sense to render these areas as low as zoom 4, as noted in ZeLonewolf/openstreetmap-americana#51
This PR extends the generalization of park features from its current termination at zoom 6 to zoom 4.
Here is an example from the Americana style of rendering protected areas at zoom 6, which is currently the lowest supported zoom:
https://zelonewolf.github.io/openstreetmap-americana/#6/45.313/-111.721
We would like to provide rendering at zoom 4 (no labels) and zoom 5 (with labels) in the Americana style. Below are samples generated from this PR for Idaho, USA:
Zoom 4:
![image](https://user-images.githubusercontent.com/3254090/126924222-e21865e9-b184-479a-abd5-46238bd106f8.png )
Zoom 5:
![image](https://user-images.githubusercontent.com/3254090/126924230-01853e8c-d3e0-41e8-b10f-06415da529d8.png )
2021-09-01 07:20:52 +02:00
Adam Laža
77f5d76e37
Refactor schema, one _gen_z view per zoom. ( #1045 )
...
* Refactor layer aeroway.
* Refactor layer boundary.
* Refactor layer landcover.
* Refactor layer landuse.
* Refactor layer park.
* Refactor layer transportation.
* Refactor layer water.
* Refactor layer waterway.
* Re-generate water* layers etl_diagrams.
* Regenerate etl_diagrams for waterway.
* Cast NULL to text.
2020-11-26 13:54:00 +01:00
zstadler
88e9127bfd
Merge branch 'master' into protected_area
2020-04-04 12:50:03 +03:00
zstadler
5657ede450
Add `boundary=protected_area` parks
...
Update the **class** of the **park* layer in a backward-compatible way.
The class for `boundary=protected_area` parks is the lower-case of the
[`protection_title`](http://wiki.openstreetmap.org/wiki/key:protection_title )
value with blanks replaced by `_`.
`national_park` is the class of `protection_title=National Park` and `boundary=national_park`.
`nature_reserve` is the class of `protection_title=Nature Reserve` and `leisure=nature_reserve`.
The class for other [`protection_title`](http://wiki.openstreetmap.org/wiki/key:protection_title )
values is similarly assigned.
Resolve https://github.com/openmaptiles/openmaptiles/issues/760
2020-01-27 11:12:57 +02:00
Yuri Astrakhan
9d6dbfc64f
Use one pass docs image generation ( #751 )
...
quicker and cleaner diagram image generation.
Remove etl-graph and mapping-graph targets - redundant
Also, the obsolete "fields" is still in Imposm's code and both names are accepted,
but "fields" is not documented anywhere (PR submitted), and could be removed at any moment.
Our docs were not supporting it until this PR, so renaming it at the same time.
Several images have been updated due to a more inclusive mapping scan
Requires https://github.com/openmaptiles/openmaptiles-tools/pull/147 (merged)
2020-01-22 21:55:22 -05:00
Yuri Astrakhan
e6e92036a0
Use _resolve_wikidata in layer mapping.yaml ( #731 )
...
Mark all tables that should not be populated with the Wikidata
international labels with a special OMT-specific flag.
This should be ok to merge even before the new tools version
is used because imposm seems to ignore anything it doesn't understand.
The next tools version will remove it when generating imposm mapping file.
2020-01-21 09:43:21 -05:00
Eva J
90c4854184
removing webmerc_area
2019-11-19 16:36:00 +01:00
jirik
ccf8ee6dfa
Add park labels layer
2018-11-05 16:40:32 +01:00
jirik
5c67f2769e
Add st_isvalid check to imposm3 generalized tables
...
Fix #386
2018-01-31 17:24:05 +01:00
jirik
c2c5fc8f32
Generate park_polygon_gen8 from _gen7
2018-01-31 17:24:05 +01:00
Jiri Kozel
f848b0449b
Adjust park tolerance ( #262 )
...
* Adjust st_length filter based on zres in transportation layer
Probably related to #258
* Adjust park tolerance
Related to #257 , #258
2017-05-25 12:05:12 +02:00
jirik
4037256d43
Eliminate features with area<4px for aeroways, parks and water
2017-05-22 19:03:44 +02:00
stirringhalo
90690d2a39
Switch to ZRes ( #214 )
2017-04-25 18:03:29 -04:00
Jiri Kozel
3e6495a134
Import both area and webmerc_area, use area for filtering ( #198 )
2017-03-24 16:46:21 +01:00
stirringhalo
8273bfbb62
Switch to webmercarea
2017-01-17 09:45:58 -05:00
Lukas Martinelli
bcc38a0911
Show large parks already on z6
2016-11-30 17:11:47 +00:00
Lukas Martinelli
0c3b3b8b63
Show large parks on z7
2016-11-30 14:16:09 +00:00
Lukas Martinelli
5ebb33575e
Move public parks indicating grass to landcover
2016-11-29 19:38:02 +00:00
Lukas Martinelli
09dddebac4
Add park layer
2016-11-28 19:16:27 +00:00