|
|
(48 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| __NOCACHE__ | | __NOCACHE__ |
| {{LocMap}} | | {{LocMap}} |
− | {{LegMap|center=Irun}} | + | {{LegMap}} |
| =Loc= | | =Loc= |
| {{Loc | | {{Loc |
Line 55: |
Line 55: |
| [[Category:Spain2025]] | | [[Category:Spain2025]] |
| = Queries = | | = Queries = |
− | {{#ask: [[Leg from::+]] |?Leg from |?Leg to |format=table}} | + | {{#ask:[[-Has subobject::{{FULLPAGENAME}}]] [[Leg from::+]][[Leg to::+]] |
− | {{#ask: [[Leg from::+]] |?Leg from |?Leg to |mainlabel=- |format=plain | headers=hide |sep=;}} | + | |mainlabel=- |
| + | |?Leg from#coordinates=from |
| + | |?Leg to#coordinates=to |
| + | |format=template |
| + | |template=LegLine |
| + | |sort=Leg wp_num |
| + | |named args=yes |
| + | |sep=: |
| + | }} |
| + | {{#ask:[[-Has subobject::{{FULLPAGENAME}}]] [[Leg from::+]][[Leg to::+]] |
| + | |mainlabel=- |
| + | |?Leg from#coordinates=from |
| + | |?Leg to#coordinates=to |
| + | |?Leg wp_num |
| + | |format=table |
| + | |template=LegLine |
| + | |sort=Leg wp_num |
| + | |named args=yes |
| + | |sep=: |
| + | }} |
| | | |
− | {{#ask: [[Loc id::val1]] |?Loc latlon #| format=plain | mainlabel=- | headers=hide }}
| |
− | {{#ask: [[Loc id::val2]] |?Loc latlon #| format=plain | mainlabel=- | headers=hide }}
| |
| == LegLine == | | == LegLine == |
− | {{LegLine|val1|val2}} | + | {{LegLine|from=tdm1|to=tdm2}} |
| + | {{LegLine|from=tdm2|to=val1}} |
| + | {{LegLine|from=val1|to=val2}} |
| + | |
| == LegMap direct == | | == LegMap direct == |
| + | === Example === |
| + | https://maps.extension.wiki/wiki/Displaying_Leaflet_maps#Lines |
| {{#display_map: | | {{#display_map: |
− | |lines=43.301308°, -2.001086° | + | |lines=Berlin:Brussels:London;Amsterdam:Paris~Amsterdam to Paris line~I am a text~green~0.42~10 |
− | |zoom=12 | + | |zoom=5 |
| |height=700 | | |height=700 |
| |service=leaflet | | |service=leaflet |
| }} | | }} |
| + | === From Lines === |
| + | {{LegMapLines |
| + | |lines= |
| + | 43.308306° N, 1.982025° W: 43.301308° N, 2.001086° W: |
| + | |
| + | 43.301308° N, 2.001086° W: 43.289758° N, 1.997447° W: |
| + | |
| + | 43.289758° N, 1.997447° W: 43.274650° N, 2.021303° W: |
| + | |title=From Leglines |
| + | }} |
| + | |
| + | === Leg values Degrees === |
| + | {{LegMapLines |
| + | |lines=43° 18' 29.90" N, 1° 58' 55.29" W:43° 18' 4.71" N, 2° 0' 3.91" W: 43° 18' 4.71" N, 2° 0' 3.91" W:43° 17' 23.13" N, 1° 59' 50.81" W: 43° 17' 23.13" N, 1° 59' 50.81" W:43° 16' 28.74" N, 2° 1' 16.69" W |
| + | |color=yellow |
| + | |title=Degrees |
| + | |subtitle=6 values |
| + | }} |
| + | |
| + | === Leg values DMS === |
| + | {{LegMapLines |
| + | |lines=43.308306° N, 1.982025° W: 43.301308° N, 2.001086° W: |
| + | 43.301308° N, 2.001086° W: 43.289758° N, 1.997447° W: |
| + | 43.289758° N, 1.997447° W: 43.274650° N, 2.021303° W |
| + | |title=DMS |
| + | |subtitle=6 values |
| + | |color=orange |
| + | }} |
| + | |
| + | === Leg values float === |
| + | {{LegMapLines |
| + | |lines=43.308306, -1.982025: 43.301308, -2.001086: |
| + | 43.301308, -2.001086: 43.289758, -1.997447: |
| + | 43.289758, -1.997447: 43.27465, -2.021303 |
| + | |title=float |
| + | |subtitle=6 values |
| + | |color=grey |
| + | }} |
| + | = Leg Map at end = |
| + | {{LegMap}} |
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"auto","height":"350px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":false,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":false,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[{"text":"","title":"","link":"","lat":43.27465,"lon":-2.0213027777778,"icon":""},{"text":"","title":"","link":"","lat":43.308305555556,"lon":-1.982025,"icon":""},{"text":"","title":"","link":"","lat":43.289758333333,"lon":-1.9974472222222,"icon":""},{"text":"","title":"","link":"","lat":43.301308333333,"lon":-2.0010861111111,"icon":""}],"imageoverlays":null}
Lines
# | from | to |
---|
wp1 | tdm1 | tdm2 |
wp2 | tdm2 | val1 |
wp3 | val1 | val2 |
43.308306° N, 1.982025° W:
43.301308° N, 2.001086° W:
43.301308° N, 2.001086° W:
43.289758° N, 1.997447° W:
43.289758° N, 1.997447° W:
43.274650° N, 2.021303° W:
LegMapLines
Lines
→
43.308306° N, 1.982025° W:
43.301308° N, 2.001086° W:
43.301308° N, 2.001086° W:
43.289758° N, 1.997447° W:
43.289758° N, 1.997447° W:
43.274650° N, 2.021303° W:
←
Map
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"800px","height":"600px","centre":false,"title":"","label":"","icon":"","lines":[{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003ELegs\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003Efrom subobjects\n\u003C/p\u003E\u003C/div\u003E","title":"Legs\n","link":"","strokeColor":"blue","strokeOpacity":"0.42","strokeWeight":"15","pos":[{"lat":48.21356925,"lon":14.27568336182},{"lat":49.24325145,"lon":-87.162371360471},{"lat":48.21356925,"lon":14.27568336182},{"lat":49.24325145,"lon":-87.162371360471},{"lat":48.21356925,"lon":14.27568336182},{"lat":49.24325145,"lon":-87.162371360471},{"lat":48.21356925,"lon":14.27568336182},{"lat":49.24325145,"lon":-87.162371360471},{"lat":48.21356925,"lon":14.27568336182},{"lat":49.24325145,"lon":-87.162371360471},{"lat":48.21356925,"lon":14.27568336182},{"lat":49.24325145,"lon":-87.162371360471},{"lat":48.21356925,"lon":14.27568336182},{"lat":49.24325145,"lon":-87.162371360471}]}],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":12,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":true,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[],"imageoverlays":null}
Loc
Legs
Leg
Queries
43.308306° N, 1.982025° W:
43.301308° N, 2.001086° W:
43.301308° N, 2.001086° W:
43.289758° N, 1.997447° W:
43.289758° N, 1.997447° W:
43.274650° N, 2.021303° W:
LegLine
43.308306° N, 1.982025° W:
43.301308° N, 2.001086° W:
43.301308° N, 2.001086° W:
43.289758° N, 1.997447° W:
43.289758° N, 1.997447° W:
43.274650° N, 2.021303° W:
LegMap direct
Example
https://maps.extension.wiki/wiki/Displaying_Leaflet_maps#Lines
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"auto","height":"700px","centre":false,"title":"","label":"","icon":"","lines":[{"text":"","title":"","link":"","strokeColor":"#FF0000","strokeOpacity":"1","strokeWeight":"2","pos":[{"lat":52.510885,"lon":13.3989367},{"lat":50.8465573,"lon":4.351697},{"lat":51.5074456,"lon":-0.1277653}]},{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EAmsterdam to Paris line\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EI am a text\n\u003C/p\u003E\u003C/div\u003E","title":"Amsterdam to Paris line\n","link":"","strokeColor":"green","strokeOpacity":"0.42","strokeWeight":"10","pos":[{"lat":52.3730796,"lon":4.8924534},{"lat":48.8588897,"lon":2.3200410217201}]}],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":5,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":false,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[],"imageoverlays":null}
From Lines
Lines
→43.308306° N, 1.982025° W: 43.301308° N, 2.001086° W:
43.301308° N, 2.001086° W: 43.289758° N, 1.997447° W:
43.289758° N, 1.997447° W: 43.274650° N, 2.021303° W:←
Map
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"800px","height":"600px","centre":false,"title":"","label":"","icon":"","lines":[{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EFrom Leglines\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003Efrom subobjects\n\u003C/p\u003E\u003C/div\u003E","title":"From Leglines\n","link":"","strokeColor":"blue","strokeOpacity":"0.42","strokeWeight":"15","pos":[{"lat":43.308306,"lon":-1.982025},{"lat":43.301308,"lon":-2.001086},{"lat":43.301308,"lon":-2.001086},{"lat":43.289758,"lon":-1.997447},{"lat":43.289758,"lon":-1.997447},{"lat":43.27465,"lon":-2.021303}]}],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":12,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":true,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[],"imageoverlays":null}
Leg values Degrees
Lines
→43° 18' 29.90" N, 1° 58' 55.29" W:43° 18' 4.71" N, 2° 0' 3.91" W: 43° 18' 4.71" N, 2° 0' 3.91" W:43° 17' 23.13" N, 1° 59' 50.81" W: 43° 17' 23.13" N, 1° 59' 50.81" W:43° 16' 28.74" N, 2° 1' 16.69" W←
Map
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"800px","height":"600px","centre":false,"title":"","label":"","icon":"","lines":[{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EDegrees\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003E6 values\n\u003C/p\u003E\u003C/div\u003E","title":"Degrees\n","link":"","strokeColor":"yellow","strokeOpacity":"0.42","strokeWeight":"15","pos":[{"lat":43.308305555556,"lon":-1.982025},{"lat":43.301308333333,"lon":-2.0010861111111},{"lat":43.30130833333333,"lon":-2.001086111111111},{"lat":43.289758333333,"lon":-1.9974472222222},{"lat":43.28975833333333,"lon":-1.9974472222222222},{"lat":43.27465,"lon":-2.0213027777777777}]}],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":12,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":true,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[],"imageoverlays":null}
Leg values DMS
Lines
→43.308306° N, 1.982025° W: 43.301308° N, 2.001086° W:
43.301308° N, 2.001086° W: 43.289758° N, 1.997447° W:
43.289758° N, 1.997447° W: 43.274650° N, 2.021303° W←
Map
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"800px","height":"600px","centre":false,"title":"","label":"","icon":"","lines":[{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EDMS\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003E6 values\n\u003C/p\u003E\u003C/div\u003E","title":"DMS\n","link":"","strokeColor":"orange","strokeOpacity":"0.42","strokeWeight":"15","pos":[{"lat":43.308306,"lon":-1.982025},{"lat":43.301308,"lon":-2.001086},{"lat":43.301308,"lon":-2.001086},{"lat":43.289758,"lon":-1.997447},{"lat":43.289758,"lon":-1.997447},{"lat":43.27465,"lon":-2.021303}]}],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":12,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":true,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[],"imageoverlays":null}
Leg values float
Lines
→43.308306, -1.982025: 43.301308, -2.001086:
43.301308, -2.001086: 43.289758, -1.997447:
43.289758, -1.997447: 43.27465, -2.021303←
Map
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"800px","height":"600px","centre":false,"title":"","label":"","icon":"","lines":[{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003Efloat\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003E6 values\n\u003C/p\u003E\u003C/div\u003E","title":"float\n","link":"","strokeColor":"grey","strokeOpacity":"0.42","strokeWeight":"15","pos":[{"lat":43.308306,"lon":-1.982025},{"lat":43.301308,"lon":-2.001086},{"lat":43.301308,"lon":-2.001086},{"lat":43.289758,"lon":-1.997447},{"lat":43.289758,"lon":-1.997447},{"lat":43.27465,"lon":-2.021303}]}],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":12,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":true,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[],"imageoverlays":null}
Leg Map at end
Lines
# | from | to |
---|
wp1 | tdm1 | tdm2 |
wp2 | tdm2 | val1 |
wp3 | val1 | val2 |
43.308306° N, 1.982025° W:
43.301308° N, 2.001086° W:
43.301308° N, 2.001086° W:
43.289758° N, 1.997447° W:
43.289758° N, 1.997447° W:
43.274650° N, 2.021303° W:
LegMapLines
Lines
→
43.308306° N, 1.982025° W:
43.301308° N, 2.001086° W:
43.301308° N, 2.001086° W:
43.289758° N, 1.997447° W:
43.289758° N, 1.997447° W:
43.274650° N, 2.021303° W:
←
Map
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"800px","height":"600px","centre":false,"title":"","label":"","icon":"","lines":[{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003ELegs\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003Efrom subobjects\n\u003C/p\u003E\u003C/div\u003E","title":"Legs\n","link":"","strokeColor":"blue","strokeOpacity":"0.42","strokeWeight":"15","pos":[{"lat":48.21356925,"lon":14.27568336182},{"lat":49.24325145,"lon":-87.162371360471},{"lat":48.21356925,"lon":14.27568336182},{"lat":49.24325145,"lon":-87.162371360471},{"lat":48.21356925,"lon":14.27568336182},{"lat":49.24325145,"lon":-87.162371360471},{"lat":48.21356925,"lon":14.27568336182},{"lat":49.24325145,"lon":-87.162371360471},{"lat":48.21356925,"lon":14.27568336182},{"lat":49.24325145,"lon":-87.162371360471},{"lat":48.21356925,"lon":14.27568336182},{"lat":49.24325145,"lon":-87.162371360471},{"lat":48.21356925,"lon":14.27568336182},{"lat":49.24325145,"lon":-87.162371360471}]}],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":12,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":true,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[],"imageoverlays":null}