[Mapbender-users] #WMS #Mapbender #Tiles

Astrid Emde (WhereGroup) astrid.emde at wheregroup.com
Tue Jun 21 04:11:39 PDT 2022


Hello Marcin,

great that you found the solution and thanks for sharing.

Maybe it will help others too.

See you and great week for you too

Astrid

Am 2022-06-21 13:09, schrieb Marcin Niemyjski:
> Hello again,
> 
>  I made it work, small change in mapcache.xml was required:
> 
>     <service type="wms" enabled="true">
>       <format>PNG_BEST</format>    </service>
> 
>  Thanks again for your time and have a great week,
>  Marcin
> 
> -------------------------
> 
> From: Mapbender_users <mapbender_users-bounces at lists.osgeo.org> on
> behalf of Marcin Niemyjski <mniemyjski at cloudferro.com>
> Sent: Tuesday, June 21, 2022 11:14 AM
> To: astrid.emde at wheregroup.com <astrid.emde at wheregroup.com>; Mapbender
> User List <mapbender_users at lists.osgeo.org>
> Subject: Re: [Mapbender-users] #WMS #Mapbender #Tiles
> 
>  Hello Astrid,
> 
>  I use Mapbender 3.3.0. As you recomended I created GetMap request
> with Transparency parameter set on True. This is the result:
> https://pasteboard.co/TVfZV2ctv10s.png
> 
>  and the request:
> 
> *****?VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=DZROL_jpg&STYLES&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:2180&BBOX=504410.1847,505845.9847,698217.2257,699439.1832&WIDTH=500&HEIGHT=500
> [1]
> 
>  I tried changing the BGCOLOR, but the background remains black. So
> it's not a Mapbender bug (good job 🙂 ), but do you have any idea
> what I can change to make it work, I would appreciate any suggestions.
> 
>  See you,
>  Marcin
> 
> -------------------------
> 
> From: Mapbender_users <mapbender_users-bounces at lists.osgeo.org> on
> behalf of Astrid Emde (WhereGroup) <astrid.emde at wheregroup.com>
> Sent: Monday, June 20, 2022 5:08 PM
> To: Mapbender User List <mapbender_users at lists.osgeo.org>
> Subject: Re: [Mapbender-users] #WMS #Mapbender #Tiles
> 
> Hello Marcin,
> 
> what version of Mapbender do you use?
> 
> There was a bug, that Mapbender does not send the parameter
> TRANSPARENT=TRUE in upper case in the getMap-Request. Some services
> ignore the parameter, when it is in lower case.
> 
> Image png is fine for a layer with transparency
> 
> Please check your getMap-Request and modify it. If TRANSPARENT=TRUE
> solves the problem you can go to the Mapbender code and fix it.
> 
> You find a desciption here:
> 
> https://github.com/mapbender/mapbender/issues/1418
> 
> https://github.com/mapbender/mapbender/pull/1419/files
> 
> The fix will also be available in the next version.
> 
> See you Astrid
> 
> Am 2022-06-20 16:51, schrieb Marcin Niemyjski:
>> Hello,
>> 
>> I'm back with some questions about MapBender. I created a WMS layer
>> which after uploading to QGIS or Mapbender looks like this:
>> https://pasteboard.co/vM3SKvRZ5krL.png
>>  I need the displayed wms not to cover other layers. The WMS comes
>> from mapcache, and the tiles are transparent when checked in another
>> program.
>> When I win this way to QGIS https://pasteboard.co/IU3LV6yB57Kv.png
> [1]
>> I get the effect I wanted https://pasteboard.co/ojWVBug6yDLC.png [2]
>> 
>> Could you please advise me how I could achieve such state of things
> in
>> MapBender?
>> 
>> The source paths that are shown by qgis when adding a new wms layer
>> (the one with the black background and the good one with the
>> transparent one) differ only in tileMatrixSet=.
>> 
>>  Best regards,
>> Marcin
>> 
>> 
>> Links:
>> ------
>> [1] https://pasteboard.co/IU3LV6yB57Kv.png
>> [2] https://pasteboard.co/ojWVBug6yDLC.png
>> _______________________________________________
>> Mapbender_users mailing list
>> Mapbender_users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapbender_users
> 
> --
> Mit freundlichen Grüßen
> 
> Astrid Emde
> GIS-Consultant
> 
> ---------------------------------------------
> Aufwind durch Wissen!
> Jetzt neu: Web-Seminare und Online-Schulungen
> bei der www.foss-academy.com [2]
> ---------------------------------------------
> 
>    Astrid Emde
>    WhereGroup GmbH
>    Eifelstraße 7
>    53119 Bonn
>    Germany
> 
>    Tel: +49(0)228 90 90 38 - 22
>    Fax: +49(0)228 90 90 38 - 11
> 
>    astrid.emde at wheregroup.com
>    www.wheregroup.com [3]
> 
>    Meinen PGP Public-Key können Sie unter pgp.mit.edu herunterladen:
> 
> https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB
>    Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen
> 
>    Folgen Sie der WhereGroup auf twitter:
>    http://twitter.com/WhereGroup_com
> 
>    Geschäftsführer:
>    Olaf Knopp, Peter Stamm
>    Amtsgericht Bonn, HRB 9885
> -------------------------------
> 
> Links:
> ------
> [1] 
> https://www.lpis.pl/mapcache?VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=DZROL_jpg&STYLES&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:2180&BBOX=504410.1847,505845.9847,698217.2257,699439.1832&WIDTH=500&HEIGHT=500
> [2] http://www.foss-academy.com
> [3] http://www.wheregroup.com
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapbender_users

-- 
Mit freundlichen Grüßen

Astrid Emde
GIS-Consultant

---------------------------------------------
Aufwind durch Wissen!
Jetzt neu: Web-Seminare und Online-Schulungen
bei der www.foss-academy.com
---------------------------------------------

   Astrid Emde
   WhereGroup GmbH
   Eifelstraße 7
   53119 Bonn
   Germany

   Tel: +49(0)228 90 90 38 - 22
   Fax: +49(0)228 90 90 38 - 11

   astrid.emde at wheregroup.com
   www.wheregroup.com

   Meinen PGP Public-Key können Sie unter pgp.mit.edu herunterladen:
   
https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB
   Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen

   Folgen Sie der WhereGroup auf twitter:
   http://twitter.com/WhereGroup_com

   Geschäftsführer:
   Olaf Knopp, Peter Stamm
   Amtsgericht Bonn, HRB 9885
-------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x1C287CCB.asc
Type: application/pgp-keys
Size: 1574 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20220621/30d75da9/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20220621/30d75da9/attachment.sig>


More information about the Mapbender_users mailing list