Skip to content

Commit

Permalink
Revert "Convert semi-colon separated house numbers to a range (openma…
Browse files Browse the repository at this point in the history
…ptiles#1562)"

This reverts commit a7a50d8.
  • Loading branch information
kukulich committed Jan 29, 2024
1 parent aa226e0 commit 5e24202
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 24 deletions.
2 changes: 1 addition & 1 deletion layers/housenumber/housenumber.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ SELECT
-- etldoc: osm_housenumber_point -> layer_housenumber:z14_
osm_id,
geometry,
display_housenumber(housenumber)
housenumber
FROM (
SELECT
osm_id,
Expand Down
4 changes: 1 addition & 3 deletions layers/housenumber/housenumber.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ layer:
buffer_size: 8
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:
housenumber: Value of the [`addr:housenumber`](http://wiki.openstreetmap.org/wiki/Key:addr) tag.
If there are multiple values separated by semi-colons, the first and last value separated by a dash.
housenumber: Value of the [`addr:housenumber`](http://wiki.openstreetmap.org/wiki/Key:addr) tag.
datasource:
geometry_field: geometry
srid: 900913
query: (SELECT geometry, housenumber FROM layer_housenumber(!bbox!, z(!scale_denominator!))) AS t
schema:
- ./housenumber_display.sql
- ./housenumber_centroid.sql
- ./housenumber.sql
datasources:
Expand Down
20 changes: 0 additions & 20 deletions layers/housenumber/housenumber_display.sql

This file was deleted.

0 comments on commit 5e24202

Please sign in to comment.