Wykres commitów

749 Commity (master)

Autor SHA1 Wiadomość Data
zstadler 88e9127bfd
Merge branch 'master' into protected_area 2020-04-04 12:50:03 +03:00
Ludovic Delauné 924ccd6015
remove useless sql selection (#752) 2020-03-13 15:14:30 -04:00
Yuri Astrakhan 2edbbfa1a0 Updated etl diagrams from latest tools
* gets rid of duplicate connecting lines in etl graphs
2020-02-14 16:22:48 -05:00
Yuri Astrakhan a803bc3d11
cleanup trailing spaces (#777)
minor noop
2020-02-11 01:13:01 -05:00
Jorge Sanz ace759590e
Parallel capability to layer functions (#728)
This PR allows queries to be parallelized on recent versions of Postgres. The `PARALLEL SAFE` modifier has been added to the layer functions and a PLPGSQL function to convert strings into number has been replaced.

`PARALLEL SAFE` is a modifier for `CREATE FUNCTION` available since Postgres 9.6, so this change does not break current OpenMapTiles supported database version. More details about this topic [here](https://www.postgresql.org/docs/current/parallel-safety.html) and at the reference documentation for [`CREATE FUNCTION`](https://www.postgresql.org/docs/current/sql-createfunction.html).

### Testing procedure

The procedure to test this was:

* Imported `spain.pbf` in a clean environment
* Dumped the OpenMapTiles database from the Postgres Docker image
* Created a clean Postgres 12 database using the default Docker image
* Installed `postgis` 3 from the default Debian package and `osml10n` 2.5.8 from the repository (`make`, etc.)
* Restored the dump
* Lowered the postgres planner parameters for triggering parallel plans:
```sql
set parallel_setup_cost = 5;
set parallel_tuple_cost = 0.005;
```
* Manually added the `PARALLEL SAFE` modifier to each function involved in layer queries (not on updates or inserting functions).
* For each layer, run a testing query to confirm parallel workers were created, something like this:
```sql
explain analyze 
select * from layer_aerodrome_label(tilebbox(8,128,95),10,null)
union all
select * from layer_aerodrome_label(tilebbox(8,128,97),10,null);
```
* After all the layers were processed and confirmed to start parallel executions, a more complete example was run. This example just retrieves the geometries for all the layers from the same tile but without using any MVT related function.

<details><summary>Testing query</summary>

```sql
-- Using the function layer_landuse
explain analyze 
select geometry from layer_water(tilebbox(14,8020,6178),14)
union all
select geometry from layer_waterway(tilebbox(14,8020,6178),14)
union all
select geometry from layer_landcover(tilebbox(14,8020,6178),14)
union all
select geometry from layer_landuse(tilebbox(14,8020,6178),14)
union all
select geometry from layer_mountain_peak(tilebbox(14,8020,6178),14)
union all
select geometry from layer_park(tilebbox(14,8020,6178),14)
union all
select geometry from layer_boundary(tilebbox(14,8020,6178),14)
union all
select geometry from layer_aeroway(tilebbox(14,8020,6178),14)
union all
select geometry from layer_transportation(tilebbox(14,8020,6178),14)
union all
select geometry from layer_building(tilebbox(14,8020,6178),14)
union all
select geometry from layer_water_name(tilebbox(14,8020,6178),14)
union all
select geometry from layer_transportation_name(tilebbox(14,8020,6178),14)
union all
select geometry from layer_place(tilebbox(14,8020,6178),14)
union all
select geometry from layer_housenumber(tilebbox(14,8020,6178),14)
union all
select geometry from layer_poi(tilebbox(14,8020,6178),14)
union all
select geometry from layer_aerodrome_label(tilebbox(14,8020,6178),14);
```
</details>

You can inspect the execution plan and results on [this page](https://explain.dalibo.com/plan/3z). Also [attaching](https://github.com/openmaptiles/openmaptiles/files/3951822/explain-tile-simple.tar.gz) the query and JSON output for future reference. The website gives a ton of details, but you may want to search for nodes mentioning `workers` or `parallel` like in this area referring to `osm_border` or `osm_aeroway_linestring` entities

![image](https://user-images.githubusercontent.com/188264/70647153-9cac9300-1c48-11ea-96ea-ac7a1e2f4a79.png)

### Next steps

Since the execution plan is not showing a parallel append at the top level, meaning it's not running each layer individually, I want to continue experimenting with parameters and queries to see if it's possible to even parallelize more the request.

I will post my finding here, even no change in the code should happen.


cc. @nyurik

Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
2020-01-31 19:36:02 -05:00
Frédéric Rodrigo b1eeff573e
Remove table building_multipolygon as multipolygon are already in table osm_building_polygon (#756)
Buildings from ways and multipolygons are loaded in table `osm_building_polygon`. But a table for `osm_building_multipolygon` is also loaded, the content is not used except to ensure an `osm_id` is from a multipolygon. To check if the object is from a multipolygon we have only to check if `osm_id` is negative. It is the counter part of e0c8ece375/layers/building/building.sql (L89)

I checked the objects are the same after this change.
2020-01-31 19:34:08 -05:00
Yuri Astrakhan 6801353e15
Declared field mapping 2 (#734)
Make a few more mappings declarative, and removes values declared in both SQL and the yaml file.

Here's the diff comparing `build/tileset.sql` in master vs the new PR. The changes are mostly stylistic, except when a nested `if` statement is expanded into individual `if ... and ...` conditions (logically identical)

```diff
55c55
diff --git a/build/tileset.sql b/build/tileset.sql
index 4e59357..7c6c444 100644
--- a/build/tileset.sql
+++ b/build/tileset.sql
@@ -52,7 +52,7 @@ CREATE INDEX IF NOT EXISTS osm_ocean_polygon_gen4_idx ON osm_ocean_polygon_gen4
 CREATE OR REPLACE FUNCTION water_class(waterway TEXT) RETURNS TEXT AS $$
     SELECT CASE
            WHEN "waterway" IN ('', 'lake') THEN 'lake'
-           WHEN "waterway"='dock' THEN 'dock'
+           WHEN "waterway" = 'dock' THEN 'dock'
            ELSE 'river'
    END;
 $$ LANGUAGE SQL IMMUTABLE;
@@ -1813,24 +1813,41 @@ CREATE OR REPLACE FUNCTION highway_class(highway TEXT, public_transport TEXT, co
         WHEN "highway" IN ('tertiary', 'tertiary_link') THEN 'tertiary'
         WHEN "highway" IN ('unclassified', 'residential', 'living_street', 'road') THEN 'minor'
         WHEN "highway" IN ('pedestrian', 'path', 'footway', 'cycleway', 'steps', 'bridleway', 'corridor')
-            OR "public_transport"='platform'
+            OR "public_transport" = 'platform'
             THEN 'path'
-        WHEN "highway"='service' THEN 'service'
-        WHEN "highway"='track' THEN 'track'
-        WHEN "highway"='raceway' THEN 'raceway'
-        WHEN highway = 'construction' THEN CASE
-          WHEN construction IN ('motorway', 'motorway_link') THEN 'motorway_construction'
-          WHEN construction IN ('trunk', 'trunk_link') THEN 'trunk_construction'
-          WHEN construction IN ('primary', 'primary_link') THEN 'primary_construction'
-          WHEN construction IN ('secondary', 'secondary_link') THEN 'secondary_construction'
-          WHEN construction IN ('tertiary', 'tertiary_link') THEN 'tertiary_construction'
-          WHEN construction IN ('', 'unclassified', 'residential', 'living_street', 'road') THEN 'minor_construction'
-          WHEN construction IN ('pedestrian', 'path', 'footway', 'cycleway', 'steps', 'bridleway', 'corridor')
-              OR public_transport = 'platform' THEN 'path_construction'
-          WHEN construction = 'service' THEN 'service_construction'
-          WHEN construction = 'track' THEN 'track_construction'
-          WHEN construction = 'raceway' THEN 'raceway_construction'
-        END
+        WHEN "highway" = 'service' THEN 'service'
+        WHEN "highway" = 'track' THEN 'track'
+        WHEN "highway" = 'raceway' THEN 'raceway'
+        WHEN "highway" = 'construction'
+            AND "construction" IN ('motorway', 'motorway_link')
+            THEN 'motorway_construction'
+        WHEN "highway" = 'construction'
+            AND "construction" IN ('trunk', 'trunk_link')
+            THEN 'trunk_construction'
+        WHEN "highway" = 'construction'
+            AND "construction" IN ('primary', 'primary_link')
+            THEN 'primary_construction'
+        WHEN "highway" = 'construction'
+            AND "construction" IN ('secondary', 'secondary_link')
+            THEN 'secondary_construction'
+        WHEN "highway" = 'construction'
+            AND "construction" IN ('tertiary', 'tertiary_link')
+            THEN 'tertiary_construction'
+        WHEN "highway" = 'construction'
+            AND "construction" IN ('', 'unclassified', 'residential', 'living_street', 'road')
+            THEN 'minor_construction'
+        WHEN "highway" = 'construction'
+            AND ("construction" IN ('pedestrian', 'path', 'footway', 'cycleway', 'steps', 'bridleway', 'corridor') OR "public_transport" = 'platform')
+            THEN 'path_construction'
+        WHEN "highway" = 'construction'
+            AND "construction" = 'service'
+            THEN 'service_construction'
+        WHEN "highway" = 'construction'
+            AND "construction" = 'track'
+            THEN 'track_construction'
+        WHEN "highway" = 'construction'
+            AND "construction" = 'raceway'
+            THEN 'raceway_construction'
     END;
 $$ LANGUAGE SQL IMMUTABLE;
 
@@ -4073,6 +4090,12 @@ RETURNS TEXT AS $$
         WHEN "subclass" IN ('fast_food', 'food_court') THEN 'fast_food'
         WHEN "subclass" IN ('park', 'bbq') THEN 'park'
         WHEN "subclass" IN ('bus_stop', 'bus_station') THEN 'bus'
+        WHEN ("subclass" = 'station' AND "mapping_key" = 'railway')
+            OR "subclass" IN ('halt', 'tram_stop', 'subway')
+            THEN 'railway'
+        WHEN "subclass" = 'station'
+            AND "mapping_key" = 'aerialway'
+            THEN 'aerialway'
         WHEN "subclass" IN ('subway_entrance', 'train_station_entrance') THEN 'entrance'
         WHEN "subclass" IN ('camp_site', 'caravan_site') THEN 'campsite'
         WHEN "subclass" IN ('laundry', 'dry_cleaning') THEN 'laundry'
@@ -4082,7 +4105,7 @@ RETURNS TEXT AS $$
         WHEN "subclass" IN ('hotel', 'motel', 'bed_and_breakfast', 'guest_house', 'hostel', 'chalet', 'alpine_hut', 'dormitory') THEN 'lodging'
         WHEN "subclass" IN ('chocolate', 'confectionery') THEN 'ice_cream'
         WHEN "subclass" IN ('post_box', 'post_office') THEN 'post'
-        WHEN "subclass"='cafe' THEN 'cafe'
+        WHEN "subclass" = 'cafe' THEN 'cafe'
         WHEN "subclass" IN ('school', 'kindergarten') THEN 'school'
         WHEN "subclass" IN ('alcohol', 'beverages', 'wine') THEN 'alcohol_shop'
         WHEN "subclass" IN ('bar', 'nightclub') THEN 'bar'
@@ -4098,9 +4121,6 @@ RETURNS TEXT AS $$
         WHEN "subclass" IN ('bag', 'clothes') THEN 'clothing_store'
         WHEN "subclass" IN ('swimming_area', 'swimming') THEN 'swimming'
         WHEN "subclass" IN ('castle', 'ruins') THEN 'castle'
-        WHEN (subclass = 'station' AND mapping_key = 'railway')
-          OR (subclass IN ('halt', 'tram_stop', 'subway')) THEN 'railway'
-        WHEN (subclass = 'station' AND mapping_key = 'aerialway') THEN 'aerialway'
         ELSE subclass
     END;
 $$ LANGUAGE SQL IMMUTABLE;
@@ -4301,22 +4321,22 @@ $$
     COALESCE(NULLIF(name_de, ''), name, name_en) AS name_de,
     tags,
     CASE
-      WHEN "aerodrome"='international'
-          OR "aerodrome_type"='international'
+      WHEN "aerodrome" = 'international'
+          OR "aerodrome_type" = 'international'
           THEN 'international'
-      WHEN "aerodrome"='public'
-          OR "aerodrome_type"='civil'
+      WHEN "aerodrome" = 'public'
+          OR "aerodrome_type" = 'civil'
           OR "aerodrome_type" LIKE '%public%'
           THEN 'public'
-      WHEN "aerodrome"='regional'
-          OR "aerodrome_type"='regional'
+      WHEN "aerodrome" = 'regional'
+          OR "aerodrome_type" = 'regional'
           THEN 'regional'
-      WHEN "aerodrome"='military'
+      WHEN "aerodrome" = 'military'
           OR "aerodrome_type" LIKE '%military%'
-          OR "military"='airfield'
+          OR "military" = 'airfield'
           THEN 'military'
-      WHEN "aerodrome"='private'
-          OR "aerodrome_type"='private'
+      WHEN "aerodrome" = 'private'
+          OR "aerodrome_type" = 'private'
           THEN 'private'
       ELSE 'other'
     END AS class,
```
2020-01-31 00:22:21 -05: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 c9e7ad90c6
Remove unneeded "else null" in conditions (#732)
Minor code cleanup:
SQL already returns NULL in the "WHEN" condition
if it is not matched by any of the cases.

Co-authored-by: Eva Jelinkova <evka.jelinkova@gmail.com>
2020-01-22 17:24:28 -05:00
Yuri Astrakhan 1bc3f138b4
Create boundary materialized views (#740)
* Move simplified border tables to OMT as MAT VIEWs

Consolidate derived table creation in OMT repository.
Move all non-original simplified geometry tables from import-osmborder
image to this repo, allowing further optimization.

Later we can remove derived table creation fro mthe import-osmborder image.
2020-01-21 09:44:29 -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
Yuri Astrakhan 11f4856d48
Add simplified water materialized views (#739)
Move materialized view creation from the tools repo.

This PR should be merged before the https://github.com/openmaptiles/openmaptiles-tools/pull/115

Merge the other PR shortly after this one to avoid doing the same work twice - first creating simplified table, then dropping it and recreating them as materialized views.
2020-01-20 12:12:19 -05:00
Yuri Astrakhan 1d91b9ef6e
Noop: tag sql MAT VIEWS with a special comment (#733)
Tag all SQL materialized views with a machine-readable comment
to indicate that this materialized view can be created without
data:

   /* DELAY_MATERIALIZED_VIEW_CREATION */

In the next version of tools this comment can be optionally
replaced with the "WITH NO DATA" parameter, thus allowing
a much faster execution of the SQL script. All materialized
viewes will be populated with data in parallel afterwards
using the `refresh-views` tools script.
2020-01-20 12:02:49 -05: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
Eva Jelinkova 9f00db0245
Merge pull request #747 from eva-j/water_z4
Change NE source of lakes in zoom 4
2019-12-19 11:31:12 +01:00
Eva J 4c43c6ea3b add data types for boundary_z0 2019-12-18 19:31:28 +01:00
Eva J c40e092381 lakes z4 2019-12-18 09:14:47 +01:00
Yuri Astrakhan 358939e912
etl graph update, add graph test to travis (#741)
* etl graph update

re-ran `make generate-devdoc` which updated landuse graph

* Add travis test to check docs are up to date
2019-12-16 08:37:34 -05:00
Eva Jelinkova afb9ccfa84
Merge pull request #730 from eva-j/723_water_sources
Changing ocean data source in z6-7
2019-12-12 19:05:27 +01:00
Eva Jelinkova dae8e055ae
Merge pull request #720 from lun/add-garages
Add garages
2019-12-12 19:04:26 +01:00
Eva Jelinkova d82ede81ce
Merge pull request #727 from eva-j/disp_borders_rel
Disputed borders - adding relations with claimed_by
2019-12-12 19:03:06 +01:00
Eva J 8ff4a5acb4 changing ocean data source in z6-7 2019-12-12 12:44:32 +01:00
Eva J 6381451964 just newlines 2019-12-12 09:48:35 +01:00
Eva Jelinkova 02c202e2f7
Revert "Remove the area condition on highway polygon." 2019-12-11 22:22:59 +01:00
Eva Jelinkova a049d88db8
Merge pull request #721 from frodrigo/building_poly
Filter building on polygons
2019-12-11 17:55:02 +01:00
Eva J fee22d4eb9 adding disp. relations into z1-4 2019-12-11 12:05:42 +01:00
Eva J 0181513b1a 2 attributes, generalization in mapping, edit unions 2019-12-10 19:48:24 +01:00
Eva J fd940684eb relation member values, diagrams 2019-12-10 08:49:54 +01:00
Eva Jelinkova b97d6de626
Merge pull request #718 from frodrigo/golf_grass
Add leisure=golf_course, map it to grass
2019-12-09 15:21:07 +01:00
Eva J 89815c04cf mapping_diagram update 2019-12-09 14:48:52 +01:00
Frédéric Rodrigo e0c8ece375 Filter building index on polygons 2019-12-09 11:03:21 +01:00
Eva J a05228381a add relations with claimed_by 2019-12-07 12:18:06 +01:00
golubev 7f591ffebc update the 'layers/landuse/mapping_diagram.png' 2019-12-06 19:48:56 +02:00
golubev 1247972951 merge master into add-garages 2019-12-06 19:40:12 +02:00
Frédéric Rodrigo f916e29be0 Add leisure=golf_course, map it to grass 2019-11-29 13:43:10 +01:00
Eva J b62619c00c etl_diagram update 2019-11-27 12:50:24 +01:00
Eva J 60b4a4cebc removing ne_10m source 2019-11-27 11:51:15 +01:00
Eva Jelinkova 9bfdefca31
Merge pull request #708 from eva-j/637_webmerc_area
Removing webmerc_area field from mapping.yaml
2019-11-26 15:46:28 +01:00
Eva Jelinkova dfaf8e3cc8
Merge pull request #713 from eva-j/621_landuse_dam
Adding waterway=dam to landuse layer
2019-11-26 15:39:21 +01:00
Eva J fcee8571fb adding waterway=dam 2019-11-20 18:05:07 +01:00
Yuri Astrakhan 39dcfc2072
Fix missing description for the new brunnel field (#709) 2019-11-19 14:47:34 -05:00
Eva J 90c4854184 removing webmerc_area 2019-11-19 16:36:00 +01:00
Eva J 062e2c89b0 adding disputed for NE sources 2019-11-07 18:07:15 +01:00
Eva J 11c07bfbed waterway - edit docs 2019-11-06 16:40:37 +01:00
Eva Jelinkova 67672de287
Merge pull request #646 from osmontrouge/refactor-landcover
Add a subclass column from the mapping_value to clean the landcover layer
2019-11-05 19:24:55 +01:00
François de Metz cf219c1e09
Include only polygons and multipolygons highways on zoom >= 13. 2019-11-05 12:31:54 +01:00
Eva Jelinkova 6ea4cde691
Merge branch 'master' into refactor-landcover 2019-11-05 12:02:37 +01:00
Eva Jelinkova 3f65811cda
Merge pull request #663 from frodrigo/more_grass
Map fell, heath, scrub and tundra like grassland, as 'grass'
2019-11-05 10:00:35 +01:00
Eva Jelinkova f440fa53bc
Merge pull request #679 from QwantResearch/upstream-water
add brunnel info for water
2019-11-04 18:32:55 +01:00
golubev fd120ff8ca layers/transportation_name/mapping_diagram.png: update the diagram 2019-11-04 14:25:11 +02:00
golubev 8a5541a78e merge master into add-garages 2019-11-04 13:48:18 +02:00
Sergii Golubev 8dcb8a3192 close #657: limit mountain_peak's 'ele' tag to 10000 (#658)
* close #657: limit mountain_peak's 'ele' tag to 10000

* layers/mountain_peak/layer.sql: implement a more elegant 'ele' filter
2019-11-04 06:14:55 -05:00
golubev 05e77f6870 merge master into add-garages 2019-11-04 13:12:34 +02:00
Taro Matsuzawa af7f96ac94 fix typo: hourse -> horse 2019-11-03 14:36:06 +09:00
Frédéric Rodrigo a2917a9323 Map fell, heath, scrub and tundra like grassland, as 'grass' 2019-11-02 21:14:51 +01:00
Yuri Astrakhan 73c7290893 Updated mapping diagrams to match changes in landcover & transportation
These were forgotten to check in.  We should add validation to the tests
to make sure all values are up to date.
2019-11-01 22:40:39 -04:00
Eva Jelinkova dff9a850a6
Merge pull request #675 from Sophox/nyurik-patch-1
Fix err in transportation update_gbr_route_members
2019-10-31 22:46:37 +01:00
Eva Jelinkova bdeb6c8b2e
Merge branch 'master' into bicycle-foot-horse-mtb_scale 2019-10-31 18:52:12 +01:00
Eva Jelinkova c5b58057cb
Merge pull request #677 from lun/321-highway-construction
Add roads under construction
2019-10-31 18:42:11 +01:00
Eva Jelinkova e7aa43d91b
Merge pull request #662 from frodrigo/dune
Support natural=dune aside of beach and sand
2019-10-29 15:00:20 +01:00
Yuri Astrakhan 0374d4d047 insert non-null osm_id 2019-10-28 12:35:08 -04:00
Yuri Astrakhan 479914e4b5 Fix err in transportation update_gbr_route_members
The query was producing 3 columns - `(member, ref, network)`,
whereas osm_id is a required field (otherwise it throws null constraint).
2019-10-28 12:35:08 -04:00
Yuri Astrakhan 7426e3a924
Added missing key_field to the aerodrome_label & mountain_peak def (#686)
aerodrome_label & mountain_peak queries return `osm_id`, but they
are not declared in the data source.  I think we should either remove
the `osm_id` from the query result, or declare the data source.
2019-10-28 12:26:03 -04:00
Yuri Astrakhan eca13f9bed
Refreshed all diagrams, fixed automation & 2 broken graphs (#692)
Seems like etl and mapping diagrams have been neglected
for a long time. Now it regenerates the files and places
them in the source dir.

This PR also fixes two broken files:
* layers/aerodrome_label/mapping_diagram.png
* layers/housenumber/mapping_diagram.png

They were generated using the newest tools version with the fix
https://github.com/openmaptiles/openmaptiles-tools/pull/65
2019-10-26 21:28:43 -04:00
zstadler 2738c649ca Fix typos 2019-10-26 22:52:14 +03:00
Yuri Astrakhan bf833dcd45
Merge pull request #655 from frodrigo/chocolate
Remove duplicate POI class match on chocolate and confectionery
2019-10-25 23:43:44 -04:00
zstadler 556bfb889d
Merge branch 'master' into bicycle-foot-horse-mtb_scale 2019-10-25 16:09:44 +03:00
Yuri Astrakhan edd1c44ac6
remove trailing space 2019-10-25 00:46:38 -04:00
Yuri Astrakhan 84daa0ea1d Merge zstadler/openmaptiles/patch-1 into master
Rebasing onto the latest changes in origin/master,
resolving merge conflict.
2019-10-23 13:24:20 -04:00
Guillaume Gomez 23358f18af add brunnel info for water 2019-10-11 17:57:26 +02:00
golubev 4251701858 layers/transportation/class.sql: fix up empty value issue (#321) 2019-10-07 14:15:45 +03:00
golubev e74bfb67b4 update transportation layers doc (#321) 2019-10-04 15:19:56 +03:00
golubev 73307a610b layers/transportation_name/: add roads under construction, fix SQL error (#321) 2019-10-04 14:50:05 +03:00
golubev 81c90be19b layers/transportation/: fix SQL mistakes, modify indices (#321) 2019-10-04 14:00:14 +03:00
golubev 0636466cfd layers/transportation/: differentiate roads under construction (#321) 2019-10-04 13:08:49 +03:00
golubev 45a50a5bd0 layers/transportation/: add 'highway=construction' roads (#321) 2019-10-03 14:17:44 +03:00
golubev 8d9a5df48b layers/transportation/: do a tiny code styling (#321) 2019-10-03 14:10:36 +03:00
golubev 84689f6cd1 layers/landuse/mapping.yaml: add 'garages' 2019-09-20 13:00:21 +03:00
Frédéric Rodrigo c6a13981ba Support natural=dune aside of beach and sand 2019-08-31 14:30:42 +02:00
Frédéric Rodrigo dedc1fd91f Remove duplicate POI class match on chocolate and confectionery 2019-08-12 22:30:44 +02:00
François de Metz f4b56d00ae
Add a subclass column from the mapping_value to clean the landcover layer. 2019-07-28 12:36:01 +02:00
zstadler 7a3ac079ae Add intermittent field to water* layers (#430 PR #585) 2019-05-24 13:21:43 +02:00
Frédéric Rodrigo 4d43ee9136 Add colour to buildings (#555) 2019-05-24 11:09:09 +02:00
Dalibor Janák b9c8de3fbb
Merge pull request #620 from eva-j/aerialway
Adding aerialway=gondola
2019-05-20 13:42:40 +02:00
Dalibor Janák 2920ffd4da
Merge pull request #578 from nlehuby/ski_resorts
Add ski resorts to poi and landuse layers
2019-05-20 13:40:58 +02:00
Dalibor Janák 3ae8542cf9
Merge pull request #624 from zstadler/patch-3
Remove second occurance of `camp_site` subclass
2019-05-20 13:40:06 +02:00
Dalibor Janák 2ecca4b20d
Merge pull request #626 from eva-j/osmdata_url
import-water 1.0, update osmdata URL
2019-05-20 13:37:14 +02:00
Dalibor Janák 0ecfe3bd63
Merge branch 'master' into patch-3 2019-05-20 13:17:43 +02:00
Dalibor Janák 7bb810667d
Merge pull request #612 from zstadler/patch-2
Add missing subclass values to `landcover` documentation
2019-05-20 13:06:53 +02:00
Dalibor Janák 26b2fb0765
Merge pull request #622 from eva-j/poi_dormitory
Adding dormitories
2019-05-20 13:05:35 +02:00
Dalibor Janák 94b58f5f21
Merge pull request #570 from Phyks/surface
Add surface field for highways
2019-05-20 13:02:47 +02:00
Eva J f09a2edd12 import-water 1.0, update osmdata URL 2019-05-20 11:58:34 +02:00
Eva J 3520cbec40 POI update only (removing changes in landuse) 2019-05-19 22:04:30 +02:00
zstadler d2f78cc346
Remove second occurance of `camp_site` subclass
The `camp_site` subclass is assigned to the `campsite` class by an earlier statement"
```sql
WHEN subclass IN ('camp_site','caravan_site') THEN 'campsite'
```
2019-05-18 08:26:15 +03:00
Eva J 664bc7da28 adding dormitories 2019-05-17 17:28:20 +02:00
Eva J ed0d63804c update of tag lists, documentation 2019-05-17 14:28:13 +02:00
Eva J 7a167142eb add aerialway=gondola 2019-05-16 13:44:50 +02:00
Eva J 7b6c4752e9 add leisure=track 2019-05-15 18:05:44 +02:00
Eva J 54d0fbc78c adding aerialway=chair_lift,t-bar,rope_tow 2019-05-15 16:37:58 +02:00
Dalibor Janák bf7e160331
Merge pull request #613 from eva-j/boundaries
Boundary - changes in z4 and z5
2019-05-08 09:07:29 +02:00
Eva J 8f543c5e62 removing using scalerank 2019-05-06 18:04:29 +02:00
Eva J aee74675eb changes in z4 and z5 - diagram update 2019-05-03 15:06:05 +02:00
Eva J 9146fc74b0 changes in z4 and z5 2019-05-03 14:47:30 +02:00
zstadler bf062d4731
Add missing `landcover` subclass values
Subclass values were extracted from `mapping.yaml`
2019-05-01 08:45:57 +03:00
zstadler 53976b154d
Avoid long repeated text in poi mapping file
The `fields` and `mapping` sections for `poi_point` and `poi_polygon` are the same, and must be the same for the SQL to work properly.

Using definitions avoids repetition and the need to make each change in these sections twice, as was already done for the subsections of `mapping`
2019-04-18 01:04:07 +03:00
Dalibor Janák 65d9036616
Merge pull request #567 from Phyks/parking
Add parking, bicycle_parking and motorcycle_parking as POIs
2019-04-15 10:58:17 +02:00
Eva Jelinkova b0ee2a9c90
adding parking 2019-04-11 21:11:34 +02:00
Dalibor Janák 9d6a021ecb
Merge pull request #605 from eva-j/missing-islands2
Missing islands
2019-04-11 15:08:13 +02:00
Dalibor Janák 6d7c09a039
Merge pull request #606 from eva-j/suburbs
suburb and neighbourhood added for landuse-residential
2019-04-11 15:08:04 +02:00
Dalibor Janák bc0aeca21f
Merge pull request #553 from typebrook/volcano
Add 'natural=volcano' into mountain_peak layer
2019-04-11 15:07:49 +02:00
Eva J c320b92a4b place=suburb and place=neighbourhood added 2019-04-11 11:57:07 +02:00
Eva J 68255e16ad not importing bays into water_z views, they are mostly duplicating water/ocean areas and cover important islands 2019-04-10 15:59:35 +02:00
Eva J 6ec66e94e3 distinguish bays from other water polygons 2019-04-10 10:04:23 +02:00
zstadler 2357bde1b9 Add bicycle, foot, horse, and mtb_scale to the transportation layer
Resolve https://github.com/openmaptiles/openmaptiles/issues/422
Resolve https://github.com/openmaptiles/openmaptiles/issues/512
Resolve https://github.com/openmaptiles/openmaptiles/issues/602

An extended and refined alternative to https://github.com/openmaptiles/openmaptiles/pull/573
2019-04-08 00:08:21 +03:00
Yuri Astrakhan 8fe9af2327
Minor trailing whitespace cleanup (#596)
Remove extra spaces in a number of files.
2019-03-29 17:15:42 -04:00
Martin Mikita 04fe8f8912
Updated boundary.yaml description PR#550 2019-03-18 12:35:07 +01:00
Noémie 1731464db8 Add ski resorts to poi and landuse layers 2019-01-27 14:30:21 +01:00
Phyks (Lucas Verney) da00063e0d Add surface field for highways
Keep surface field from OSM on highways, generalize it to two values:
"paved" and "unpaved".

This is a fix for #389 and a partial fix for #422.
2019-01-09 15:59:32 +01:00
Phyks (Lucas Verney) 56f282b17d Add bicycle/motorcycle parkings as POIs 2019-01-04 16:53:58 +01:00
typebrook 89cbf27c98 Add 'natural=volcanal' into mountain_peak layer
1. Add new field "class" into mountain_peak layer,
   which is original value of "natural" tag
2. Reformat layer.sql
2018-12-20 14:10:22 +00:00
Adrien Matissart 993d0ef589 Fix typo in update_osm_park_polygon_row function 2018-12-19 17:58:42 +01:00
pathmapper 0a82a07bc4
Update boundary layer description 2018-12-18 22:31:12 +01:00
jirik 92a056ab78 Abbreviate also name:latin of streets 2018-11-30 15:32:26 +01:00
jirik 00d88a103c Revert back to NE 4.0.0
See https://github.com/openmaptiles/openmaptiles/issues/365#issuecomment-442823991
2018-11-30 15:32:26 +01:00
jirik 8d591a59aa Wrap place UNIONs into one SELECT to sppeed up rendering 2018-11-30 15:32:26 +01:00
jirik 927d3945e2 Add geometry_point indexes to park layer 2018-11-30 15:32:26 +01:00
jirik fe057eede1 Move geometry && bbox check in park layer 2018-11-30 15:32:26 +01:00
jirik 7cd29e2622 Add extra geometry_point && bbox check to park layer 2018-11-30 15:32:26 +01:00
Jiri Kozel f3f8b9804e
Improve 3D buildings (#533)
Add `hide_3d` building attribute to hide some building parts in 3D.

Fix #128
2018-11-14 15:26:24 +01:00
Jiri Kozel bb00b4e53f
Add type of sport as subclass of pitch (#532) 2018-11-12 14:37:00 +01:00
jirik 9d07350ac4 Prefer to join NE countries by Wikidata ID 2018-11-12 12:37:15 +01:00
jirik 8766a0effc Add waterway:dock to water layer 2018-11-11 16:48:37 +01:00
jirik cd920755bf Remove park_label layer, add labels to park layer 2018-11-07 18:22:26 +01:00
jirik 765d6fbc76 Add line piers 2018-11-07 16:19:19 +01:00
jirik 4304c756ad Add polygon piers 2018-11-07 16:19:19 +01:00
jirik bae5f21bb4 Respect current grouping of osm_transportation_name_network 2018-11-07 11:08:06 +01:00
Joakim Kronqvist 7ec9e49a44 Only group transportation name based on language tags 2018-11-07 11:08:06 +01:00
Joakim Kronqvist 08df7abf27 Use osml10n functions for transportation name tags 2018-11-07 11:08:06 +01:00
jirik ccf8ee6dfa Add park labels layer 2018-11-05 16:40:32 +01:00
nlehuby 7e50695631 Add layer, level, and indoor tags for poi 2018-11-05 10:08:31 +01:00
Eric Theise 7e625de3e1 Correct etldoc mapping. 2018-11-05 10:01:06 +01:00
jirik ff99a02aae Treat buildings with fault heights 2018-06-13 14:51:25 +02:00
nlehuby b28ea79d4c add aquarium to the poi layer 2018-06-11 11:18:16 +02:00
jirik dba6e7025f Improve doc, update diagrams 2018-04-27 13:41:32 +02:00
jirik 26cc6dbbea Remove borders of leased areas at Z4 2018-04-27 12:44:04 +02:00
jirik 77c1c038d5 Remove borders of leased areas
Fix #416. Affects Baykonur and Guantanamo.
2018-04-16 09:18:13 +02:00
jirik 1093dcece8 Improve class of water polygon on Z6-Z10 2018-04-13 15:58:22 +02:00
jirik 24caa53b92 Import more ocean and sea labels
Related to #434
2018-04-11 17:16:19 +02:00
Jiri Kozel fce0ba1ce1
Add layer attribute to transportation (#441)
Fix #280
2018-04-11 15:28:23 +02:00
Jiri Kozel e6efe363ed
Add polygon bridges to transportation (#437) 2018-04-04 10:39:46 +02:00
nlehuby f93c175e47 Remove duplicates on shop and art POI class 2018-03-29 16:15:27 +02:00
Jiri Kozel 8ac85dced6
Remove park and cemetery duplicates from POI rank
Based on f3e2d7f163 (commitcomment-28180665)
2018-03-26 14:34:37 +02:00
Han Chao 974e85ff78 add class and subclass values to documentation 2018-02-01 09:25:38 +01:00
hanchao 51d4558ea8 add sand and beach 2018-02-01 09:25:38 +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 d48b623eda
POI: remove doctors from hospital class
Related comment: https://github.com/openmaptiles/openmaptiles/issues/387#issuecomment-358273945
2018-01-29 18:38:49 +01:00
Frédéric Rodrigo 89ee0de23b Waterway: Rename function to waterway_brunnel, Remove ford. 2018-01-16 11:45:49 +01:00
Bob Wallis c246b3c4df Add brunnel to waterway layer 2018-01-16 11:45:49 +01:00
Frédéric Rodrigo b211beafe2 Use direction as type for oneway, support oneway-opposite #376 2018-01-16 10:29:07 +01:00
jirik a6ccbfd876 Update POI diagram 2018-01-12 17:41:57 +01:00
Noémie 5c740f8570 Add a few missing POIs (#391)
* Add a few missing POIs

* hackerspace
* escape room
* subway and station entrance
* frozen food (shop)
2018-01-12 15:56:06 +01:00
Noémie Lehuby 761d8eb889 update doc
to add religion as subclass on poi layer
2018-01-12 15:47:31 +01:00
nlehuby 225a0f6fd9 add religion as subclass for place_of_worship 2018-01-12 15:47:31 +01:00
jirik 2f151a833d Update landuse documentation & diagram 2018-01-12 15:43:33 +01:00
Noémie Lehuby 050051bce6 Add bus_station and zoo in landuse 2018-01-12 15:40:54 +01:00
nlehuby 940f70a415 Handle theme_park as a landuse 2018-01-12 15:40:54 +01:00
jirik 294d7d22c3 Update boundary diagrams & readme 2018-01-12 15:17:59 +01:00
Adrien Matissart 6521981af8 Remove unused osm_boundary_linestring and boundary mapping 2018-01-12 15:11:14 +01:00
Adrien Matissart 756a848a5d Remove unused boundary generalized_tables 2018-01-12 15:11:14 +01:00
jirik 3cee3c7f80 Update diagrams 2017-12-04 12:06:28 +01:00
jirik 919686b6c9 Fix missing cities with diacritics at Z6 2017-12-04 11:02:04 +01:00
jirik db60ae7f40 Fix missing state and province boundaries at Z4 and Z5 2017-12-04 11:00:53 +01:00
jirik 35786ee64c Add osm_id as key of water_name 2017-12-04 10:53:26 +01:00
jirik afa85ea37e Add osm_id as key of POI 2017-12-04 10:53:26 +01:00
jirik a380f358fe Add osm_id as key of places 2017-12-04 10:53:26 +01:00
jirik 63f6915fab Add missing transportation_name features
Fix #372
2017-11-25 11:10:01 +01:00
jirik 455f36e634 Fix highway_class function 2017-11-20 18:59:45 +01:00
jirik d2a81bd1da Show more (and do not remove) seas with increasing zoom level
Fix #275
2017-11-20 17:26:55 +01:00
jirik 9c7a3aeb36 Add ISO 3166-1 alpha-2 country codes as iso_a2 attribute
Fix #306
2017-11-20 15:49:08 +01:00
jirik 2097b2c31b Compute rank also for tiny countries 2017-11-20 15:49:08 +01:00
jirik b88b34c98d Set rank of countries with limited recognition to 6 2017-11-20 15:49:08 +01:00
jirik 30539e78d1 Fix rank of archipelago countries
Fix #342
2017-11-20 10:51:32 +01:00
antoine-de 2ddbc8b1c1 update the layers from natural earth latest data
Natural earth has released new data and now some sql query are invalid

should fix #352

I don't really know how natural earth data versioning is maintained
though 😕
2017-11-17 13:55:02 +01:00
jirik 3925c1b194 Group important waterways by language tags only 2017-11-16 11:43:36 +01:00
jirik 741be6d921 Import additional names from Wikidata 2017-11-16 09:03:41 +01:00
jirik d3a5985343 Remove waterway's name.sql because of duplicity 2017-11-16 09:03:41 +01:00
Jiri Kozel 1a324aaf22
Do not load all tags, use later imposm3 (#356)
Fix #266 #267
2017-11-10 15:25:23 +01:00
jirik 543b0315b2 Add agg_stop indicator to transit stations (POI) 2017-11-09 11:46:32 +01:00
jirik 1c2ce970fd Distinguish type of information point (POI) 2017-11-09 11:46:32 +01:00
jirik d300dbca48 Distinguish aerial way stations from other stations (POI) 2017-11-09 11:46:32 +01:00
jirik b633626335 Add castles and ruins to POI 2017-11-09 11:46:32 +01:00
jirik cf79b928d0 Publish funicular stations as halts 2017-11-09 11:46:32 +01:00
jirik 21f5f1717b Show ferry terminals sooner 2017-11-09 11:46:32 +01:00
jirik a0a6e2d438 Show railway halts sooner 2017-11-09 11:46:32 +01:00
jirik 9cec6e1a10 Show railway stations sooner 2017-11-09 11:46:32 +01:00
jirik e95f2d476b Add layer, level, and indoor tags for footways and steps 2017-11-09 10:13:53 +01:00
jirik 0b94704436 Add subclass of paths in transportation_name 2017-11-09 10:13:53 +01:00
jirik 14f6729f5c Update diagrams of transportation_name 2017-11-09 10:13:53 +01:00
jirik 1f129c4184 Add subclass of paths in transportation 2017-11-09 08:51:14 +01:00
jirik 7792b81a02 Add more polygon paths to transportation 2017-11-09 08:51:14 +01:00
jirik 1cdf726384 Add platforms to transportation as paths 2017-11-09 08:51:14 +01:00
jirik 68785c1a21 Add shipping ways (ferries) to transportation 2017-11-08 16:28:30 +01:00
jirik 634de5e474 Add aerialways (cable cars) to transportation 2017-11-08 16:28:30 +01:00
jirik 137667b235 Create subclass attribute of railways 2017-11-08 16:00:13 +01:00
jirik 98aba61b05 Show narrow gauges sooner 2017-11-08 16:00:13 +01:00
jirik ed90400fef Show rails and light rails sooner 2017-11-08 16:00:13 +01:00
jirik 8e84f419d7 Add pitches and playgrounds to landuse 2017-11-08 14:05:34 +01:00
jirik 9d803af8e3 Update landcover's documentation 2017-11-08 13:58:01 +01:00
jirik e1ab498936 Add gardens to landcover 2017-11-08 13:47:11 +01:00
Jiri Kozel 018b77ac11 Update aeroway's readme 2017-11-08 13:33:17 +01:00
jirik daeb8c6605 Show aeroways sooner 2017-11-08 13:33:17 +01:00
jirik cf0c78305b Add area:aeroway features to aeroways 2017-11-08 13:33:17 +01:00
jirik db5cd682ea Add aeroway_label layer 2017-11-07 18:06:47 +01:00
Eduard Popov 15cb940872 Typo in boundaries description 2017-11-07 14:01:28 +01:00
Jiri Kozel a5cf15bdbd Consider also buildings with levels=null 2017-10-31 09:52:45 +01:00
jirik 1195126c90 Fix #315: Prevent OSM valndalism on buildings 2017-10-31 09:52:45 +01:00
nlehuby 183f730814 Fix class for amenity = doctors
and add amenity =clinic
2017-10-30 16:13:16 +01:00
Luc Claustres e8dd584f22 Added the OSM [`ref`](http://wiki.openstreetmap.org/wiki/Key:ref) tag of the runway/taxiway so that they can be displayed in styles. 2017-09-26 11:56:48 +02:00
jirik 893918761c Fix SQL update logic (patch from 3.6.2) 2017-08-01 09:12:15 +02:00
jirik 3bb8a4bdde Fix #269 ETL diagram 2017-07-20 19:41:56 +02:00
stirringhalo 15ff070abd Add glaciers at higher zooms (#287)
* Add glaciers

* Add glacier to subclass
2017-06-25 22:10:09 -04:00
stirringhalo 2c309d7632 Add bare_rock and scree to sql 2017-06-25 18:56:54 -04:00
stirringhalo 112cf2b96b Add bare_rock scree 2017-06-25 16:50:20 -04:00
stirringhalo 7ea8d1a018 Merge pull request #283 from openmaptiles/issue_210
Issue 210 - Add more detail at z7
2017-06-18 20:28:34 -04:00
stirringhalo 237278eb84 Import street and associatedStreet to get the houses (#284)
* Import street and associatedStreet to get the houses

* Some artifcating on the associatedstreet and street member buildings
2017-06-18 10:16:57 -04:00
stirringhalo f6448f2501 Add landcover z7 2017-06-16 21:55:32 -04:00
stirringhalo d166baf2d2 Increase city density 2017-06-16 21:55:08 -04:00
jirik 1b01399e1d Update diagrams 2017-06-12 18:13:09 +02:00
Jiri Kozel 51bc8fad35 Multilinguality (#279)
Improve multilinguality: names in 57 languages, name:latin, name:nonlatin, name_int. Fixes #211 #252 #80.

See #279 for more info.
2017-06-12 17:53:47 +02:00
Jiri Kozel 881e1c0881 Show railways one level sooner (#270)
* Adjust st_length filter based on zres in transportation layer

Probably related to #258

* Adjust building tolerance

* Show railways one level sooner
2017-05-31 15:28:06 +02:00
Jiri Kozel 6339fbb8f0 Adjust building tolerance (#264)
* Adjust st_length filter based on zres in transportation layer

Probably related to #258

* Adjust building tolerance
2017-05-29 15:08:10 +02: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
Jiri Kozel 9584f69035 Rail stations 2 (#255)
* rail stations

* Create 'railway' POI class with 'station' and 'halt' subclasses

* Introduce subway stops as POI

* Revert unwanted changes in .env and openmaptiles.yaml

* Remove halt key from documentation

* Distinguish aeroway and railway station, add tram_stop
2017-05-23 17:06:23 +02:00
Jiri Kozel 8a44e72328 Adjust st_length filter based on zres in transportation layer (#259)
Probably related to #258
2017-05-23 16:54:59 +02:00
Jiri Kozel 555825486f Adjust tolerance for transportation and water (#257) 2017-05-23 11:55:45 +02:00
Jiri Kozel a9b9c79a4b Fix #250 for zoom 9+ (#256) 2017-05-23 11:11:19 +02:00
jirik 4037256d43 Eliminate features with area<4px for aeroways, parks and water 2017-05-22 19:03:44 +02:00
jirik a68ccc42ee Adjust zres values for buildings,landcover and landuse
Decrease size of Belgium Z0-12 mbtiles from 63 MB to 38 MB
2017-05-22 19:03:44 +02:00
Eduard Popov 0a26d2be99 Housenumber and POI calc optimisation (#247)
Using NPoints(Centroid) = NPoints, thanks edpop
2017-05-21 21:01:31 -04:00
stirringhalo 90690d2a39 Switch to ZRes (#214) 2017-04-25 18:03:29 -04:00
stirringhalo 0ccd2f8673 Add primary to zoom 7, and fix index for gen3 & 6 (#213) 2017-04-16 10:33:19 -04:00
stirringhalo 05e1658926 osm_ocean_polygon_gen4 (#207)
*  osm_ocean_polygon_gen4

* Fix etl doc

* Move to later import-water version
2017-04-13 18:08:57 -04:00
jirik f829f6cd19 Update diagrams of transportation and transportation_name 2017-03-31 13:48:57 +02:00
jirik d71535287f Remove unused osm_highway_linestring_gen3+ -> faster import-osm 2017-03-31 13:48:57 +02:00
MartinMikita 782c9e0ead Fixed index and typo in doc. 2017-03-31 13:48:57 +02:00
MartinMikita 6bff55ae03 Added merged simplified transportation for zoom 8 2017-03-31 13:48:57 +02:00
MartinMikita 9781a0e671 Added merged simplified transportation for zoom 7 2017-03-31 13:48:57 +02:00
MartinMikita 52933f5cfc Separated zoom level 5 and 6, with different simplify tolerance and length of geometry. 2017-03-31 13:48:57 +02:00
jirik bbe4e67c14 Decrease length limit of roads at zoom level 4 -- 6 2017-03-31 13:48:57 +02:00
jirik c6eed77e42 Remove memeber_osm_ids attribute from transportation and transportation_name
Too big DB during import-sql step
2017-03-31 13:48:57 +02:00
MartinMikita a322851274 Added partial index to speed up creating materialized view in waterway merge_waterway SQL. 2017-03-31 13:48:57 +02:00
MartinMikita 13e8625862 Added partial index to speed up creating materialized views in transportation_name merge_highways SQL. 2017-03-31 13:48:57 +02:00
MartinMikita 2996987e70 Added few partial index to speed up creating materialized views in transportation merge_highways. 2017-03-31 13:48:57 +02:00
jirik cfc65c6884 Generalize roads more at zoom levels 4 -- 6 2017-03-31 13:48:57 +02:00
jirik 74d8a2da1f Improve doc of mountain_peak and water_name 2017-03-27 08:20:39 +02:00
Jiri Kozel 3e6495a134 Import both area and webmerc_area, use area for filtering (#198) 2017-03-24 16:46:21 +01:00
jirik cf58a1eef6 Improve PR #183 2017-03-21 15:53:41 +01:00
jirik 380da2cae7 Merge remote-tracking branch 'upstream/master' into lincomatic-master 2017-03-21 15:41:01 +01:00
jirik 75f76ab935 Increase buffer of place and water_name to 256 2017-03-21 15:30:44 +01:00
jirik 038d4d5224 Add name_de to documentation 2017-03-17 13:15:40 +01:00
jirik 4c6d30066d Add German names (name_de), unify English names (name_en) 2017-03-17 12:56:54 +01:00
jirik 24ed38ba14 Improve SQL query for moutain peaks 2017-03-17 10:27:48 +01:00
jirik fe6cde9eaf Merge remote-tracking branch 'upstream/master' into shields 2017-03-16 12:35:59 +01:00
Jiri Kozel 2091f9bf2a Merge pull request #187 from klokantech/water_bodies
Fix openmaptiles/openmaptiles#78, Switch to OSM water bodies in z6
2017-03-16 08:49:09 +01:00
jirik 514207bfae Fix typo in water doc, update diagram 2017-03-16 08:45:58 +01:00
Jiri Kozel 9816dd7b31 Merge pull request #188 from klokantech/forests
Update diagrams for landcover
2017-03-15 20:35:37 +01:00
jirik 00dc515142 Update diagrams for landcover 2017-03-15 17:35:37 +01:00
jirik 0b3177de00 Fix openmaptiles/openmaptiles#78, Switch to OSM water bodies in z6 2017-03-15 17:29:06 +01:00
jirik cc83f86c2d Merge branch 'master' of https://github.com/lincomatic/openmaptiles into lincomatic-master 2017-03-15 15:52:44 +01:00
Jiri Kozel 9c2b6e2a93 Merge pull request #186 from klokantech/forests
Add missing woods, fix openmaptiles/openmaptiles#167
2017-03-15 15:38:13 +01:00
jirik 70170b2e54 Add missing woods, fix openmaptiles/openmaptiles#167 2017-03-15 15:35:31 +01:00
jirik 15d17c4293 Merge remote-tracking branch 'upstream/master' into shields 2017-03-15 14:02:04 +01:00
Jiri Kozel 4fc61b6e97 Fix diagrams in mountain_peak's README 2017-03-15 14:01:15 +01:00
jirik 8ae45dd777 Update diagrams of transportation 2017-03-15 13:55:18 +01:00
jirik fad3cab2cd Adjust zoom levels of transportation_name, update diagrams 2017-03-15 13:53:09 +01:00
jirik 665f8ac9ca Merge remote-tracking branch 'upstream/master' into shields 2017-03-15 11:25:57 +01:00
jirik c026da1324 Change default value of transportation_name's network attribute 2017-03-15 11:10:06 +01:00
jirik 6b523a5e0a Adjust zoom levels of transportation_name layer 2017-03-15 11:08:26 +01:00
jirik ca1b9a95a8 Adjust zoom levels of transportation layer, stop using ne_10m_roads source 2017-03-15 11:05:16 +01:00
jirik 4dcbb40ef1 Add gb-motorway and gb-trunk network types 2017-03-14 13:43:14 +01:00
lincomatic afcdd3587c fix bug: runway & taxiway didn't show up bec should be linestring, not polygon 2017-03-09 20:03:37 -08:00
jirik 7459cbe9c3 Add ca-transcanada network type 2017-03-03 14:05:39 +01:00
jirik 3af0204564 Fix order of commands in network_type.sql in transportation_name 2017-03-03 09:15:58 +01:00
jirik 5568d3ba44 Add default value to network attribute of layer_transportation_name 2017-03-01 15:59:10 +01:00
jirik 5db1b0e80e Add network type to transportation_name layer, adjust 'ref' attribute 2017-03-01 14:55:02 +01:00
jirik 3fa68ebef1 Remove empty string from network_type 2017-03-01 13:08:24 +01:00
jirik fdfeb1aa24 Add network_type to osm_route_member 2017-03-01 10:50:07 +01:00
jirik 5bebe680fc Improve doc of moutain peaks 2017-03-01 08:31:30 +01:00
jirik 4fd4bfb2a0 Add attribute into osm_transportation_name_linestring 2017-02-28 16:25:19 +01:00
jirik fa34831a54 Add attribute into osm_transportation_name_linestring 2017-02-28 16:23:47 +01:00
jirik addaf4bff0 Clarify data types of mountain_peak 2017-02-28 15:41:14 +01:00
jirik 98f4a409a7 Add mountain_peak layer 2017-02-28 10:54:51 +01:00
stirringhalo e962ef1bb9 Cleanup mapping 2017-01-30 10:02:00 -05:00
stirringhalo 199095a2ba Major breakthrough, just some artifacting to resolve 2017-01-28 10:55:08 -05:00
Lukas Martinelli f361d3d9fd Add better title to layer READMEs 2017-01-05 17:31:21 +01:00
Lukas Martinelli 8a9b1246d3 Link to openmaptiles.org for layer doc 2017-01-05 17:29:18 +01:00
Lukas Martinelli 6ff8fd7c20 Fix docs in landuse, place and poi 2017-01-05 16:46:11 +01:00
Lukas Martinelli 5d1d1f1dc7 Make zoom level doc of transportation less strict 2017-01-05 16:40:37 +01:00