SASGIS

Веб-картография и навигация

Added WMS source returns errors or transparent tiles

English- or other language speakers welcome here
Please do not translate your native language to "broken Russian" via crappy machine translation services - please post it as it is, in your native language.

Модератор: Tolik

Added WMS source returns errors or transparent tiles

Сообщение Smone » 03 сен 2020, 15:35

Hi All,

I've been searching the forum and I have also tried solutions I have found. It's been 3 days trying to get it work.. no luck.

I would like to add this source https://julkinen.traficom.fi/s57/wms?re ... ervice=WMS

From address below you can see a tile. You can even use different formats: image/png, image/gif, image/png8, image/png16 etc.
https://julkinen.traficom.fi/s57/wms?SE ... image/jpeg

In params.txt I have the address as follows:

Код: Выделить всё
[PARAMS]
active=0
pnum=900
GUID={f06fb816-d068-4479-930b-53409854e11b}
ParentSubMenu_ru=Water Maps\Finland
ParentSubMenu_en=Water Maps\Finland
ParentSubMenu=Water Maps\Finland
name_ru=S-57
name=S-57
name_en=S-57
EPSG = 4326


DefURLBase=http://julkinen.traficom.fi/s57/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX={bbox}&SRS=EPSG:4326&WIDTH=256&HEIGHT=256&LAYERS=cells&STYLES=&FORMAT=image/jpeg

projection=1

NameInCache=S-57
Ext=.jpg
ContentType=image/jpeg


This returns "black" tiles. I have also tried image/png, which returns "Download Error. Unexpected content type Image/png; mode=8bit" Then I did try FORMAT=image/png; mode=8bit but it didn't work.

Any assistance is highly appreciated.
Smone
Новичок
 
Сообщения: 1
Зарегистрирован: 03 сен 2020, 15:08
Благодарил (а): 0 раз.
Поблагодарили: 0 раз.

Вернуться в International visitors section

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 6