publiclab / Leaflet.DistortableImage

A Leaflet extension to distort or "rubber sheet" images
https://publiclab.github.io/Leaflet.DistortableImage/examples/
BSD 2-Clause "Simplified" License
265 stars 284 forks source link

Think about how to display list of old MapKnitter maps #1364

Closed jywarren closed 1 year ago

jywarren commented 1 year ago

After https://github.com/publiclab/Leaflet.DistortableImage/issues/1350, we can now copy a link to any of these ~7824 maps into this url format:

https://publiclab.github.io/Leaflet.DistortableImage/examples/archive?json=JSON_LINK

Example: https://publiclab.github.io/Leaflet.DistortableImage/examples/archive?json=https://ia804706.us.archive.org/27/items/mapknitter/morflex-freeflight-infrared.json

Is there a way to make opening these maps easy? A way to sort through them more easily?

For starters we could just make a page from that list of URLs, which inserts each map name into https://publiclab.github.io/Leaflet.DistortableImage/examples/archive?json=https://archive.org/download/mapknitter/KEY.json and makes a link out of that. Just being able to click on any of 7824 map links would be a really nice start.

No urgency here either, just thinking for the future!

jywarren commented 1 year ago

OK, i tried making a big HTML list of links... not great looking, but it works!

https://github.com/publiclab/Leaflet.DistortableImage/pull/1365

jywarren commented 1 year ago

We could also think about:

  1. changing all links to Amazon s3 (http://s3.amazonaws.com/grassrootsmapping/warpables/230210/jfdbkfd.jpg) to Internet Archive links, like: https://web.archive.org/web/0id_/http://s3.amazonaws.com/grassrootsmapping/warpables/230210/jfdbkfd.jpg - pretty easy to just pre-pend https://web.archive.org/web/0id_/ to each instance of http://s3.amazonaws.com/grassrootsmapping, i guess?
  2. We could also try to parse all 7k maps to find the first lat/lon coordinate, and make a Leaflet map showing them all... but that's quite a project. Someday!
jywarren commented 1 year ago

Just noting that I'm in the process of making a copy of the collection of all JSON files from https://archive.org/details/mapknitter, but as https://archive.org/details/mapknitter-wayback, with all the image URLs pointed at archive.org cached copies.