Render outline for no-data on date
This commit is contained in:
parent
0dcfdeaad6
commit
6402ac6fbe
@ -130,8 +130,6 @@ app.get('/date_year/:z/:x/:y.png', function(req, res) {
|
||||
buildings as b
|
||||
WHERE
|
||||
g.geometry_id = b.geometry_id
|
||||
AND
|
||||
b.building_doc ? 'date_year'
|
||||
) as outline`
|
||||
const style_def = ['date_year']
|
||||
render_tile(bbox, table_def, style_def, function(err, im) {
|
||||
|
@ -112,5 +112,10 @@
|
||||
<PolygonSymbolizer fill="#4c0073" />
|
||||
<LineSymbolizer stroke="white" stroke-width="0.3" />
|
||||
</Rule>
|
||||
<Rule>
|
||||
<ElseFilter />
|
||||
<PolygonSymbolizer fill="#00000000" />
|
||||
<LineSymbolizer stroke="black" stroke-width="0.3" />
|
||||
</Rule>
|
||||
</Style>
|
||||
</Map>
|
||||
|
Loading…
Reference in New Issue
Block a user