Opened 4 years ago

Closed 12 months ago

#14361 closed defect (fixed)

Support for image/webp for WMTS satellite imagery?

Reported by: SanderH Owned by: team
Priority: normal Milestone: 17.02
Component: Core imagery Version:
Keywords: wmts webp Cc:


I'm trying to get a satellite imagery working that's available in the netherlands since a few days but don't get the WMTS version working.
Configured the WMTS imagery for this url:
The provider prefers consumers to use WMTS over WMS (which is working fine) to reduce load on their servers.

When selecting the WMTS from the Imagery menu, I get a nice box to choose from the 3 projections for the 2 layers.
Whatever you choose there it won't work. JOSM keeps complaining "Could not load image file from server".

The tile properties show for example this url with http status code 200:

I noticed the default format is image/webp, which I'm unable to change to one of the known working image formats (png, png8, jpg) which is also supported for this WMTS.

Since everything else seems working OK (url does work in the browser, status code 200) the only thing I can think of is that the image format itself could be the problem.
Do you know if JOSM supports image/webp?

Can you have a look and see what's going wrong and maybe fix it accordingly if it's something JOSM can do about it?

Thanks in advance.

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by Don-vip

Keywords: wmts webp added

comment:2 Changed 4 years ago by Don-vip

WebP is not supported by the JDK, see javabug:8116096. We must make sure to use only supported formats.

comment:3 Changed 4 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 11559/josm:

fix #14361 - WMTS: download only supported image formats

comment:4 Changed 12 months ago by Stereo

Resolution: fixed
Status: closedreopened

comment:5 Changed 12 months ago by Don-vip

Milestone: 17.02
Resolution: fixed
Status: reopenedclosed

In source program, coders need to put native lib files like .so/.dll/.dylib into the folder of java.library.path.

No go, sorry.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.