-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
48 lines (28 loc) · 1.62 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
See for details
Technical Notes:
- Just like https://store.axismaps.co.uk/
- Retrieving OpenStreetMap data in XML by bounding box:
https://wiki.openstreetmap.org/wiki/API_v0.6#Retrieving_map_data_by_bounding_box:_GET_.2Fapi.2F0.6.2Fmap
https://api.openstreetmap.org/api/0.6/map?bbox=left,bottom, right,top
left is the longitude of the left (westernmost) side of the bounding box.
bottom is the latitude of the bottom (southernmost) side of the bounding box.
right is the longitude of the right (easternmost) side of the bounding box.
top is the latitude of the top (northernmost) side of the bounding box.
to get coordinates: http://boundingbox.klokantech.com/
Flagey:
https://api.openstreetmap.org/api/0.6/map?bbox=4.370412826538086,50.82627053184742,4.374446868896484,50.82917782833559
Bxl
https://api.openstreetmap.org/api/0.6/map?bbox=4.348813461303711,50.84505554556735,4.355362487792969,50.848925202043825
London
https://api.openstreetmap.org/api/0.6/map?bbox=-0.1593017578125,51.49805708407405,-0.14591217041015625,51.50687269909403
Montpelier:
https://api.openstreetmap.org/api/0.6/map?bbox=-2.594223,51.463989,-2.579204,51.471535
Peckham
https://api.openstreetmap.org/api/0.6/map?bbox=-0.079277,51.460888,-0.057133,51.475044
https://api.openstreetmap.org/api/0.6/map?bbox=-0.0829,51.453304,-0.042003,51.479135
Bristol:
https://api.openstreetmap.org/api/0.6/map?bbox=-2.607848,51.444517,-2.573047,51.470115
Run:
java -jar saxon.jar -s:montpelier.xml -xsl:maporizer.xsl -o:montpelier.svg
auto reload:
ls maporizer.xsl | entr -cr bash -c "java -jar saxon.jar -s:montpelier.xml -xsl:maporizer.xsl -o:montpelier.svg && echo done"