Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add highway links

  • Loading branch information...
commit ae6c69578983c65967f6d57db22afecda352609b 1 parent 8f35501
@ansis ansis authored
View
7 css/feature-icons.css
@@ -1,4 +1,4 @@
-/* glue: 0.3 hash: a9f9bb5536 */
+/* glue: 0.3 hash: 302da125e7 */
.feature-waterway-stream,
.feature-waterway-river,
.feature-waterway-ditch,
@@ -16,6 +16,7 @@
.feature-highway-trunk-link,
.feature-highway-track,
.feature-highway-tertiary,
+.feature-highway-tertiary-link,
.feature-highway-steps,
.feature-highway-service,
.feature-highway-secondary,
@@ -306,8 +307,8 @@
.feature-highway-trunk{background-position:-60px -180px;width:60px;height:60px;}
.feature-highway-trunk-link{background-position:-120px -180px;width:60px;height:60px;}
.feature-highway-track{background-position:-180px -180px;width:60px;height:60px;}
-.feature-highway-tertiary:link{background-position:-240px 0px;width:60px;height:60px;}
-.feature-highway-tertiary{background-position:-240px -60px;width:60px;height:60px;}
+.feature-highway-tertiary{background-position:-240px 0px;width:60px;height:60px;}
+.feature-highway-tertiary-link{background-position:-240px -60px;width:60px;height:60px;}
.feature-highway-steps{background-position:-240px -120px;width:60px;height:60px;}
.feature-highway-service{background-position:-240px -180px;width:60px;height:60px;}
.feature-highway-secondary{background-position:0px -240px;width:60px;height:60px;}
View
6 data/presets/fields.json
@@ -223,6 +223,12 @@
"type": "check",
"label": "One Way"
},
+ "oneway_yes": {
+ "key": "oneway",
+ "type": "check",
+ "default": "yes",
+ "label": "One Way"
+ },
"opening_hours": {
"key": "opening_hours",
"type": "text",
View
6 data/presets/fields/oneway_yes.json
@@ -0,0 +1,6 @@
+{
+ "key": "oneway",
+ "type": "check",
+ "default": "yes",
+ "label": "One Way"
+}
View
117 data/presets/presets.json
@@ -1185,6 +1185,29 @@
"terms": [],
"name": "Motorway"
},
+ "highway/motorway_link": {
+ "icon": "highway-motorway-link",
+ "fields": [
+ "oneway_yes",
+ "structure",
+ "access",
+ "maxspeed",
+ "surface",
+ "ref"
+ ],
+ "geometry": [
+ "line"
+ ],
+ "tags": {
+ "highway": "motorway_link"
+ },
+ "terms": [
+ "ramp",
+ "on ramp",
+ "off ramp"
+ ],
+ "name": "Motorway Link"
+ },
"highway/path": {
"icon": "highway-footway",
"fields": [
@@ -1222,6 +1245,29 @@
"terms": [],
"name": "Primary Road"
},
+ "highway/primary_link": {
+ "icon": "highway-primary-link",
+ "fields": [
+ "oneway",
+ "structure",
+ "access",
+ "maxspeed",
+ "surface",
+ "ref"
+ ],
+ "geometry": [
+ "line"
+ ],
+ "tags": {
+ "highway": "primary_link"
+ },
+ "terms": [
+ "ramp",
+ "on ramp",
+ "off ramp"
+ ],
+ "name": "Primary Link"
+ },
"highway/residential": {
"icon": "highway-residential",
"fields": [
@@ -1259,6 +1305,29 @@
"terms": [],
"name": "Secondary Road"
},
+ "highway/secondary_link": {
+ "icon": "highway-secondary-link",
+ "fields": [
+ "oneway",
+ "structure",
+ "access",
+ "maxspeed",
+ "surface",
+ "ref"
+ ],
+ "geometry": [
+ "line"
+ ],
+ "tags": {
+ "highway": "secondary_link"
+ },
+ "terms": [
+ "ramp",
+ "on ramp",
+ "off ramp"
+ ],
+ "name": "Secondary Link"
+ },
"highway/service": {
"icon": "highway-service",
"fields": [
@@ -1315,6 +1384,29 @@
"terms": [],
"name": "Tertiary Road"
},
+ "highway/tertiary_link": {
+ "icon": "highway-tertiary-link",
+ "fields": [
+ "oneway",
+ "structure",
+ "access",
+ "maxspeed",
+ "surface",
+ "ref"
+ ],
+ "geometry": [
+ "line"
+ ],
+ "tags": {
+ "highway": "tertiary_link"
+ },
+ "terms": [
+ "ramp",
+ "on ramp",
+ "off ramp"
+ ],
+ "name": "Tertiary Link"
+ },
"highway/track": {
"icon": "highway-track",
"fields": [
@@ -1366,6 +1458,29 @@
"terms": [],
"name": "Trunk Road"
},
+ "highway/trunk_link": {
+ "icon": "highway-trunk-link",
+ "fields": [
+ "oneway",
+ "structure",
+ "access",
+ "maxspeed",
+ "surface",
+ "ref"
+ ],
+ "geometry": [
+ "line"
+ ],
+ "tags": {
+ "highway": "trunk_link"
+ },
+ "terms": [
+ "ramp",
+ "on ramp",
+ "off ramp"
+ ],
+ "name": "Trunk Link"
+ },
"highway/turning_circle": {
"icon": "circle",
"geometry": [
@@ -2473,7 +2588,7 @@
"name": "Rail"
},
"railway/subway": {
- "icon": "railway-rail",
+ "icon": "railway-subway",
"fields": [
"structure"
],
View
19 data/presets/presets/highway/motorway_link.json
@@ -0,0 +1,19 @@
+{
+ "icon": "highway-motorway-link",
+ "fields": [
+ "oneway_yes",
+ "structure",
+ "access",
+ "maxspeed",
+ "surface",
+ "ref"
+ ],
+ "geometry": [
+ "line"
+ ],
+ "tags": {
+ "highway": "motorway_link"
+ },
+ "terms": ["ramp", "on ramp", "off ramp"],
+ "name": "Motorway Link"
+}
View
19 data/presets/presets/highway/primary_link.json
@@ -0,0 +1,19 @@
+{
+ "icon": "highway-primary-link",
+ "fields": [
+ "oneway",
+ "structure",
+ "access",
+ "maxspeed",
+ "surface",
+ "ref"
+ ],
+ "geometry": [
+ "line"
+ ],
+ "tags": {
+ "highway": "primary_link"
+ },
+ "terms": ["ramp", "on ramp", "off ramp"],
+ "name": "Primary Link"
+}
View
19 data/presets/presets/highway/secondary_link.json
@@ -0,0 +1,19 @@
+{
+ "icon": "highway-secondary-link",
+ "fields": [
+ "oneway",
+ "structure",
+ "access",
+ "maxspeed",
+ "surface",
+ "ref"
+ ],
+ "geometry": [
+ "line"
+ ],
+ "tags": {
+ "highway": "secondary_link"
+ },
+ "terms": ["ramp", "on ramp", "off ramp"],
+ "name": "Secondary Link"
+}
View
19 data/presets/presets/highway/tertiary_link.json
@@ -0,0 +1,19 @@
+{
+ "icon": "highway-tertiary-link",
+ "fields": [
+ "oneway",
+ "structure",
+ "access",
+ "maxspeed",
+ "surface",
+ "ref"
+ ],
+ "geometry": [
+ "line"
+ ],
+ "tags": {
+ "highway": "tertiary_link"
+ },
+ "terms": ["ramp", "on ramp", "off ramp"],
+ "name": "Tertiary Link"
+}
View
19 data/presets/presets/highway/trunk_link.json
@@ -0,0 +1,19 @@
+{
+ "icon": "highway-trunk-link",
+ "fields": [
+ "oneway",
+ "structure",
+ "access",
+ "maxspeed",
+ "surface",
+ "ref"
+ ],
+ "geometry": [
+ "line"
+ ],
+ "tags": {
+ "highway": "trunk_link"
+ },
+ "terms": ["ramp", "on ramp", "off ramp"],
+ "name": "Trunk Link"
+}
View
BIN  img/feature-icons.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2  img/source/line-presets.svg
@@ -2788,7 +2788,7 @@
</g>
</g>
<g
- id="highway-tertiary_link"
+ id="highway-tertiary-link"
inkscape:label="#g6209"
transform="translate(100,-120)">
<rect
Please sign in to comment.
Something went wrong with that request. Please try again.