Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add osmc:symbol #2091

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions data/functions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,16 @@ FROM (
unnest(tags) AS unnested
FROM (
SELECT
mz_modify_network(hstore(tags))->ARRAY['route','network','ref'] AS tags
mz_modify_network(hstore(tags))->ARRAY['route','network','ref','osmc:symbol'] AS tags
FROM
planet_osm_rels
WHERE
parts && ARRAY[way_id] AND
parts[way_off+1:rel_off] && ARRAY[way_id] AND
hstore(tags) ? 'route' AND
(hstore(tags) ? 'network' OR
hstore(tags) ? 'ref')
hstore(tags) ? 'ref') AND
hstore(tags) ? 'osmc:symbol'
) inner1
) inner2;
$$ LANGUAGE sql STABLE;
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Shapely==1.6.2.post1
simplejson==3.12.0
six==1.11.0
StreetNames==0.1.5
git+https://github.com/tilezen/tilequeue@master#egg=tilequeue
git+https://github.com/tilezen/tilequeue@v2.4.1-final#egg=tilequeue
git+https://github.com/tilezen/tileserver@master#egg=tileserver
tqdm==4.31.1
urllib3==1.25.11
Expand Down
Loading