Add rail layer

This commit is contained in:
lukasmartinelli
2016-10-09 19:10:54 +02:00
parent e792b8486c
commit 85e2ce0a83
3 changed files with 42 additions and 0 deletions

View File

@@ -78,6 +78,29 @@ Layer:
properties:
"buffer-size": 4
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: rail
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_rail(!bbox!, z(!scale_denominator!))) AS t
type: postgis
user: osm
description: Buildings
fields:
brunnel: String
class: String
properties:
"buffer-size": 4
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: ice
Datasource:
dbname: osm