dezoomify icon indicating copy to clipboard operation
dezoomify copied to clipboard

Can't dezoomify https://stadtplan.bvg.de [new site support]

Open ackern opened this issue 2 years ago • 2 comments

Site name and desciption

Berlin bus and subway map

https://stadtplan.bvg.de

Example URLs

Example of a tile: https://stadtplan.bvg.de/api/data/10/16/35198/21493.png

Current error message

"Oops, we have a problem. An error occured while trying to dezoomify your image. This is probably because dezoomify did not manage to find a zoomable image at the address you gave."

Chrome extension also doesn't work. The Dezoomify web app worked for this site as it existed in 2019 but the site has since changed. My notes from 2019 say that this string worked:

/dezoom.sh -x 17593 -X 17609 -Y 22014 -y22026 https://fahrinfo.bvg.de/tiles/base/15/%X/%Y.png

(with variations in the x and y numbers depending on how much of the map I wanted. Note that back then the main URL was fahrinfo.bvg.de and now it's stadtplanbvg.de )

(3) I don't know how to get the coordinates of the tiles for the corners (x and y values). I know how to get URLs for tiles in Network Inspector but I don't know how to choose the corners because "Inspect Element" doesn't let you choose which tiles to inspect. Somehow I got them in 2019 though.

ackern avatar Apr 12 '23 22:04 ackern

From my knowledge Dezoomify cannot download street map directory like the website you stated.

Yes it most certainly can! Did you read my post all the way through? I said Dezoomify used to work perfectly for the site in question and I posted the code that used to work. I have the map that Dezoomify downloaded around 2019 right here on my computer. I'm looking at it right now. You will have to be more clear about what exactly is a "street map directory" because it sounds like something competely unrelated to this site. The "map" is just an image, that's all. No different from a regular photograph or whatever. There is no data about streets whatsoever, no text or numeric data, nothing. Just pure png images.

ackern avatar May 16 '23 11:05 ackern

If the URL scheme has not changed, you can download it with dezoomify-rs : https://github.com/lovasoa/dezoomify-rs/wiki/Usage-example-for-the-custom-YAML-dezoomer

lovasoa avatar May 18 '23 05:05 lovasoa