Skip to content

maxf/maporizer

Repository files navigation

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"

About

like axismaps but automatic

Resources

Stars

Watchers

Forks

Packages

No packages published