Move to new modular layer structure

This commit is contained in:
lukasmartinelli
2016-10-09 21:27:09 +02:00
parent ad5d53ad19
commit 480d720585
21 changed files with 92 additions and 251 deletions

12
layers/road/road.yaml Normal file
View File

@@ -0,0 +1,12 @@
layer:
id: "road"
description: Roads
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
fields:
class: String
datasource:
srid: 900913
query: (SELECT * FROM layer_road(!bbox!, z(!scale_denominator!))) AS t
schema:
- ./road.sql