Re: [Geoserver-users] [External] Re: performance questions

2018-09-01 Thread Ashley Mort
Interesting info there that I was unaware of with the jai-ext startup 
parameter.  We have a bunch of ImageMosaic layers served as PNG with a default 
GeoServer 2.13.0 install (no native JAI installed).

Would the recommended setting generally be to use 
-Dorg.geotools.coverage.jaiext.enabled=true then leave the defaults in 
GeoServer Image Processing settings like below?

PNG Encoder: PNGJ based encoded (recommended)
JPEG Native Acceleration: off
Mosaic Native Acceleration: off
Warp Native Acceleration: off
JAI/JAIEXT Setup
JAIEXT Operations
all

JAI OPERATIONS
none

Ashley Mort
Sr. Software Engineer

From: Andrea Aime [mailto:andrea.a...@geo-solutions.it]
Sent: Saturday, September 1, 2018 5:20 AM
To: Bessette-Halsema, Dominique E 
Cc: GeoServer Mailing List List 
Subject: [External] Re: [Geoserver-users] performance questions

Hi,
yes, the performance drop looks bad. Have you enabled jai-ext in 2.13.x? (it 
does more work, more comprehensive
ROI handling and NODATA Handling which was not there before) so for a simple 
scale it's slower also in my local tests,
that said we are running all production envs with jai-ext enabled with no 
complaints (probably because bottleneck are elsewhere,
network storage, JPEG2000 decompression and the like).

If you did not enable jai-ext in both environments, did you install native JAI 
in both?

Cheers
Andrea


On Sat, Sep 1, 2018 at 1:48 AM Bessette-Halsema, Dominique E 
mailto:dominique.besse...@gdit.com>> wrote:
Hello

I was recently doing some performance tests on the v2.5 GeoServer.

Jmeter Test configuration:
The tests were for WMS 1.3.0 getMap requests for a 74x96 deg of a GeoTiff.
The interpolation is set to bilinear and each test run is performed 100 times 
in a loop.
Each loop is paused for 200-500 milliseconds before sending out the next batch 
of concurrent requests.

Example request:
https://localhost:8443/geoserver/test/wms?layers=test:grid=512=666=73.0,-19.0,147.0,77.0=CRS:84=image/png=1.3.0=WMS=GetMap.

To be candid, The average response time is much worse in v2.13 compared to 
v2.5.   I ended up updated v2.13 to use Marlin but the performance is still not 
as good as compared to v2.5.  Attached are the before/after updates.

I know there were a lot of updates between the versions but is there a global 
setting, cache, or configuration property that I should be looking into?

Dominique Bessette

--
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


--

Regards, Andrea Aime == 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 
--- Con riferimento alla 
normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento 
generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza 
inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è 
un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, 
ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene 
notizia. This email is intended only for the person or entity to which it is 
addressed and may contain information that is privileged, confidential or 
otherwise protected from disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or 
the information herein by anyone other than the intended recipient is 
prohibited. If you have received this email by mistake, please notify us 
immediately by telephone or e-mail.
--
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


Re: [Geoserver-users] SLD drawing order

2018-09-01 Thread Fagin, Todd D.
Thank you for your reply. I am still having problems, though, which can almost 
guarantee fall under the “user error” category.

I have now placed the two rules (I actually have more than two, but in my 
snippet below I have simplified it) into the same . I have 
added  and set it to the field gs and specified 
descending order.

If I understand it correctly, this should cause the values PA to paint before 
LA since it is descending. I have also tried doing this on a numeric field, as 
well.

Again, any guidance would be greatly appreciated. And thanks again for your 
assistance. I know I am at least on the right track.



  
  Type 1
  Type 1
  75
  

  gs
  LA

  
  

  

image/svg+xml
  
  
10
  

  


  Type 2
  Type 2 type
  75
  

  gs
  PA

  
  

  

image/svg+xml
  
  
16
  

  

gs D
  


Todd

Todd Fagin

Oklahoma Natural Heritage Inventory/
Oklahoma Biological Survey

From: Andrea Aime [mailto:andrea.a...@geo-solutions.it]
Sent: Saturday, September 1, 2018 6:18 AM
To: Fagin, Todd D. 
Cc: GeoServer Mailing List List 
Subject: Re: [Geoserver-users] SLD drawing order

Best to use the vendor extension to do data sorting in that case:
http://docs.geoserver.org/stable/en/user/styling/sld/extensions/z-order/syntax.html

Cheers
Andrea

On Fri, Aug 31, 2018 at 11:57 PM Fagin, Todd D. 
mailto:tfa...@ou.edu>> wrote:
Greetings,

I know this is an issue that has been addressed before, but we are having some 
issues and am hoping for guidance.

We have a point layer that has, in at least one instance, two points at the 
exact some location. Optimally, if would be best if both symbols rendered in a 
“stacked” fashion. However, only one of the features is showing. The next best 
option would be to prioritize the point drawn based on attribute value. We have 
used the  tag, but the rendering is still not placing 
priority as we have indicated. I have a snippet of the SLD below.

Any suggestions would be greatly appreciated.



  Type 1
  Type 1
  75
  

  gs
  LA

  
  

  

image/svg+xml
  
  
10
  

  

  
  

  Type 2
  Type 2
  75
  

  gs
  PA

  
  

  

image/svg+xml
  
  
16
  

  

  



Thank you,

Todd

Todd Fagin

Oklahoma Natural Heritage Inventory/
Oklahoma Biological Survey

--
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: 

Re: [Geoserver-users] Geoserver/GeoWebCache and S3 Blobstore

2018-09-01 Thread Peter Smythe
Hi Jan

> Should it be possible to cache tiles using an application (Open Layers)
and not using direct WMS requests with exact BBox extents for each tile?
How can that be achieved? (how to use the mandatory =true

parameter).


Yes, it is.  On the Layer Preview page, click on the 3 dots (top left) to
expand the menu.  Then change Tiling: to Tiled.  You can see that the map
now loads in tiles, not all at once.  Verify =true in Developer Tools.

[image: image.png]

Regards

Peter

On Fri, 31 Aug 2018 at 10:46, Jan Donner  wrote:

> Thank you Jukka and Andrea, this at least partly solved my problem!
> Sorry about that large log. Did not wan't to loose any possibly important
> information.
>
> I disabled the In memory BlobStore and used the first of the two URL:s
> Andrea provided.
> - Now it did cache that 0/0.png tile onto S3! (The second URL did not
> work).
> - Seeding also worked!
>
> Using the Layer preview did not cache tiles on S3! Should it be possible
> to cache tiles using an application (Open Layers) and not using direct WMS
> requests with exact BBox extents for each tile? How can that be achieved?
> (how to use the mandatory =true
> 
>  parameter).
>
>
> br.
> Jan
>
>
>
>
>
> to 30. elok. 2018 klo 22.35 Andrea Aime (andrea.a...@geo-solutions.it)
> kirjoitti:
>
>> On Thu, Aug 30, 2018 at 5:13 PM Jan Donner 
>> wrote:
>>
>>> Hi!
>>> I'm experiencing problems with using Geoserver and GeoWebCache with a S3
>>> blob store.
>>> I have managed to create a blob store on S3 (the new folder appeared in
>>> s3 as defined by S3 Object Key Prefix) using Geoserver
>>> I try to cache tiles onto it by making a WMS request from the example
>>> layer topp:states, but no files are cached into the S3 blob store:
>>>
>>>
>>> http://localhost:8080/geoserver/gwc/service/wms?layers=topp:states==1.1.1=EPSG:4326=GetMap=-180,-90,180,90=256=256=image/png8=true
>>>
>>>
>> This is just a partial answer, but I'm at a conference and there is not
>> much time to dedicate to the user list.
>> The request you're using does not conform to any cacheable gridset, so
>> it's not cached. The WGS84 gridset does not have one tile
>> at the top level, but two. Could you try these instead?:
>>
>>
>> http://localhost:8080/geoserver/gwc/service/wms?layers=topp:states==1.1.1=EPSG:4326=GetMap=-180,-90,0,90=256=256=image/png8=true
>>
>>
>> http://localhost:8080/geoserver/gwc/service/wms?layers=topp:states==1.1.1=EPSG:4326=GetMap=0,-90,180,90=256=256=image/png8=true
>>
>> Also, did you enable the "transparent integration" in the "caching
>> defaults" page? Otherwise just making WMS requests
>> won't create any tiles. Maybe try to use the tiled layers preview too.
>>
>> 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
>> --- *Con riferimento
>> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
>> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
>> circostanza inerente alla presente email (il suo contenuto, gli eventuali
>> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
>> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
>> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
>> sarei comunque grato se potesse darmene notizia. This email is intended
>> only for the person or entity to which it is addressed and may contain
>> information that is privileged, confidential or otherwise protected from
>> disclosure. We remind that - as provided by European Regulation 2016/679
>> “GDPR” - copying, dissemination or use of this e-mail or the information
>> herein by anyone other than the intended recipient is prohibited. If you
>> have received this email by mistake, please notify us immediately by
>> telephone or e-mail.*
>>
>
>
> --
>
> Jan Donner
> Senior GIS Architect,  *Trimble Forestry*
> Revontulentie 8 C |
> 02100
> Espoo, Finland
> +358 40 538  <+358+40+774+3592>5483 Mobile
> jan.don...@trimble.com
>
> *Delivering the Connected Forest*
>
> --
> 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
>

Re: [Geoserver-users] SLD drawing order

2018-09-01 Thread Andrea Aime
Best to use the vendor extension to do data sorting in that case:
http://docs.geoserver.org/stable/en/user/styling/sld/extensions/z-order/syntax.html

Cheers
Andrea

On Fri, Aug 31, 2018 at 11:57 PM Fagin, Todd D.  wrote:

> Greetings,
>
>
>
> I know this is an issue that has been addressed before, but we are having
> some issues and am hoping for guidance.
>
>
>
> We have a point layer that has, in at least one instance, two points at
> the exact some location. Optimally, if would be best if both symbols
> rendered in a “stacked” fashion. However, only one of the features is
> showing. The next best option would be to prioritize the point drawn based
> on attribute value. We have used the  tag, but the
> rendering is still not placing priority as we have indicated. I have a
> snippet of the SLD below.
>
>
>
> Any suggestions would be greatly appreciated.
>
>
>
> 
>
> 
>
>   Type 1
>
>   Type 1
>
>   75
>
>   
>
> 
>
>   gs
>
>   LA
>
> 
>
>   
>
>   
>
> 
>
>   
>
>  />
>
> image/svg+xml
>
>   
>
>   
>
> 10
>
>   
>
> 
>
>   
>
> 
>
>   
>
>   
>
> 
>
>   Type 2
>
>   Type 2
>
>   75
>
>   
>
> 
>
>   gs
>
>   PA
>
> 
>
>   
>
>   
>
> 
>
>   
>
>  />
>
> image/svg+xml
>
>   
>
>   
>
> 16
>
>   
>
> 
>
>   
>
> 
>
>   
>
>
>
>
>
>
>
> Thank you,
>
>
>
> Todd
>
>
>
> Todd Fagin
>
>
>
> Oklahoma Natural Heritage Inventory/
>
> Oklahoma Biological Survey
>
>
>
> --
> 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
>


-- 

Regards, Andrea Aime == 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
--- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
--
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

Re: [Geoserver-users] performance questions

2018-09-01 Thread Andrea Aime
Hi,
yes, the performance drop looks bad. Have you enabled jai-ext in 2.13.x?
(it does more work, more comprehensive
ROI handling and NODATA Handling which was not there before) so for a
simple scale it's slower also in my local tests,
that said we are running all production envs with jai-ext enabled with no
complaints (probably because bottleneck are elsewhere,
network storage, JPEG2000 decompression and the like).

If you did not enable jai-ext in both environments, did you install native
JAI in both?

Cheers
Andrea


On Sat, Sep 1, 2018 at 1:48 AM Bessette-Halsema, Dominique E <
dominique.besse...@gdit.com> wrote:

> Hello
>
>
>
> I was recently doing some performance tests on the v2.5 GeoServer.
>
>
>
> Jmeter Test configuration:
>
> The tests were for WMS 1.3.0 getMap requests for a 74x96 deg of a GeoTiff.
>
> The interpolation is set to bilinear and each test run is performed 100
> times in a loop.
>
> Each loop is paused for 200-500 milliseconds before sending out the next
> batch of concurrent requests.
>
>
>
> Example request:
>
>
> https://localhost:8443/geoserver/test/wms?layers=test:grid=512=666=73.0,-19.0,147.0,77.0=CRS:84=image/png=1.3.0=WMS=GetMap
> .
>
>
>
> To be candid, The average response time is much worse in v2.13 compared to
> v2.5.   I ended up updated v2.13 to use Marlin but the performance is still
> not as good as compared to v2.5.  Attached are the before/after updates.
>
>
>
> I know there were a lot of updates between the versions but is there a
> global setting, cache, or configuration property that I should be looking
> into?
>
>
>
> Dominique Bessette
>
>
>
> --
> 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
>


-- 

Regards, Andrea Aime == 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
--- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
--
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