-
Notifications
You must be signed in to change notification settings - Fork 819
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
Also render junction names on areas #1271
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1294,9 +1294,13 @@ Layer: | |
Datasource: | ||
<<: *osm2pgsql | ||
table: |2- | ||
(SELECT way, highway, junction, ref, name | ||
FROM planet_osm_point | ||
WHERE highway = 'motorway_junction' OR highway = 'traffic_signals' OR junction = 'yes' | ||
( SELECT way, highway, junction, ref, name | ||
FROM planet_osm_point | ||
WHERE highway = 'motorway_junction' OR highway = 'traffic_signals' OR junction = 'yes' | ||
UNION | ||
SELECT ST_BuildArea(way), highway, junction, ref, name | ||
FROM planet_osm_line | ||
WHERE highway = 'motorway_junction' OR highway = 'traffic_signals' OR junction = 'yes' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if using this you need a you need a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe it’s better not to add highway=motorway_junction and highway=traffic_signals here. Both are only defined for nodes, not for areas. (Or is there a technical reason to keep this?) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No technical reason, we could drop it. Are you sure highway=traffic_signals is not defined on junctions, with the recent changes to the tagging scheme? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. Finally it was only about junction=yes, leaving complex traffic signal systems for later. (Maybe I’ll try to re-launch discussion about the traffic signal systems, but I would not wait for this. Currently, I would drop on areas both, highway=motorway_junction and highway=traffic_signals) |
||
) AS junctions | ||
advanced: {} | ||
- id: "roads-text-ref" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two stray spaces before the
SELECT