This topic is locked

Printing off openstreet maps

6/21/2023 4:22:00 AM
ASPRunner.NET General questions
D
david powell author

Hi,
There is an issue with trying to print off a map using OSM.
The map does not display, and when copied as a link into a browser window an error message is displayed:
'Please specify a valid referrer when using the static map script'.
I have looked at the OSM website(s), and it is a reported problem, apparently to do with https and DNS servers..... but is there a workaround for asprunner?
David

admin 6/21/2023

I have no idea what "apparently to do with https and DNS servers" means but it doesn't sound like something that has anything to do with ASPRunner.NET.
HTTPS and DNS are parts of web server configuration. If you can follow that advice and implement the fix, no changes will be required in ASPRunner.NET app.

D
david powell author 6/21/2023

Thanks for that - searching through openstreet maps forums and wiki it seems the problem is recognised but not much enthusiasm there for fixing it. Here is one of the few links about the error message when printing https://github.com/fossgis/openstreetmap.de/issues/25 which someone else who has the same issue might benefit from taking a look at. My understanding of this is that the subpage of the openstreetmap site needed for printing only supports http, and, reading the somewhat abrupt responses on this link it isnt going to change soon, especially as the link is several years old.