Wykres commitów

19 Commity (master)

Autor SHA1 Wiadomość Data
Tomas Pohanka dae00f2604
Add missing requires NE tables to layers. (#1410)
Adding missing requires Natural Earth tables for layers.
2022-08-02 14:22:58 +02:00
Jeroen Hoek da7b1b1645
Add natural=shrubbery to landcover (#1397)
This adds `natural=shrubbery` to landcover (next to the similar `natural=scrub`).

Fixes #1396
2022-06-01 18:20:35 +02:00
Falke Design ebeafc65fa
Add requires.tables to <layer>.yaml (#1236)
**NOTE** this can only be merged after the next tools version is released.

Added required Postgres tables to the `<layer>.yaml` definition.
Close: #1220

PR of tools: https://github.com/openmaptiles/openmaptiles-tools/pull/370
2021-11-05 10:04:54 +01:00
Tomas Pohanka 4a1b0afa26
reworked landcover layer (#1035)
Instead of using [Douglas-Peucker algorithm](https://postgis.net/docs/ST_SimplifyPreserveTopology.html) which is using for generalized tables [imposm](https://imposm.org/docs/imposm3/latest/mapping.html#generalized-tables) it is used [Visvalingam-Whyatt algorithm](https://postgis.net/docs/ST_SimplifyVW.html).

Solution:
remove imposm generalized tables (during `import-osm`) and create generalization in `import-sql` step for zooms 7-14. Zooms 0-6 are from Natural Earth data.

Upper zoom levels (7 and 8) are ok to merge with no big impact on creation speed. In Canada from z9 it took too long. Between zoom levels 10 - 13 there can be union polygons with less than 300 edge points (empirical number based on a test on Canada forest, can be discussed). Polygons with more than 300 edge points are just simplified. Zoom 14 is from the original dataset `osm_landcover_polygon`.

There is also removed `osm_id` which is never used and not passed into vector tiles.
2020-11-11 15:11:48 +02:00
Yuri Astrakhan 1614a4656c Manage field mapping in SQL declaratively
Simplify some of the OSM->OMT field value mappings using declarative syntax.

This approach is not for all cases, but in many it removes
the need of storing the same field in both the .yaml and .sql files.

TODO: support more complex AND/OR cases
2019-12-19 11:25:29 -05:00
Frédéric Rodrigo f916e29be0 Add leisure=golf_course, map it to grass 2019-11-29 13:43:10 +01:00
Frédéric Rodrigo a2917a9323 Map fell, heath, scrub and tundra like grassland, as 'grass' 2019-11-02 21:14:51 +01:00
Frédéric Rodrigo c6a13981ba Support natural=dune aside of beach and sand 2019-08-31 14:30:42 +02:00
zstadler bf062d4731
Add missing `landcover` subclass values
Subclass values were extracted from `mapping.yaml`
2019-05-01 08:45:57 +03:00
Han Chao 974e85ff78 add class and subclass values to documentation 2018-02-01 09:25:38 +01:00
jirik e1ab498936 Add gardens to landcover 2017-11-08 13:47:11 +01:00
stirringhalo 15ff070abd Add glaciers at higher zooms (#287)
* Add glaciers

* Add glacier to subclass
2017-06-25 22:10:09 -04:00
Paul Norman 732b1dab79 Fix stray landcover punctuation 2016-12-08 12:47:58 -08:00
Lukas Martinelli 915cd2bde3 Add possible values for landcover, landuse, park doc 2016-11-30 11:21:13 +00:00
Lukas Martinelli 4a902ca273 Extend docs for park, landuse, landcover 2016-11-30 09:32:25 +00:00
lukasmartinelli 263d7e8a96 Add docs for landcover, landuse and housenumber 2016-10-30 16:07:47 +01:00
lukasmartinelli 9c50026f16 Remove osm_id in vector tiles coz of huge size savings 2016-10-25 19:15:51 +02:00
lukasmartinelli f65fded9f4 Introduce landcover classes 2016-10-24 14:27:57 +02:00
lukasmartinelli ade28316bd Add landcover layer 2016-10-10 20:37:23 +02:00