Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAMAC and https-TILE/WMS #331

Open
mrksgit opened this issue Oct 16, 2019 · 0 comments
Open

OAMAC and https-TILE/WMS #331

mrksgit opened this issue Oct 16, 2019 · 0 comments

Comments

@mrksgit
Copy link

mrksgit commented Oct 16, 2019

Hi,
I tried to add a custom Tilesource from a WMS with the help of whoots.mapwarper.net. It seems that OsmAndMapCreator can't handle https properly.

Example:
Tilesource (in .metainfo):
http://whoots.mapwarper.net/tms/{$z}/{$x}/{$y}/1,2,4/https://services.bgr.de/arcgis/services/geologie/guek200/MapServer/WMSServer

should return e.g. this:
http://whoots.mapwarper.net/tms/11/1104/686/1,2,4/https://services.bgr.de/arcgis/services/geologie/guek200/MapServer/WMSServer

BUT, when I look into the log (starting the /OsmAndMapCreator.sh in terminal), it shows:

Cannot download tile : http://whoots.mapwarper.net/tms/11/1104/686/1,2,4/http://services.bgr.de/arcgis/services/geologie/guek200/MapServer/WMSServer
java.lang.IllegalArgumentException: protocol = http host = null
[…]

Of course there will be no tile found (whoots.mapservernet: "Not found. Whoots"), because the target WMS-Server is only reachable via HTTPS. It seems it is modifying the string from https://services… to http://services…

Sincerly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant