Re: [Geoserver-users] wmts layer request

2018-02-05 Thread Julierme Pinheiro
Hi Brad and Andrea,

Thank you very much for your reply. Andre got my point, "better
performance" means that Qgis renders WMTS services faster than WMS which is
Integrated in GWC. Andrea, thank you very much for the explanation.

I appreciated your time

Regards

Julierme





2018-02-03 7:50 GMT-02:00 Andrea Aime :

> On Fri, Feb 2, 2018 at 7:49 PM, Julierme Pinheiro <
> juliermeopensourcedevelo...@gmail.com> wrote:
>
>> I am loading theses services in QGIS and realized that the wms connection
>> is slower than the wmts. I did not understand why wms is slower because I
>> set Caching Defaults (box checked) Enable direct integration with GeoServer
>> WMS.
>>
>> In my case, the wmts is having a better performance in Qgis.
>>
>> Could someone explain me why wmts has a better performance, even though
>> is integrated with the wms?
>>
>
> I'm assuming you're saying it's slower because it takes more time to
> render the maps, by the naked eye, right?
> The reason is actually quite simple, WMS has to draw the map every time,
> WMTS caches tiles and renders them.
>
> The "integration" is not doing you any good in QGIS, because QGIS does not
> know about it and does not leverage it.
> The integration works by having GWC intercept requests, and if they happen
> to exactly match a cached tile, the tile
> will be sent back immediately and the WMS will be dodged.
> However QGIS think it's talking to a normal WMS and does not know about
> the supported tile structures, so it's probably
> doing a singe screen wise request (or tiled requests that are not matching
> the cached tiles).
>
> GWC also has a "full WMS" mode where it builds non tiled WMS responses by
> stitching and rescalilng cached tiles,
> see here on how to enable it (there is no UI for it as far as I know,
> you'll have to edit config files manually):
> http://docs.geoserver.org/latest/en/user/geowebcache/
> using.html#geowebcache-endpoint-url
>
> Mind though, if you want to use it, you'll have to send QGIS the URL of
> the WMS-C protocol (the WMS managed by GWC),
> the quality of the outputs will be lower, due to the rescaling, and
> performance will be somewhere in between a WMTS
> and a WMS that renders on the fly.
>
> Hope this helps
>
> Cheers
> Andrea
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 
> 55054  Massarosa
> 
> (LU)
> phone: +39 0584 962313 <+39%200584%20962313>
> fax: +39 0584 1660272 <+39%200584%20166%200272>
> mob: +39  339 8844549 <+39%20339%20884%204549>
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting 

Re: [Geoserver-users] wmts layer request

2018-02-03 Thread Andrea Aime
On Fri, Feb 2, 2018 at 7:49 PM, Julierme Pinheiro <
juliermeopensourcedevelo...@gmail.com> wrote:

> I am loading theses services in QGIS and realized that the wms connection
> is slower than the wmts. I did not understand why wms is slower because I
> set Caching Defaults (box checked) Enable direct integration with GeoServer
> WMS.
>
> In my case, the wmts is having a better performance in Qgis.
>
> Could someone explain me why wmts has a better performance, even though is
> integrated with the wms?
>

I'm assuming you're saying it's slower because it takes more time to render
the maps, by the naked eye, right?
The reason is actually quite simple, WMS has to draw the map every time,
WMTS caches tiles and renders them.

The "integration" is not doing you any good in QGIS, because QGIS does not
know about it and does not leverage it.
The integration works by having GWC intercept requests, and if they happen
to exactly match a cached tile, the tile
will be sent back immediately and the WMS will be dodged.
However QGIS think it's talking to a normal WMS and does not know about the
supported tile structures, so it's probably
doing a singe screen wise request (or tiled requests that are not matching
the cached tiles).

GWC also has a "full WMS" mode where it builds non tiled WMS responses by
stitching and rescalilng cached tiles,
see here on how to enable it (there is no UI for it as far as I know,
you'll have to edit config files manually):
http://docs.geoserver.org/latest/en/user/geowebcache/using.html#geowebcache-endpoint-url

Mind though, if you want to use it, you'll have to send QGIS the URL of the
WMS-C protocol (the WMS managed by GWC),
the quality of the outputs will be lower, due to the rescaling, and
performance will be somewhere in between a WMTS
and a WMS that renders on the fly.

Hope this helps

Cheers
Andrea

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] wmts layer request

2018-02-02 Thread bradh
What do you mean by “better performance”? What are you measuring? How are you 
measuring?  What performance tuning have you done on your geoserver?

 

What are you really trying to do? Understand the implementation or just make 
WMS run faster?

 

Brad

 

From: Julierme Pinheiro [mailto:juliermeopensourcedevelo...@gmail.com] 
Sent: Saturday, 3 February 2018 5:50 AM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] wmts layer request

 

Dear all,

First of all, my apologies if my question has been already discussed here.

I created some wms/wmts services for GeoTIFF files using geoserver. My computer 
is running Ubuntu 14.04 LTS (Memory: 23 GB e Processor: Intel® Xeon(R) CPU 
X5660 @ 2.80GHz × 12).

I am loading theses services in QGIS and realized that the wms connection is 
slower than the wmts. I did not understand why wms is slower because I set 
Caching Defaults (box checked) Enable direct integration with GeoServer WMS. 

In my case, the wmts is having a better performance in Qgis. 

Could someone explain me why wmts has a better performance, even though is 
integrated with the wms? 

Thank you for your time in advance

Julierme

 

 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] wmts layer request

2018-02-02 Thread Julierme Pinheiro
Dear all,

First of all, my apologies if my question has been already discussed here.

I created some wms/wmts services for GeoTIFF files using geoserver. My
computer is running Ubuntu 14.04 LTS (Memory: 23 GB e Processor: Intel®
Xeon(R) CPU X5660 @ 2.80GHz × 12).

I am loading theses services in QGIS and realized that the wms connection
is slower than the wmts. I did not understand why wms is slower because I
set Caching Defaults (box checked) Enable direct integration with GeoServer
WMS.

In my case, the wmts is having a better performance in Qgis.

Could someone explain me why wmts has a better performance, even though is
integrated with the wms?

Thank you for your time in advance

Julierme
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users