whoots
whoots copied to clipboard
allow excluding empty &map= attribute from target url
this breaks the wms server i tried to use
Same for me, the ouput is broken. The uncalled "&m" parameter should not be added to the calculated URL at all.
Example: Input http://whoots.mapwarper.net/tms/17/68034/43730/nw_dop_rgb/https://www.wms.nrw.de/geobasis/wms_nw_dop
Output https://www.wms.nrw.de/geobasis/wms_nw_dop?bbox=763758.7866254821,6666837.607033074,764064.5347386226,6667143.355146214&format=image/png&service=WMS&version=1.1.1&request=GetMap&srs=EPSG:3857&width=256&height=256&layers=nw_dop_rgb&map=&styles=
Expected Output (no "&map=") https://www.wms.nrw.de/geobasis/wms_nw_dop?bbox=763758.7866254821,6666837.607033074,764064.5347386226,6667143.355146214&format=image/png&service=WMS&version=1.1.1&request=GetMap&srs=EPSG:3857&width=256&height=256&layers=nw_dop_rgb&styles=
i've updated the code to be able to fix this now. Thank you for the examples. These really helped
(Note that the server itself is going offline soon, but the service should run via the new php version of it)
oh awesome! I should be able to use lidar imagery with osmand now.