#15932 closed enhancement (worksforme)
Also allow entering WMTS Imagery URLs in addition to GetCapabilities URLs
Reported by: | jidanni | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description (last modified by )
Just as https://josm.openstreetmap.de/wiki/Help/Preferences/Imagery
says, WMTS is missing.
And what's worse, one cannot add WMTS Imagery URLs!
In "Imagery Preferences" > Imagery Providers, there at the bottom left is
a +WMTS button.
It asks "Enter GetCapabilities URL"
(P.S., I have to type the above words in by hand as
I am not allowed to copy them.
I feel like my Mom, who never learned how to copy and paste.)
Alas, some sites e.g.,
https://opentopomap.org/about
only lists a imagery URL, not a GetCapabilities URL.
And indeed some sites may not even have a GetCapabilities URL.
And in the "Selected entries:" there are only "Imagery URL"s shown, no
GetCapabilities URLs shown anyway. Nor any right click to show what they
were. The program probably probes them once and throws them away anyway...
Therefore please also allow entering imagery URLs in addition to
GetCapabilities URLs.
(Or have the program, taking the imagery, initiate a probe to all the
usual places(?) the corresponding GetCapabilities URL may be.)
Anyway, the impression is: here is the mighty JOSM, but I can't even
tell it to use http://{switch:a,b,c}.tile.openxyz...
Attachments (1)
Change History (10)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
You're mixing a lot here.
- For WMTS you can enter a URL and JOSM does the rest.
- "WMTS without Capabilities" (your opentopomap example) aren't WMTS, but TMS and these are added with TMS button.
Everything you request is already there when you don't mix the different service types.
by , 7 years ago
Well then you have a big problem. Even though the outer frame says "Add Imagery URL" , the inner area says Enter GetCapabilites URL. It does not say entering anything else is legal.
follow-up: 6 comment:3 by , 7 years ago
Never mind my particular example.
If it is OK to enter an imagery URL, than instead of just
Enter GetCapabilites URL
Please say
Enter GetCapabilites or Imagery URL
follow-up: 7 comment:4 by , 7 years ago
By the way, giving it http://landmaps.nlsc.gov.tw/S_Maps/wmts
results in
2018-02-16 19:21:31.174 INFO: GET http://landmaps.nlsc.gov.tw/S_Maps/wmts -> 200 (8.95 kB) 2018-02-16 19:21:31.252 WARNING: No default layer selected, choosing first layer.
and a partially different message on the screen, which I am unable to copy with the mouse, but you are welcome to try.
Anyway, it doesn't choose the first layer, but throws it all away.
comment:5 by , 7 years ago
For the WMS button it says enter "Service URL". It should be consistent about all the types of URLs one can enter. I gave it a GetCapabilites URL http://landmaps.nlsc.gov.tw/S_Maps/wms worked.
comment:6 by , 7 years ago
Replying to jidanni:
Never mind my particular example.
If it is OK to enter an imagery URL, than instead of just
Enter GetCapabilites URL
Please say
Enter GetCapabilites or Imagery URL
You're still mixing TMS and WMTS. These are two completely different systems, although some WMTS URL's can be TMS.
comment:7 by , 7 years ago
Replying to jidanni:
By the way, giving it http://landmaps.nlsc.gov.tw/S_Maps/wmts
results in
2018-02-16 19:21:31.174 INFO: GET http://landmaps.nlsc.gov.tw/S_Maps/wmts -> 200 (8.95 kB) 2018-02-16 19:21:31.252 WARNING: No default layer selected, choosing first layer.and a partially different message on the screen, which I am unable to copy with the mouse, but you are welcome to try.
Anyway, it doesn't choose the first layer, but throws it all away.
To support this specific service URL if it is not working is clearly a specific bug report (either report it in a new ticket or reopen this and change the subject), but everything else discussed in this ticket is still an misunderstanding on your side.
comment:8 by , 7 years ago
OK I've got a lot to learn. In conclusion I get empty tiles anyway.
$ read f https://landmaps.nlsc.gov.tw/S_Maps/wms?VERSION=1.1.1&FORMAT=image/png&TRANSPARENT=TRUE&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=&STYLES=&SRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=13443131.5996108,2768855.6547892,13452915.5388108,2778639.5939892 $ GET -SU $f GET https://landmaps.nlsc.gov.tw/S_Maps/wms?VERSION=1.1.1&FORMAT=image/png&TRANSPARENT=TRUE&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=&STYLES=&SRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=13443131.5996108,2768855.6547892,13452915.5388108,2778639.5939892 User-Agent: lwp-request/6.31 libwww-perl/6.31 200 OK
comment:9 by , 7 years ago
Description: | modified (diff) |
---|---|
Summary: | Also allow entering WTMS Imagery URLs in addition to GetCapabilities URLs → Also allow entering WMTS Imagery URLs in addition to GetCapabilities URLs |
Also for WMS etc. on the other hand there is no way to give a GetCapabilities URL even if one wants to.