mapwarper icon indicating copy to clipboard operation
mapwarper copied to clipboard

Bug inserting a rectified map in a umap map

Open EmilieLerigoleur opened this issue 9 months ago • 2 comments

Hi Tim,

I discovered https://mapwarper.net/ because I'd like to add an old orthorectified map to my umap map as a base layer. It's really nice and useful!

I've run several tests but using the URL ‘Tiles (Google/OSM scheme)’ doesn't work. For example, https://mapwarper.net/maps/tile/36892/%7Bz%7D/%7Bx%7D/%7By%7D.png returns a white image.

A 500 error is sent to umap server. Could you please help me solve this problem?

Here's the link to my test card. You can edit directly inside! https://umap.openstreetmap.fr/fr/map/remarkable-trees-in-the-city-of-metz-france_1224927

Tuto: https://insidemap.eu/faire-sa-carte-metz-1872/

Many thanks,

Emilie

Image

EmilieLerigoleur avatar May 16 '25 09:05 EmilieLerigoleur

This may be an issue with umap

Note the way the URL is encoded within umap when you enter it as https://mapwarper.net/maps/tile/36892/{z}/{x}/{y}.png

https://mapwarper.net/maps/tile/36892/{z}/{x}/{y}.png on it's own isn't a valid image, it has the placeholders {z} {x} {y} needed for the basemap

https://mapwarper.net/maps/tile/36892/14/8478/5619.png for example works.

Hope this helps in the meantime, Tim

On Fri, 16 May 2025 at 10:43, Emilie LERIGOLEUR @.***> wrote:

EmilieLerigoleur created an issue (timwaters/mapwarper#290) https://github.com/timwaters/mapwarper/issues/290

Hi Tim,

I discovered https://mapwarper.net/ because I'd like to add an old orthorectified map to my umap https://umap.openstreetmap.fr/fr/ map as a base layer. It's really nice and useful!

I've run several tests but using the URL ‘Tiles (Google/OSM scheme)’ doesn't work. For example, https://mapwarper.net/maps/tile/36892/%7Bz%7D/%7Bx%7D/%7By%7D.png returns a white image.

A 500 error is sent to umap server. Could you please help me solve this problem?

Here's the link to my test card. You can edit directly inside! https://umap.openstreetmap.fr/fr/map/remarkable-trees-in-the-city-of-metz-france_1224927

Tuto: https://insidemap.eu/faire-sa-carte-metz-1872/

Many thanks,

Emilie

pTJArzE5VOKzgWTR.png (view on web) https://github.com/user-attachments/assets/ef59a7e8-40fe-400e-9a3a-7b22d1283ac5

— Reply to this email directly, view it on GitHub https://github.com/timwaters/mapwarper/issues/290, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAL6LPF6NFDNWKLKLM53E326WXLPAVCNFSM6AAAAAB5IJTHEOVHI2DSMVQWIX3LMV43ASLTON2WKOZTGA3DQNJRGEZDQMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

timwaters avatar May 16 '25 13:05 timwaters

It works, many thanks tim!

Image

EmilieLerigoleur avatar May 16 '25 15:05 EmilieLerigoleur