kopia lustrzana https://github.com/openmaptiles/openmaptiles
Improve doc of moutain peaks
rodzic
addaf4bff0
commit
5bebe680fc
|
@ -0,0 +1,7 @@
|
|||
## Mountain Peaks
|
||||
|
||||
### Mapping Diagram
|
||||
![Mapping diagram for mountain peaks](etl_diagram.png?raw=true)
|
||||
|
||||
### ETL diagram
|
||||
![ETL diagram for mountain peaks](mapping_diagram.png?raw=true)
|
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 13 KiB |
|
@ -1,6 +1,10 @@
|
|||
|
||||
-- etldoc: layer_mountain_peak[shape=record fillcolor=lightpink,
|
||||
-- etldoc: style="rounded,filled", label="layer_mountain_peak | <z7_> z7+" ] ;
|
||||
|
||||
CREATE OR REPLACE FUNCTION layer_mountain_peak(bbox geometry, zoom_level integer, pixel_width numeric)
|
||||
RETURNS TABLE(osm_id bigint, geometry geometry, name text, name_en text, ele int, ele_ft int, "rank" int) AS $$
|
||||
-- etldoc: osm_housenumber_point -> layer_housenumber:z14_
|
||||
-- etldoc: osm_peak_point -> layer_mountain_peak:z7_
|
||||
SELECT osm_id, geometry, name, name_en, ele::int, ele_ft::int, rank::int
|
||||
FROM (
|
||||
SELECT osm_id, geometry, name, name_en,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
tables:
|
||||
|
||||
# etldoc: imposm3 -> osm_housenumber_point
|
||||
# etldoc: imposm3 -> osm_peak_point
|
||||
peak_point:
|
||||
type: point
|
||||
fields:
|
||||
|
|
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 3.0 KiB |
|
@ -1,8 +1,7 @@
|
|||
layer:
|
||||
id: "mountain_peak"
|
||||
description: |
|
||||
[Peaks](http://wiki.openstreetmap.org/wiki/Tag:natural%3Dpeak)
|
||||
or [volcanoes](http://wiki.openstreetmap.org/wiki/Tag:natural%3Dvolcano)
|
||||
[Natural peaks](http://wiki.openstreetmap.org/wiki/Tag:natural%3Dpeak)
|
||||
buffer_size: 64
|
||||
srs: +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over
|
||||
fields:
|
||||
|
|
Ładowanie…
Reference in New Issue