Add countries based on Natural Earth tiles

This commit is contained in:
lukasmartinelli
2016-10-08 17:28:40 +02:00
parent bed74283df
commit 0d38b8b3db
2 changed files with 71 additions and 0 deletions

View File

@@ -170,6 +170,31 @@ Layer:
properties:
"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
- id: country
Datasource:
dbname: osm
extent: -20037508.34,-20037508.34,20037508.34,20037508.34
geometry_field: geom
geometry_table: ''
host: db
key_field: ''
key_field_as_attribute: ''
max_size: 512
password: osm
port: 5432
srid: 900913
table: (SELECT * FROM layer_country(!bbox!, z(!scale_denominator!))) AS t
type: postgis
user: osm
description: Buildings
fields:
abbrev: String
labelrank: Number
name: String
scalerank: Number
properties:
"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
maxzoom: 14
minzoom: 0
name: OSM2VectorTiles v3.0