Re: [Geoserver-users] Issue - Plugins JMS and JDBCStore (JDBCConfig) co-existing

2018-06-25 Thread Andrea Aime
Hi Josè,
3 hours for 300.000 layers seems too much, I was able to start a catalog
with 50k layers in 3 minutes from "cold" storage (not even a file in cache)
since GeoServe 2.11,
http://blog.geoserver.org/2017/03/23/geoserver-2-11-0-released/ ,
so 300k should take around 20 minutes (the data structures involved are
scalable)... but that's still way too much.

So you should consider using jdbcconfig instead, and remove JMS, but mind,
once you use jdbcconfig, you're stuck in it, there is no ready to use way
to extract
the configuration from the database once it's in there, and the module is
unsupported, so I would advise you to also get commercial support to go
along with it:
http://geoserver.org/support/

Best regards
Andrea


On Mon, Jun 25, 2018 at 12:20 PM, José Macchi 
wrote:

> Hi Andrea  ! thanks for the quick response.
>
> So, what about having +300k layers in Geoserver and have to spend +3 hours
> to initialize it ?. Currently our system is using JMS and that is ok,
> because that allow us to handle several Geoservers in order to response
> users requests, but if we need to restart the server it takes a really long
> time to reload the catalog (and that was the reason behind installing
> JDBCStore, allowing the startup to be working with a database instead of
> reading +300 xml files from a FS, that clearly it will take much more time).
>
> Is there some way in the JMS plugin to clusterize the catalog into small
> pieces and allow each instance to handle parts of it (so startup it will
> move faster) ???
>
> Thanks !
>
> 2018-06-25 4:50 GMT-03:00 Andrea Aime :
>
>> Hi,
>> the two community modules both offer clustering of the catalog, but in
>> two different ways, so they are not meant
>> to be installed together
>>
>> Cheers
>> Andrea
>>
>>
>> On Mon, Jun 25, 2018 at 5:09 AM, José Macchi 
>> wrote:
>>
>>> Hello,  does anyone installed and used succesfully both plugins in a
>>> geoserver instance ?
>>>
>>> It seems that there are conflicts based on some "geoserverLoader-related
>>> definition" when you try to have both installed. (no problems when those
>>> plugins are installed alone)
>>>
>>> Regards
>>>
>>>
>>> --
>>> José Macchi
>>>
>>> Geo DevOps
>>> Frontec S.A.
>>>
>>> 
>>> --
>>> 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-req
>>> uesting-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 Euro

Re: [Geoserver-users] Help disabling X-Frame-Options for Geoserver

2018-06-25 Thread Andrea Aime
Hi,
yep, it's indeed the GeoServer filter you mentioned that adds the header.
Documentation here:
http://docs.geoserver.org/latest/en/user/production/config.html#x-frame-options-policy

In case that does not help, source code here:
https://github.com/geoserver/geoserver/blob/6e9e25c0c7cdda9ada9f33f8255130d3afc76801/src/main/src/main/java/org/geoserver/filters/XFrameOptionsFilter.java#L18

Cheers
Andrea

On Thu, Jun 21, 2018 at 2:31 PM, Rusu Sorin via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hi,
>
> I am trying to use Geoserver data into an JS WebGIS application.
> I am having trouble disabling the X-Frame-Options from adding the
> SAMEORIGIN header to incoming requests.
>
> I have read the instructions on: http://docs.geoserver.org/
> latest/en/user/production/config.html#x-frame-options-policy
>
> My TOMCAT's conf/web.xml has deactivated X-FRAME-OPTIONS:
>
> 
> HttpHeaderSecurityFilter
> org.apache.catalina.filters.
> HttpHeaderSecurityFilter
> true
> 
> antiClickJackingEnabled
> false
> 
> 
> 
> HttpHeaderSecurityFilter
> /*
> REQUEST
> 
>
> Requests to localhost:8080/manager do not show the X-Frame-Options, so it
> should be working.
>
> My geoserver's web.xml has the following configuration:
>
> 
>   xFrameOptionsFilter
>   org.geoserver.filters.XFrameOptionsFilter filter-class>
>   
>  geoserver.xframe.policy
>  DENY
>  
> 
>  
>   xFrameOptionsFilter
>   /*
>   REQUEST
>   
>
> Each time I do a request to the geoserver I get a response with the
> dreaded X-FRAME-OPTIONS: SAMEORIGIN
> Does anyone have any insight on how to set geoserver to stop being
> secured against clickJacking?
>
> BTW, this stackexchange answer is no good:
> https://gis.stackexchange.com/questions/267758/setting-
> geoserver-x-frame-options
> it breaks the geoserver if you use the values and it won't run.
>
> Any ideas?
>
> 
> --
> 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 b

Re: [Geoserver-users] GeoPackage (Mosaic) store showing blank

2018-06-26 Thread Andrea Aime
Hi Patrick
I haven't tried them, but I'd suggest to use at least GeoServer 2.13.x for
GeoPackage, before that
version it was an unsupported module (although, most of the work in 2.13.x
went into vector
geopackages, there have been some minor fixes on raster sources too)

Cheers
Andrea


On Tue, Jun 26, 2018 at 4:36 PM, Patrick Devine <
pddev...@sabine-solutions.com> wrote:

> All,
>
> I am trying to use the GeoPackage (mosaic) data store function in my
> Geoserver instance. I pulled DRG_US_100k and 24k maps from the Naval
> Research Laboratory Geopackage Downloader website (
> https://geoint.nrlssc.navy.mil/gpkg/#). I have tried large data sets
> (2GB) and small data sets (25MB) and I am able to add  the gpkg file to the
> store. I can publish both the 100k and 24k layers but when I view them in
> the layer preview I just get a blank white openlayers UI.  The NRL GPKG
> site has a couple of optional to download formats OpenGeo Suite 4.8
> (GeoServer) and NSG GeoPackage (EPSG:432) and I have tried both formats and
> both come back as blank white layer previews.
>
> Has anyone else seen this?
>
>
>- GeoServer Version2.12.1
>- Git Revision5927e49e781ddcdbf9213d32a439418347c17480
>- Build Date21-Nov-2017 22:02
>- GeoTools Version18.1 (rev 306cf3bdde1bee0110dc1c3ba77819f1e294a45b)
>- GeoWebCache Version1.12.1 (rev 1.12.x/22d18b47c9e80316d563c28d280602
>cb3dde624c
>
>
> OS Verison
>
> Red Hat Enterprise Linux Server release 7.4 (Maipo)
>
> Java Version
>
> openjdk version "1.8.0_161"
> OpenJDK Runtime Environment (build 1.8.0_161-b14)
> OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)
>
>
> Tomcat Version - 7.0.76-3.el7_4
>
> 
> --
> 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


Re: [Geoserver-users] SLDService Plugin + Geoserver 2.13.1

2018-06-26 Thread Andrea Aime
t; Mauro Bartolomeoli
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Dott. Mauro Bartolomeoli
> @mauro_bart
> Technical Lead
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
> 55054  Massarosa
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
> (LU)
> Italy
> phone: +39 0584 962313
> fax:  +39 0584 1660272
>
> 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.*
>
>
>
>
>
>
>
> --
>
> José Macchi
>
>
>
> Geo DevOps
>
> Frontec S.A.
>
>
>
>
>
> --
>
> José Macchi
>
>
>
> Geo DevOps
>
> Frontec S.A.
>
> 
> --
> 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


Re: [Geoserver-users] I'm having trouble configuring a WFS-T store write only

2018-06-28 Thread Andrea Aime
---
> --
> 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


Re: [Geoserver-users] 2.11 -> 2.13

2018-06-28 Thread Andrea Aime
Hi,
all you shared so far are debugging logs which might or might not be
related to an actual issue
(e.g., could be that the previous version of GeoServer was doing the same,
but had less logging statements).
Can you share the WMS request that makes it happen? The logs do not report
anything about the source CRS, you say it's 3857,
but I've just tried to make GeoServer reproject that BBOX to 4326 and
31370, it did not fail...

Cheers
Andrea


On Wed, Jun 27, 2018 at 3:25 PM, Verbeeck Bart (AIV) <
bart.verbe...@kb.vlaanderen.be> wrote:

> Dear list
>
> I have multiple geoserver installations. I recently upgraded from 2.11 ->
> 2.13.1.
>
> I copied the complete workspace, data and user_projectionq
>
> The instances are equal (in my opinion)
>
> Azure appservice, tomcat 8.0.44, jdk1.8.0_73
>
> On some instances I have problems with request asking for EPSG:3857 (data
> is in EPSG:31370): the mapped boundingbox is not correct
>
> Anyway, the problem is in org.geotools.renderer.crs. (see log below).
>
> Any idea?
> Something wrong with my epsg.properties?
>
> Bart
>
>
>
>
>
>
>
> 2018-06-27 15:05:19,225 DEBUG [org.geotools.renderer.crs] - Failed to
> reproject the envelope ReferencedEnvelope[555351.2887373341 :
> 555638.524757687, 6652473.9107269235 : 6652601.703883586] to
> GEOGCS["WGS84(DD)",
>   DATUM["WGS84",
> SPHEROID["WGS84", 6378137.0, 298.257223563]],
>   PRIMEM["Greenwich", 0.0],
>   UNIT["degree", 0.017453292519943295],
>   AXIS["Geodetic longitude", EAST],
>   AXIS["Geodetic latitude", NORTH]] trying an area restriction
> 2018-06-27 15:05:19,228 DEBUG [org.geotools.renderer.crs] - Failed to
> reproject the envelope ReferencedEnvelope[555351.2887373341 :
> 555638.524757687, 6652473.9107269235 : 6652601.703883586] to PROJCS["Belge
> 1972 / Belgian Lambert 72",
>   GEOGCS["Belge 1972",
> DATUM["Reseau National Belge 1972",
>   SPHEROID["International 1924", 6378388.0, 297.0,
> AUTHORITY["EPSG","7022"]],
>   TOWGS84[-106.8686, 52.2978, -103.7239, 0.3366, 0.457, -1.8422,
> -1.2747],
>   AUTHORITY["EPSG","6313"]],
> PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
> UNIT["degree", 0.017453292519943295],
> AXIS["Geodetic longitude", EAST],
> AXIS["Geodetic latitude", NORTH],
> AUTHORITY["EPSG","4313"]],
>   PROJECTION["Lambert_Conformal_Conic_2SP", AUTHORITY["EPSG","9802"]],
>   PARAMETER["central_meridian", 4.3674866],
>   PARAMETER["latitude_of_origin", 90.0],
>   PARAMETER["standard_parallel_1", 51.1723335],
>   PARAMETER["false_easting", 15.013],
>   PARAMETER["false_northing", 5400088.438],
>   PARAMETER["scale_factor", 1.0],
>   PARAMETER["standard_parallel_2", 49.8390014],
>   UNIT["m", 1.0],
>   AXIS["Easting", EAST],
>   AXIS["Northing", NORTH],
>   AUTHORITY["EPSG","31370"]] trying an area restriction
>
> 
> --
> 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

Re: [Geoserver-users] 2.11 -> 2.13

2018-06-28 Thread Andrea Aime
Hi,
yes, there is indeed something going on there... but I have no idea why.
Please open a ticket at
https://osgeo-org.atlassian.net/projects/GEOS/summary , including a sample
dataset, style, and a request that makes it happen on that dataset.
And then be patient, we have very little time available to look at them and
a lot of open tickets.
Or if it's urgent, then have a look at http://geoserver.org/support/ or, if
you can code in Java, I can give you a few pointers in the code where to
set breakpoints for a debug session, from where you can develop a fix and
make a pull request (see also
https://github.com/geoserver/geoserver/blob/master/CONTRIBUTING.md )

Cheers
Andrea


On Thu, Jun 28, 2018 at 2:51 PM, Verbeeck Bart (AIV) <
bart.verbe...@kb.vlaanderen.be> wrote:

> Thanks
>
>
>
> http://geoserverbeta1aiv.azurewebsites.net has 2.11
>
> http://geoserverbetaaiv.azurewebsites.net has 2.13
>
>
>
> The workspaces are 100 % identical
>
>
>
> The following requests:
>
>
>
> http://geoserverbeta1aiv.azurewebsites.net/geoserver/
> GRB/wms?SERVICE=WMS&REQUEST=GetMap&FORMAT=image/png&
> TRANSPARENT=TRUE&STYLES=&VERSION=1.3.0&LAYERS=GRB:GRB_
> GBG&WIDTH=1920&HEIGHT=852&CRS=EPSG:3857&BBOX=555351.
> 5873194758,6652474.209309065,555638.2261755452,6652601.405301445
>
>
>
> result is as expected
>
>
>
> http://geoserverbetaaiv.azurewebsites.net/geoserver/
> GRB/wms?SERVICE=WMS&REQUEST=GetMap&FORMAT=image/png&
> TRANSPARENT=TRUE&STYLES=&VERSION=1.3.0&LAYERS=GRB:GRB_
> GBG&WIDTH=1920&HEIGHT=852&CRS=EPSG:3857&BBOX=555351.
> 5873194758,6652474.209309065,555638.2261755452,6652601.405301445
>
>
>
> result is similar, but data is missing on the left and the bottom
>
>
>
> Bart
>
>
>
> *From:* andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] *On Behalf
> Of *Andrea Aime
> *Sent:* donderdag 28 juni 2018 14:34
> *To:* Verbeeck Bart (AIV) 
> *Cc:* geoserver-users@lists.sourceforge.net
> *Subject:* Re: [Geoserver-users] 2.11 -> 2.13
>
>
>
> Hi,
>
> all you shared so far are debugging logs which might or might not be
> related to an actual issue
>
> (e.g., could be that the previous version of GeoServer was doing the same,
> but had less logging statements).
>
> Can you share the WMS request that makes it happen? The logs do not report
> anything about the source CRS, you say it's 3857,
>
> but I've just tried to make GeoServer reproject that BBOX to 4326 and
> 31370, it did not fail...
>
>
>
> Cheers
>
> Andrea
>
>
>
>
>
> On Wed, Jun 27, 2018 at 3:25 PM, Verbeeck Bart (AIV) <
> bart.verbe...@kb.vlaanderen.be> wrote:
>
> Dear list
>
> I have multiple geoserver installations. I recently upgraded from 2.11 ->
> 2.13.1.
>
> I copied the complete workspace, data and user_projectionq
>
> The instances are equal (in my opinion)
>
> Azure appservice, tomcat 8.0.44, jdk1.8.0_73
>
> On some instances I have problems with request asking for EPSG:3857 (data
> is in EPSG:31370): the mapped boundingbox is not correct
>
> Anyway, the problem is in org.geotools.renderer.crs. (see log below).
>
> Any idea?
> Something wrong with my epsg.properties?
>
> Bart
>
>
>
>
>
>
>
> 2018-06-27 15:05:19,225 DEBUG [org.geotools.renderer.crs] - Failed to
> reproject the envelope ReferencedEnvelope[555351.2887373341 :
> 555638.524757687, 6652473.9107269235 : 6652601.703883586] to
> GEOGCS["WGS84(DD)",
>   DATUM["WGS84",
> SPHEROID["WGS84", 6378137.0, 298.257223563]],
>   PRIMEM["Greenwich", 0.0],
>   UNIT["degree", 0.017453292519943295],
>   AXIS["Geodetic longitude", EAST],
>   AXIS["Geodetic latitude", NORTH]] trying an area restriction
> 2018-06-27 15:05:19,228 DEBUG [org.geotools.renderer.crs] - Failed to
> reproject the envelope ReferencedEnvelope[555351.2887373341 :
> 555638.524757687, 6652473.9107269235 : 6652601.703883586] to PROJCS["Belge
> 1972 / Belgian Lambert 72",
>   GEOGCS["Belge 1972",
> DATUM["Reseau National Belge 1972",
>   SPHEROID["International 1924", 6378388.0, 297.0,
> AUTHORITY["EPSG","7022"]],
>   TOWGS84[-106.8686, 52.2978, -103.7239, 0.3366, 0.457, -1.8422,
> -1.2747],
>   AUTHORITY["EPSG","6313"]],
> PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
> UNIT["degree", 0.017453292519943295],
> AXIS["Geodetic longitude", EAST],
> AXIS["Geodetic latitude", NORTH],
> AUTHORITY[&q

Re: [Geoserver-users] Dependencies for WPS process example

2018-07-05 Thread Andrea Aime
Hi,
that artifact is available in maven central, which should also be tried at
every build.
Maybe you have had a network issue? Try the build again, adding -U to force
retrying the repos.

Cheers
Andrea


On Wed, Jul 4, 2018 at 6:29 PM, Lubomír Bucek  wrote:

> Dear all,
> I tried to follow the WPS processing example on
> http://docs.geoserver.org/latest/en/developer/programming-guide/wps-
> services/implementing.html#wps-services-implementing
> changing the versions of Geotools to 19.1, which I currently have
> installed with Geoserver 2.13.1.
> However, when I tried to compile it using Maven, I got this dependency
> error:
>
> [ERROR] Failed to execute goal on project wps-rescale: Could not resolve
> dependencies for project org.geoserver:wps-rescale:jar:2.13.1: The
> following artifacts could not be resolved: jgridshift:jgridshift:jar:1.0,
> javax.media:jai_imageio:jar:1.1, javax.media:jai_codec:jar:1.1.3,
> javax.media:jai_core:jar:1.1.3: Could not find artifact
> jgridshift:jgridshift:jar:1.0 in boundless (http://repo.boundlessgeo.com/
> main/) -> [Help 1]
>
> A dependency causing this problem was:
>  
>org.geotools
>gt-process
>19.1
>  
>
> These artifacts were not found in boundlessgeo repository.
> I was able to fix the Maven build adding another repository to
> repositories:
> 
> geomajas
> Geomajas Maven Repository
> http://maven.geomajas.org/
> 
>
> Could anyone please confirm that this issue is reproducible?
> If yes, it would be great to add the missing to the repository or update
> the guide.
>
> Best regards
> Lubomír Bucek
> https://www.linkedin.com/in/lubomir-bucek-ml/
>
>
> 
> --
> 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


Re: [Geoserver-users] Dependencies for WPS process example

2018-07-05 Thread Andrea Aime
Hi,
yes, looks like the file is actually available on the GeoMajas repo and not
in central:
https://mvnrepository.com/artifact/jgridshift/jgridshift/1.0

The GeoTools and GeoServer builds are working because they reference
another repository owning
the jar:

  
osgeo
Open Source Geospatial Foundation Repository
http://download.osgeo.org/webdav/geotools/

  

See:
http://download.osgeo.org/webdav/geotools/jgridshift/jgridshift/1.0/

It's probably best if the tutorial is updated to have this repository
mentioned but the developer
documentation of GeoServer is basically un-maintained at this point.
Do you have time to make a pull request to update that doc? It's here:

https://github.com/geoserver/geoserver/blob/master/doc/en/developer/source/programming-guide/wps-services/implementing.rst

If you are not familiar with git, the following "quick-fix" tutorial might
help:
http://docs.geoserver.org/latest/en/docguide/quickfix.html

Cheers
Andrea



On Thu, Jul 5, 2018 at 1:32 PM, Lubomír Bucek  wrote:

> Hello,
> yes I looked at the trace more closely and it indeed does try to fetch it
> from maven central
> Downloading from boundless: http://repo.boundlessgeo.com/
> main/jgridshift/jgridshift/1.0/jgridshift-1.0.pom
> Downloading from central: https://repo.maven.apache.org/
> maven2/jgridshift/jgridshift/1.0/jgridshift-1.0.pom
> [WARNING] The POM for jgridshift:jgridshift:jar:1.0 is missing, no
> dependency information available
> Can it be the case that it tries to fetch it from Maven 2 repository even
> though I have Maven 3.5.4 downloaded from the official site as bin?
> Previously I was trying with Maven 3.3.9 from sudo apt install maven (no
> ppa) with the same result. Even the install from another source and newer
> version did not fix it though.
> My pom.xml can be seen here: https://gist.github.com/lubojr/
> c36288d4e92d5a47b0fd3610af99cf80
> Even though my problem is fixed using Geomajas repository, do you have an
> idea if I need to reconfigure Maven anyhow to actually be able to download
> it from maven central?
>
> Best regards and thanks for response
> Lubomír
>
>
> Hi,
> that artifact is available in maven central, which should also be tried at
> every build.
> Maybe you have had a network issue? Try the build again, adding -U to
> force retrying the repos.
>
> Cheers
> Andrea
>
>
> On Wed, Jul 4, 2018 at 6:29 PM, Lubomír Bucek  wrote:
>
> Dear all,
> I tried to follow the WPS processing example on
> http://docs.geoserver.org/latest/en/developer/programming-
> guide/wps-services/implementing.html#wps-services-implementing
> changing the versions of Geotools to 19.1, which I currently have
> installed with Geoserver 2.13.1.
> However, when I tried to compile it using Maven, I got this dependency
> error:
>
> [ERROR] Failed to execute goal on project wps-rescale: Could not resolve
> dependencies for project org.geoserver:wps-rescale:jar:2.13.1: The
> following artifacts could not be resolved: jgridshift:jgridshift:jar:1.0,
> javax.media:jai_imageio:jar:1.1, javax.media:jai_codec:jar:1.1.3,
> javax.media:jai_core:jar:1.1.3: Could not find artifact
> jgridshift:jgridshift:jar:1.0 in boundless (http://repo.boundlessgeo.com/
> main/) -> [Help 1]
>
> A dependency causing this problem was:
>  
>org.geotools
>gt-process
>19.1
>  
>
> These artifacts were not found in boundlessgeo repository.
> I was able to fix the Maven build adding another repository to
> repositories:
> 
> geomajas
> Geomajas Maven Repository
> http://maven.geomajas.org/
> 
>
> Could anyone please confirm that this issue is reproducible?
> If yes, it would be great to add the missing to the repository or update
> the guide.
>
> Best regards
> Lubomír Bucek
> https://www.linkedin.com/in/lubomir-bucek-ml/
>
>
> 
> --
> 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-req
> uesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.n

Re: [Geoserver-users] WFS INSPIRE GetFeature-Request is not valid

2018-07-10 Thread Andrea Aime
Hi Tim,
I'm not sure if it's going to help with complex features too, but try to go
in the WFS service configuration, and set it to use the canonical schema
locations:




Cheers
Andrea

On Tue, Jul 10, 2018 at 2:53 PM, Tim Balschmiter  wrote:

> Hi Geoserver-Community,
>
> i´m still using geoserver in version 2.13.1 combined with the
> app-schema plugin. I´ve added a lots of namespaces and everything seems
> to work fine. But the XML-Output of this request:
>
> http://geo.sv.rostock.de/inspire/us-govserv-schools/
> ows?service=WFS&version=2.0.0&request=GetFeature&typeNames=
> us-govserv-schools:GovernmentalService&outputFormat=gml32&count=1
>
> is not valid.
>
>
> In my opinion the xml uses the wrong schemalocation:
>
>  xsi:schemaLocation="http://www.opengis.net/wfs/2.0
> http://geo.sv.rostock.de/inspire/schemas/wfs/2.0/wfs.xsd
> http://inspire.ec.europa.eu/schemas/us-govserv/4.0
> http://inspire.ec.europa.eu/schemas/us-govserv/4.0/
> GovernmentalServices.xsd
> http://www.opengis.net/gml/3.2
> http://geo.sv.rostock.de/inspire/schemas/gml/3.2.1/gml.xsd";
>
>
> When i changed it to:
>
>  xsi:schemaLocation="http://www.opengis.net/wfs/2.0
> http://schemas.opengis.net/wfs/2.0/wfs.xsd
> http://inspire.ec.europa.eu/schemas/us-govserv/4.0
> http://inspire.ec.europa.eu/schemas/us-govserv/4.0/
> GovernmentalServices.xsd
> http://www.opengis.net/gml/3.2
> http://schemas.opengis.net/gml/3.2.1/gml.xsd";
>
> the validation is correct.
>
>
> Maybe some you can explains, whats going wrong.
>
> best regards
> Tim
>
>
>
> 
> --
> 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


Re: [Geoserver-users] GeoServer 404 response -- java.lang.NoClassDefFoundError: javax/transaction/TransactionManager

2018-07-10 Thread Andrea Aime
ng 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


Re: [Geoserver-users] GetfeatureInfo with same layer twice with different styles

2018-07-10 Thread Andrea Aime
On Mon, Jul 9, 2018 at 10:47 PM, László Németh 
wrote:

> Hi,
>
> We are using geoserver v2.13. We have a database layer named RAWDWG_T with
> two associated styles named RAWDWG_SAJAT_OSZLOPSOR
> and RAWDWG_SAJAT_ALEPITMENY.
> The styles are not defining rule for all the features of the layer, so the
> styles also filter the content of the layers.
>
> The issue is that we request GetFeatureInfo to Geoserver with parameters:
>
> LAYERS=RAWDWG_T,RAWDWG_T
> QUERY_LAYERS=RAWDWG_T,RAWDWG_T
> STYLES=RAWDWG_SAJAT_OSZLOPSOR,RAWDWG_SAJAT_ALEPITMENY
>
> we only get the features filtered by RAWDWG_SAJAT_OSZLOPSOR but we get
> them twice. If we exchange the layers order we get only
> RAWDWG_SAJAT_ALEPITMENY twice as well.
> *Is this a feature or a bug?*
>

It's working as expected, different styles can perform different filtering
and result in different features.
The engine is also "streaming" by design, does not keep features in memory,
just dumps them one by one on output.
In theory, one could work out a new request vendor option, or
configuration, that removes duplicates in the result, if you're after it
check this guide:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

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.*
--
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] GetfeatureInfo with same layer twice with different styles

2018-07-11 Thread Andrea Aime
On Wed, Jul 11, 2018 at 12:01 AM, László Németh 
wrote:

> Hi Andrea,
>
> Thank you for your response but I am not sure if I explained it clearly.
>

You did, my answer is still valid (but I understand you not liking it ;-) )


>
> We reqest the same layers with two different styles in the same WMS
> request (using layers and styles parameter, both comma separated).
> Duplicates are OK, but I would expect to get a "union all” of the features
> from both style filters, but we only get the features of the first style
> but duplicated (features resulted by the second style in the list are
> missing).
>
> So request LAYER=APPLE with STYLE=green results in one, green apple
> feature, request LAYER=APPLE with STYLE=red results in one, red apple
> feature
> and request with LAYER=APPLE,APPLE and STYLE=green,red results in the
> green apple feature twice. Is this the way it should work?
>

The WMS specification says nothing about how GetFeatureInfo should be
implemented, it's completely freeform.
In GeoServer the layers in the list are processed independently, there is
no check for layer repetition or logic to avoid generating
the same feature twice, for both simplicity and efficiency.

In any case, in absence of a firm indication from the WMS spec arguing what
would be the "correct" behavior is pointless,
but even if we agreed it was a bug, it would not change the end result, the
GPL license also states, among other things,
"SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
SERVICING,
REPAIR OR CORRECTION" (all open source licenses have a similar clause, but
the GPL is particular direct in this respect).
I know reading it can be tedious, but it's a good read anyways, for anyone
that still hasn't had a look, here, it's good to know
what you actually get alongside the free software:
https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

As said, implementing the behavior you desire would be possible, but it's
up to you to find the development resources to do so.
It's not going to be a massive change, but not a completely trivial one
either to get it done properly
(e.g., considering for example layers without a stable feature identifier,
rendering transformations making up features on the fly,
changing the old featureinfo engine which can still be activated by a flag,
and so on).

Let me also offer two workarounds:

   - if you have control over the client the easiest thing would be to
   request FeatureInfo as GeoJSON and the remove the duplicates client side
   - if you have control over the server, you can build a single style
   generating the full response by putting the contents of the two existing
   styles as two consequent FeatureTypeStyle elements

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


Re: [Geoserver-users] GetfeatureInfo with same layer twice with different styles

2018-07-11 Thread Andrea Aime
Oh!
Yeah, I did not understand that. If you can reproduce this against a
default installation of GeoServer (e.g., using the topp:states layer)
then please create a ticket at
https://osgeo-org.atlassian.net/projects/GEOS/summary with steps to
reproduce, styles and requests to use.
If you want to use your own dataset that's also fine, but you'll have to
attach a sample of that in the ticket too (and make sure
it's complete enough to reproduce the issue)

Cheers
Andrea


On Wed, Jul 11, 2018 at 9:39 AM, Németh László 
wrote:

> Hi Andrea,
>
> I really respect your quick and detailed answers, but i still feel that
> you do not get me right. We can cope with duplicates the problem i have no
> workaround for is that features are MISSING.
>
> Or do I misunderstand?
>
> BR,
> Laszlo
>
> Sent from my mobile
>
> On 2018. Jul 11., at 9:30, Andrea Aime 
> wrote:
>
> On Wed, Jul 11, 2018 at 12:01 AM, László Németh 
> wrote:
>
>> Hi Andrea,
>>
>> Thank you for your response but I am not sure if I explained it clearly.
>>
>
> You did, my answer is still valid (but I understand you not liking it ;-) )
>
>
>>
>> We reqest the same layers with two different styles in the same WMS
>> request (using layers and styles parameter, both comma separated).
>> Duplicates are OK, but I would expect to get a "union all” of the
>> features from both style filters, but we only get the features of the first
>> style but duplicated (features resulted by the second style in the list are
>> missing).
>>
>> So request LAYER=APPLE with STYLE=green results in one, green apple
>> feature, request LAYER=APPLE with STYLE=red results in one, red apple
>> feature
>> and request with LAYER=APPLE,APPLE and STYLE=green,red results in the
>> green apple feature twice. Is this the way it should work?
>>
>
> The WMS specification says nothing about how GetFeatureInfo should be
> implemented, it's completely freeform.
> In GeoServer the layers in the list are processed independently, there is
> no check for layer repetition or logic to avoid generating
> the same feature twice, for both simplicity and efficiency.
>
> In any case, in absence of a firm indication from the WMS spec arguing
> what would be the "correct" behavior is pointless,
> but even if we agreed it was a bug, it would not change the end result,
> the GPL license also states, among other things,
> "SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
> SERVICING,
> REPAIR OR CORRECTION" (all open source licenses have a similar clause, but
> the GPL is particular direct in this respect).
> I know reading it can be tedious, but it's a good read anyways, for anyone
> that still hasn't had a look, here, it's good to know
> what you actually get alongside the free software:
> https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
>
> As said, implementing the behavior you desire would be possible, but it's
> up to you to find the development resources to do so.
> It's not going to be a massive change, but not a completely trivial one
> either to get it done properly
> (e.g., considering for example layers without a stable feature identifier,
> rendering transformations making up features on the fly,
> changing the old featureinfo engine which can still be activated by a
> flag, and so on).
>
> Let me also offer two workarounds:
>
>- if you have control over the client the easiest thing would be to
>request FeatureInfo as GeoJSON and the remove the duplicates client side
>- if you have control over the server, you can build a single style
>generating the full response by putting the contents of the two existing
>styles as two consequent FeatureTypeStyle elements
>
> 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
> --- *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 è ill

Re: [Geoserver-users] problem GWC seed - wms data security

2018-07-11 Thread Andrea Aime
Hi,
yes, that seems like a good approach (both, I like the spring one better)

GeoServer developers are normally too busy to handle patches in this format
though, the way to contribute to the code is
explained here:
https://github.com/geoserver/geoserver/blob/master/CONTRIBUTING.md

It's basically the same rules followed by core developers (e.g., if we had
to pick up your patch, we'd still
have to create a pull request and write a test for it before merging the
change)

Best regards
Andrea


On Tue, Jul 3, 2018 at 4:29 PM, PeterSm  wrote:

> geowolf wrote
> > On Wed, Jul 8, 2015 at 1:39 PM, Mikael Karlsson <
>
> > mikael.karlsson@
>
> > >
> > wrote:
> >
> >>  It sounds logical. Feel like more people should come across this
> >> problem, no one managed to winkle a workaround for it?
> >>
> >
> > I don't think a workaround is possible, the threads doing the seeding are
> > completely isolated from the request cycles, you either
> > pass some information explicitly, or it cannot get there.
> > The change per se should not be too hard, but as usual, a very small
> > portion of the community is willing/able
> > to contribute a change, or to sponsor one via commercial support.
> >
> > Cheers
> > Andrea
>
> 3 years later, and I believe that we have a simple work-around for this
> problem that still exists in GeoServer/GeoWebCache.
>
> As a brief recap, if a GS layer is secured under menu item Security > Data,
> then when a seeding task is initiated in GWC, the following error is logged
> in GS:
>
>
> > Cannot access layer XYZ as anonymous
>
> As Andrea mentions above, this is because the Spring Authentication object
> is not fed into the seeding threads.  This can be solved by 3 lines of code
> in
> https://github.com/GeoWebCache/geowebcache/blob/
> master/geowebcache/rest/src/main/java/org/geowebcache/
> rest/service/FormService.java#L225:
>
>
> > Authentication authentication =
> > SecurityContextHolder.getContext().getAuthentication();
> > SecurityContextHolder.setStrategyName(SecurityContextHolder.MODE_
> INHERITABLETHREADLOCAL);
> > SecurityContextHolder.getContext().setAuthentication(authentication);
>
> But there's an even easier, non-code solution, and that is to insert the
> following bean into geoserver/WEB-INF/dispatcher-servlet.xml, which
> currently does not have any beans:
>
>
> >
> >  > class="org.springframework.beans.factory.config.
> MethodInvokingFactoryBean">
> >
> >  > value="org.springframework.security.core.context.SecurityContextHolder"
> />
> >
> > 
> >
> > 
> >
> > 
>
>
> We have tested this in production, and if you initiate the seeding task
> while logged in as (or POST with the credentials of) a user with access to
> the layer, this Authentication object will be copied into the seeding
> threads, and it works 100% correctly.
>
> I really hope this helps someone else.  My company, AfriGIS, has spent many
> hours looking for a solution.
>
> Regards
>
> Peter Smythe
> AfriGIS
> South Africa
>
>
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-
> f3786390.html
>
> 
> --
> 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

Re: [Geoserver-users] Loading a folder of tfw and tif files

2018-07-11 Thread Andrea Aime
On Wed, Jul 11, 2018 at 2:57 PM, Haynes, Scott R 
wrote:

> I got a subset of the 5M imagery to publish, although the imagery has some
> issues(mostly edge cases).  Maybe I should try the nightly build as someone
> had previously mentioned, although I may have issues installing a newer
> version.  Oh security…
>
>
>
> Is the nightly build created from the master branch on github?
>

This one is: https://build.geoserver.org/geoserver/master/

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.*
--
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] [Geoserver-devel] Pre-Proposal: WPS Extension "GetExecutions" Operation

2018-07-12 Thread Andrea Aime
Hi Alessio,
a few questions to help clarify your proposal:

   - Right now the list of executions is visible only to the administrator
   via the GUI. How does this request work authorization wise? Anyone can see
   all executions? Or only the ones he started as an authenticated user?
   - What info gets returned? Same as in the GUI right now? More?
   - How does one filter the list of returned values?

Cheers
Andrea


On Thu, Jul 12, 2018 at 11:12 AM, Alessio Fabiani <
alessio.fabi...@geo-solutions.it> wrote:

> Dear lists,
> I would like here to ask your opinion about a possible
> extension/improvement of the GeoServer WPS Service.
>
> *The main goal of this proposal is to allow a client to recognize the list
> of WPS Executions through a simple request to a WPS Operation. What we
> would like to achieve would be something similar to this:*
>
> [image: image.png]
>
>
>
> *The client makes a simple “GetExecutions” request to the WPS Server, in
> order to get back an XML document containing the list of current Execution
> Statuses.Ideally should be possible also to filter the “GetExecutions”
> request along with simple parameters, in order to refine the output and get
> back only the executions status we are looking for.Adding a bit more to
> this, if AUTHORIZATION headers are sent along with the “GetExecutions”
> request, the WPS Server should be able, if a security subsystem is
> available and enable on the latter, of provide also the list of eventually
> private/protected resources to the client itself.Part of this proposal is
> also to review and improve the “lineage” option of the WPS service,
> allowing a client to retrieve the Execute Inputs values provided to the
> process Identifier.*
> Thoughts?
>
> --
>
> ==
>
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
> Ing. Alessio Fabiani
>
> @alfa7691
> Founder/Technical Lead
>
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob:   +39 331 6233686
>
>
> 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-devel mailing list
> geoserver-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>


-- 

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 E

Re: [Geoserver-users] [Geoserver-devel] Pre-Proposal: WPS Extension "GetExecutions" Operation

2018-07-13 Thread Andrea Aime
IdentifierUnambiguous identifier of a process within a WPS
> instance.Filters out all the jobs not belonging to the specified process
> identifier.ows:Identifier Value shall be one of the process identifiers
> listed in the ProcessSummary elements in the Capabilities document.Zero or
> one (optional).StatusWell-known identifier describing the status of the
> job.Filters out all the jobs with an Execution Status different from the
> one specified.String{PENDING, RUNNING, FAILED, CANCELED, FINISHED} bZero or
> one (optional).OrderByOne of the OWNER, IDENTIFIER, STATUS.The Response
> Document will be ordered accordingly to the value specified. If not value
> has been specified, the list of Processed will be ordered by Identifier and
> ExecutionDate.String{OWNER, IDENTIFIER, STATUS}Zero or one (optional).a) It
> must match one of the usernames available on the Server, if any available.
> GetStatusesListResponse contents may vary accordingly to security
> constraints.b) The basic status set is defined in
> http://docs.opengeospatial.org/is/14-065/14-065.html
> <http://docs.opengeospatial.org/is/14-065/14-065.html> Table 3. Additional
> states may be defined by certain operations or extensions of this standard.*
>

Makes sense yes.

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.*
--
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] Geoserver+postgis: how to complete creating database via REST API?

2018-07-13 Thread Andrea Aime
Hi,
my guess is that the REST API is making no attempt at using the store, and
thus, does not create an instance
of it (which is what makes the factory create the store and the actual
database as a side effect).
Thinking out loud, can you try listing the feature types in the store, with
the list=all, which should make it list
all the available tables, thus forcing it to connect?

See also:
http://docs.geoserver.org/latest/en/api/#/1.0.0/featuretypes.yaml

Cheers
Andrea


On Wed, Jul 11, 2018 at 5:41 PM, Miodrag Vidanovic <
miodrag.vidano...@heidelberg-mobil.com> wrote:

> Hi everyone!
>
> I'm using geoserver 2.13.1 with postgres 9.5 and postgis 2.4.2.
>
> I am trying to use REST api to create workspace (works) and in it a
> datastore of postgis type. I have already prepared a template database in
> postgres and trying to use it here (this is the xml body of the post
> request to /geoserver/rest/workspaces/workspace_name/datastores):
>
> 
>
>   datastore_name
>
>   dummy description
>
>   PostGIS
>
>   true
>
>   
>
> false
>
> venue
>
> 1000
>
> 50
>
> 20
>
> false
>
> mydbname
>
> 5432
>
> 1
>
> postgis
>
> true
>
> localhost
>
> 10
>
> foo
>
> bar
>
> true
>
> WITH TEMPLATE=mydbtemplate
>
>   
>
>   <__default>true
>
> 
>
> The geoserver datastore is created as expected (and I'm getting 201 http
> code back), but the database itself is not created. No error messages. Only
> if I open that store now via geoserver web interface and click on the save
> button (without changing anything), only then is the database really
> created using desired template. So, all those params are correct, but there
> is something missing on the server side, like a commit or something, that
> would trigger the create db job.
>
> I have tried:
>
>- sending /reset and /reload requests afterwards - no db created
>- changing workspace and datastore properties with put request to
>trigger datastore saving somehow - changes are accepted, but no db created
>- I even tried sql injection by putting commit in that create database
>params entry after "with template" statement - also no error and no db
>created
>
> I don't see any other REST API function looking even remotely related to
> "apply changes". So, how can I achieve that via REST API?
>
>
>
> Cheers,
>
>   Mickey
>
>
>
>
>
> 
> --
> 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 r

Re: [Geoserver-users] [Geoserver-devel] Pre-Proposal: WPS Extension "GetExecutions" Operation

2018-07-13 Thread Andrea Aime
On Fri, Jul 13, 2018 at 3:04 PM, Alessio Fabiani <
alessio.fabi...@geo-solutions.it> wrote:

> Hi Andrea,
> not sure this is useful for our real use case. In our case we can send
> this estimate from the backend. In particular we are using the "wps-remote"
> plugin which completely relies on backend processes decoupled by an XMPP
> layer.
>

Eh, but you're still going through the general WPS machinery, so... you'll
have to find a way to provide that information for each and every possible
process. Looking forward to see how it's done in the proposal.

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.*
--
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] [Geoserver-devel] Pre-Proposal: WPS Extension "GetExecutions" Operation

2018-07-13 Thread Andrea Aime
On Fri, Jul 13, 2018 at 3:06 PM, Alessio Fabiani <
alessio.fabi...@geo-solutions.it> wrote:

> I forgot to mention that the processes running on the backend for the use
> case I was speaking about, are so heavy that the time spent to produce the
> outputs might be negligible.
>

Yep, just remember that you're still going through the WPS general
machinery like local processes, so think about the changes you have in
mind in general terms (how that affects your proposal, I don't know, just
suggesting something to consider).

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.*
--
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] Does Geoserver cache GeoJSON?

2018-07-17 Thread Andrea Aime
Hi, nope, as far as I know both GetFeature and GetFeatureInfo build the
result every time from the request and the source data, nothing relating to
data is cached.

What gets cached is "metadata", e.g. the structure of tables, the
configuration of layers, and so on

Cheers
Andrea

Il mar 17 lug 2018, 20:11 Baker, Matthew  ha
scritto:

> Hi all,
>
>
>
> I’m just wondering if Geoserver caches GeoJSON services.
>
>
>
> I’ve updated data in the PostGIS back-end, but the GeoJSON service isn’t
> updating with the changes.
>
>
>
> I think this ends up flushing out by the next day, but wondering if there
> is a way to force the GeoJSON service to update.
>
>
>
> I don’t see the same behavior in the other servies (SHP, TIF, CSV, etc.)
>
>
>
> Thanks!
>
>
>
> Matthew Baker
>
> Denver Public Schools
>
> matthew_ba...@dpsk12.org
>
>
>
>
>
>
>
> --
> 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
>
--
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] JP2 overlap: cannot make "white background" transparent

2018-07-20 Thread Andrea Aime
On Wed, Jul 18, 2018 at 1:11 PM, Adam Cecile  wrote:

> I just got it working with both TIF or JP2...
>
> The issue was JAI native library:
>
> http://docs.geoserver.org/latest/en/user/production/
> java.html#install-native-jai-and-imageio-extensions
> http://docs.geotools.org/latest/userguide/build/install/jdk.html#java-
> extensions-optional
> https://geoserver.geo-solutions.it/edu/en/install_run/jai_io_install.html
>
> As it was recommended everywhere for production performance I installed
> it. May I suggest opening an issue against documentation ?
>

Don't suggest, do it instead:
https://osgeo-org.atlassian.net/projects/GEOS/summary
The documentation is version controlled too, if you're familiar with git
you can make a pull request, for small
changes there is also this simplified approach:
http://docs.geoserver.org/latest/en/docguide/quickfix.html

Native JAI is faster but, at least in GeoSolutions, we are using it less
and less, in favour of jai-ext, which is slower but supports nodata,
supports a wider set of situations (e.g., mixed color model mosaics) and
has more fixes.
It's not a black or white situation though, if native jai does the job it's
better to use it for its higher performance, otherwise one
can try without (pure java jai, the default) or switch to jai-ext entirely
(to get even more functionality, requires a JVM switch to activate it).
We don't have a table laid out with what works best in which context,
honestly, if someone asked me, I would not have an answer.

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.*
--
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] Connect WMS server to Store

2018-08-02 Thread Andrea Aime
Hi,
I can confirm the error, but I don't have a quick solution.
It's probably related to the usage of chinese glyphs in the capabilites
document, something in the low level
XML parsing (the sax parser) does not seem to be handling them correctly.
But I'm not sure what or where, unfortunately all the active GeoServer
developers are from western countries
and as a result the software if often untested against non western charsets.

I'd suggest to open a ticket at
https://osgeo-org.atlassian.net/projects/GEOS/summary
with the above references.

Also, if you know any open source developer in your area, it would be nice
if you could point them at
GeoTools and GeoServer, we could certainly use help from people having a
better understanding of these
issues.
As an alternative, if it's a matter or urgency, you can also check
commercial support:
http://geoserver.org/support/
While again I believe delivered by westerners, the extra time allowed by
paid hours (vs the scarce spare
time of volunteer support) is likely to  get you a speedy solution.

Cheers
Andrea

On Thu, Aug 2, 2018 at 4:36 PM benchen  wrote:

> Hi
>
> I want to create a new stores to connect the wms server .
> But I got the problem with when i want to save this setup .
>
> I want to connect the server
> "
> http://gis.forest.gov.tw/arcgis/services/WMS/FHWMS/MapServer/WmsServer?REQUEST=GetCapabilities&VERSION=1.3.0&SERVICE=WMS
> "
> and it work .
> but I can not connect into the geoserver version 2.13
>
> thanks
>
>
> --Error Message--
> 2018-08-02 15:12:37,624 ERROR [xml.sax] - FATAL 元素類型 "br" 必須由配對的結束標記
> ""
> 終止。
> 2018-08-02 15:12:37,625 ERROR [xml.sax] - col 213, line 1
> 2018-08-02 15:12:37,625 ERROR [data.ows] - Failed to execute request
>
> http://gis.forest.gov.tw/arcgis/services/WMS/FHWMS/MapServer/WmsServer?REQUEST=GetCapabilities&VERSION=1.3.0&SERVICE=WMS
> 2018-08-02
> <http://gis.forest.gov.tw/arcgis/services/WMS/FHWMS/MapServer/WmsServer?REQUEST=GetCapabilities&VERSION=1.3.0&SERVICE=WMS2018-08-02>
> 15:12:37,744 ERROR [xml.sax] - FATAL 元素類型 "br" 必須由配對的結束標記 ""
> 終止。
> 2018-08-02 15:12:37,744 ERROR [xml.sax] - col 213, line 1
> 2018-08-02 15:12:37,744 ERROR [data.ows] - Failed to execute request
>
> http://gis.forest.gov.tw/arcgis/services/WMS/FHWMS/MapServer/WmsServer?REQUEST=GetCapabilities&VERSION=1.1.1&SERVICE=WMS
> 2018-08-02
> <http://gis.forest.gov.tw/arcgis/services/WMS/FHWMS/MapServer/WmsServer?REQUEST=GetCapabilities&VERSION=1.1.1&SERVICE=WMS2018-08-02>
> 15:12:37,795 ERROR [xml.sax] - FATAL 元素類型 "br" 必須由配對的結束標記 ""
> 終止。
> 2018-08-02 15:12:37,796 ERROR [xml.sax] - col 213, line 1
> 2018-08-02 15:12:37,796 ERROR [data.ows] - Failed to execute request
>
> http://gis.forest.gov.tw/arcgis/services/WMS/FHWMS/MapServer/WmsServer?REQUEST=GetCapabilities&VERSION=1.1.0&SERVICE=WMS
> 2018-08-02
> <http://gis.forest.gov.tw/arcgis/services/WMS/FHWMS/MapServer/WmsServer?REQUEST=GetCapabilities&VERSION=1.1.0&SERVICE=WMS2018-08-02>
> 15:12:37,846 ERROR [xml.sax] - FATAL 元素類型 "br" 必須由配對的結束標記 ""
> 終止。
> 2018-08-02 15:12:37,846 ERROR [xml.sax] - col 213, line 1
> 2018-08-02 15:12:37,846 ERROR [data.ows] - Failed to execute request
>
> http://gis.forest.gov.tw/arcgis/services/WMS/FHWMS/MapServer/WmsServer?wmtver=1.0.0&request=capabilities
> 2018-08-02
> <http://gis.forest.gov.tw/arcgis/services/WMS/FHWMS/MapServer/WmsServer?wmtver=1.0.0&request=capabilities2018-08-02>
> 15:13:04,288 ERROR [xml.sax] - FATAL 元素類型 "br" 必須由配對的結束標記 ""
> 終止。
> 2018-08-02 15:13:04,288 ERROR [xml.sax] - col 213, line 1
> 2018-08-02 15:13:04,288 ERROR [data.ows] - Failed to execute request
> ---
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> --
> 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
>
>
> 

Re: [Geoserver-users] Newly added layers not rendering with GeoServer 2.13.2

2018-08-06 Thread Andrea Aime
Hi,
I haven't stumbled into this issue before, but I don't look much into
Windows deploys.
I can only guess... are you using the default data directory, and is it
placed in "c:\programs\..."?
If so, I have vague memories of Windows having some sort of protection
under there, not allowing
changes on disk (actually, reverting them I believe).

If that's the case, maybe install setting an external data directory (it's
always good practice anyways)
and make sure the user that's running the GeoServer service can write on it

Cheers
Andrea


On Sat, Aug 4, 2018 at 1:51 AM Carlock, Brett 
wrote:

> Hi! Firstly, thanks for your excellent software. GeoServer is an amazing
> tool and I have rather enjoyed my time learning about it this past year.
>
>
>
> Background:
>
> Windows x64 Host (Server 2012)
>
> Oracle JRE8v181 x86
>
> Pure Java JAI/JIO
>
> GeoServer v2.13.2 installed as a Service with the Tanuki Wrapper
>
> GeoServer data-dir that has been migrated from 2.5.x up to 2.13.2
>
> Semi-Manual rename of files/folders and edits of coverage/layer/store xml
> files to make everything XML-Safe accomplished by me when migrating from
> 2.8.x to versions beyond (2.12.3) [a whole other issue :C]
>
> Things worked fine until migration from 2.12.3 to 2.13.0.
>
>
>
> Issue summary:
>
> Layers that I add with new Stores (for example: Rx.tiff or Rx.shp with
> associated SLD) will be rendered perfectly fine in the Preview Layers
> section in GeoServer, as well as being able to be seeded/cached using the
> embedded GWC, and the cached tiles previewed perfectly fine through the GWC
> Tile Layers Preview function.
>
>
>
> QGIS v2.18.22 and v3.2.1 load/display/query the above layers perfectly
> fine.
>
>
>
> Gdalinfo does not report anything that appears to be amiss to me.
>
>
>
> These same layers WILL NOT draw/display through our website wrapper (based
> upon OpenLayers), yet layers that existed prior will render just fine.
>
>
>
> Neither the wrapper log nor the data-dir log seem to throw any
> exceptions/info/warn when those layers are “turned on” in our web wrapper.
>
>
>
> I’ve looked through the mailinglist, Bing/Google, SE, SO and have not come
> across this issue before.
>
>
>
> I’ve almost convinced myself that nuking our data-dir and rebuilding
> manually would be worthwhile since I’m sure I introduced some funkiness
> when I did my XML-Safe sprint to get beyond 2.8.x, but there are around
> 1000 layers/stores and about 230 workspaces, so I’m hoping I can (with some
> help/guidance/knowledge) fix up what we have running.
>
>
>
> Thank you sincerely for your time and any help I may receive,
>
> Brett
>
> --
> 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

Re: [Geoserver-users] Newly added layers not rendering with GeoServer 2.13.2

2018-08-06 Thread Andrea Aime
On Mon, Aug 6, 2018 at 6:48 PM Carlock, Brett 
wrote:

> Hi Andrea! I feel pretty fancy getting help from you 😃
>

Eeh, being it a Windows server I cannot offer much of it.


>
>
> In our config, we have our data_dir on a separate storage volume with RWX
> access for all users on the machine, so I don’t believe permissions/ACL
> issues are coming into play here.
>
>
>
> To confirm, we can add/remove/rename/reconfigure
> stores/layers/styles/settings, so as far as I can tell, GeoServer has the
> access to the data_dir and its subdirectories it needs to function properly.
>
> To further confirm, would it throw an exception or warning in the logs if
> it didn’t? I can take a poke through to ensure that this isn’t happening.
>

I would expect to see an exception in the logs if it was not writable, but
not sure what would happen if
Windows reverted the contents of the files/directories. It may be a data
issue... where is the data coming from?

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.*
--
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] [Geoserver-devel] GSIP 169 - WPS Extension "GetExecutions" Operation

2018-08-07 Thread Andrea Aime
Hi Alessio,
some quick feedback.

About
https://github.com/geoserver/geoserver/wiki/GSIP-169#statusinfo-document

   - How do you compute the estimated completion and the next poll? Do they
   need a API change in the WPS core?
   - The JobId is the id of the execution, while the identifier is the
   process "name"?


About
https://github.com/geoserver/geoserver/wiki/GSIP-169#getexecutionsexceptions
When does a GetExecutions request throw a DataNotAccessible, ServerBusy, or
WrongInputData
exception? The GetExecutions operations should be a light one and it would
be bad imho not to
get the desired list because one of the processes has had invalid inputs
(but maybe I don't understand
exactly when these are meant to be thrown).

Cheers
Andrea


On Fri, Aug 3, 2018 at 11:22 AM Alessio Fabiani <
alessio.fabi...@geo-solutions.it> wrote:

> Dear all, dear PSC,
> please find details about GSIP 169 @
>
> https://github.com/geoserver/geoserver/wiki/GSIP-169
>
> comments and feedbacks are appreciated.
>
> thanks,
> Alessio.
>
> --
>
> ==
>
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
> Ing. Alessio Fabiani
>
> @alfa7691
> Founder/Technical Lead
>
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob:   +39 331 6233686
>
>
> 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-devel mailing list
> geoserver-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>


-- 

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

Re: [Geoserver-users] Newly added layers not rendering with GeoServer 2.13.2

2018-08-07 Thread Andrea Aime
Hi,
I had misresad your original message, given the other conversations it
would indeed appear to be a network issue
of sorts

Cheers
Andrea

On Tue, Aug 7, 2018 at 4:50 PM Carlock, Brett 
wrote:

> Any direction/assistance is more than appreciated.
>
>
>
> I see no indication that Windows is doing anything untoward with the
> content of the data_dir (reverts, etc). Nothing’s going missing, and
> changes I make against geoserver’s config seem to stick.
>
>
>
> The data are generated mostly by myself in-house, either out of QGIS (v3.x
> most recently, v2.x before) or Manifold GIS 8. Shapefiles and GeoTiff,
> primarily.
>
>
>
> I’ve attached sanitized outputs of gdalinfo for both layers in case that
> helps determine what might be at play here, but rest assured that they
> project/display properly in the proper locations with QGIS, so don’t mind
> the corner coordinates section being REDACTED.
>
>
>
> Thanks!
>
> Brett
>
>
>
> *From:* Andrea Aime 
> *Sent:* Monday, August 6, 2018 1:14 PM
> *To:* Carlock, Brett 
> *Cc:* GeoServer Mailing List List 
> *Subject:* Re: [Geoserver-users] Newly added layers not rendering with
> GeoServer 2.13.2
>
>
>
> On Mon, Aug 6, 2018 at 6:48 PM Carlock, Brett 
> wrote:
>
> Hi Andrea! I feel pretty fancy getting help from you 😃
>
>
>
> Eeh, being it a Windows server I cannot offer much of it.
>
>
>
>
>
> In our config, we have our data_dir on a separate storage volume with RWX
> access for all users on the machine, so I don’t believe permissions/ACL
> issues are coming into play here.
>
>
>
> To confirm, we can add/remove/rename/reconfigure
> stores/layers/styles/settings, so as far as I can tell, GeoServer has the
> access to the data_dir and its subdirectories it needs to function properly.
>
> To further confirm, would it throw an exception or warning in the logs if
> it didn’t? I can take a poke through to ensure that this isn’t happening.
>
>
>
> I would expect to see an exception in the logs if it was not writable, but
> not sure what would happen if
>
> Windows reverted the contents of the files/directories. It may be a data
> issue... where is the data coming from?
>
>
>
> 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.*
>


-- 

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 fro

Re: [Geoserver-users] WMS workspace error

2018-08-07 Thread Andrea Aime
er(ApplicationFilterChain.java:193)
>>>>at 
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>>at 
>>>> org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
>>>>at 
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>>at 
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>>at 
>>>> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
>>>>at 
>>>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>>>>at 
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>>at 
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>>at 
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
>>>>at 
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
>>>>at 
>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
>>>>at 
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
>>>>at 
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
>>>>at 
>>>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
>>>>at 
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
>>>>at 
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
>>>>at 
>>>> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
>>>>at 
>>>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
>>>>at 
>>>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
>>>>at 
>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
>>>>at 
>>>> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
>>>>at 
>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>>>at 
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>>>at 
>>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>>>>at java.lang.Thread.run(Thread.java:748)
>>>> Caused by: java.lang.NullPointerException
>>>>
>>>> 
>>>>
>>>> Thank you for any help you can provide.
>>>>
>>>> --
>>>> Kris Johnson
>>>> Natural Resources Research Institute
>>>> 5013 Miller Trunk Highway, Duluth, MN 55811
>>>> <https://maps.google.com/?q=5013+Miller+Trunk+Highway,+Duluth,+MN+55811&entry=gmail&source=g>
>>>> p: 218.788.2767
>>>> www.nrri.umn.edu
>>>>
>>>>
>>>
>>>
>>> --
>>> Kris Johnson
>>> Natural Resources Research Institute
>>> 5013 Miller Trunk Highway, Duluth, MN 55811
>>> <https://maps.google.com/?q=5013+Miller+Trunk+Highway,+Duluth,+MN+55811&entry=gmail&source=g>
>>> p: 218.788.2767
>>> www.nrri.umn.edu
>>>
>>>
>>> --
>>> 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
>>>
>>
>
>
> --
> Kris Johnson
> Natural Resources Research Institute
> 5013 Miller Trunk Highway, Duluth, MN 55811
> p: 218.788.2767
> www.nrri.umn.edu
>
>
> --
> 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


Re: [Geoserver-users] WMS workspace error

2018-08-07 Thread Andrea Aime
Ah, I see that you did not report the GeoServer version. If you're using an
old version, you might be affected by this one:
https://osgeo-org.atlassian.net/browse/GEOS-8291

Cheers
Andrea


On Tue, Aug 7, 2018 at 7:45 PM Andrea Aime 
wrote:

> Hi,
> the generic style is used only when it's not possible to determine the
> type of geometry in the table
> (unless you assigned it manually).
>
> If you have a step by step procedure to reproduce the issue it would be
> quite a valuable entry
> as a bug report here:
> https://osgeo-org.atlassian.net/projects/GEOS/summary
>
> Cheers
> Andrea
>
>
> On Tue, Aug 7, 2018 at 7:40 PM Kris Johnson  wrote:
>
>> Hello Ian & Co.,
>>
>> You might be onto something. When I assign a default style to a layer
>> that was previously broken, it now works.
>>
>> This is a fine solution for me, but I swear that times that I've used
>> Geoserver in the past, the "generic" style that Geoserver ships with is
>> used when a layer doesn't have a default assigned. Could this be due to my
>> layers existing in a workspace?
>>
>> Thanks for your help with this.
>>
>>
>> On Tue, Aug 7, 2018 at 12:24 PM, Ian Turton  wrote:
>>
>>> I'm pretty sure that you need to specify a default style for each layer.
>>>
>>> Ian
>>>
>>> On Tue, 7 Aug 2018, 18:07 Kris Johnson,  wrote:
>>>
>>>> Another bit of info to add to this is that the layers that work have a
>>>> default style assigned to them. And the layers that are not working do not
>>>> have a default style.
>>>> Are layers required to have a default style? I thought they would be
>>>> given a generic style in the instances were there was no default (or
>>>> otherwise) style specified.
>>>>
>>>> The documentation here (
>>>> http://docs.geoserver.org/stable/en/user/services/wms/reference.html)
>>>> states:
>>>> Styles in which layers are to be rendered. Value is a comma-separated
>>>> list of style names, or empty if default styling is required. Style names
>>>> may be empty in the list, to use default layer styling.
>>>>
>>>> On Tue, Aug 7, 2018 at 11:57 AM, Kris Johnson 
>>>> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> Some (but not all) of my layers are returning errors when trying to
>>>>> run a WMS GetMap request on them. This happens using both the openlayers
>>>>> Layer Preview and running regular HTTP requests from my web application.
>>>>>
>>>>> Here is the error I see in the logs:
>>>>> 2018-08-07 16:55:08,300 DEBUG
>>>>> [security.IncludeQueryStringAntPathRequestMatcher] - Matched Path:
>>>>> /nra/wms, QueryString:
>>>>> service=WMS&version=1.1.0&request=GetMap&layers=nra:c2012_congress&styles=&bbox=189777.188873508,4857128.36819381,762236.95884475,5472414.14367913&width=714&height=768&srs=EPSG:26915&format=application/openlayers
>>>>> with /**
>>>>> 2018-08-07 16:55:08,304 TRACE [ows.OWSHandlerMapping] - No handler
>>>>> mapping found for [/nra/wms]
>>>>> 2018-08-07 16:55:08,304 DEBUG [ows.OWSHandlerMapping] - Mapping
>>>>> [/nra/wms] to HandlerExecutionChain with handler
>>>>> [org.geoserver.ows.Dispatcher@4b46afd] and 1 interceptor
>>>>> 2018-08-07 16:55:08,304 INFO [geoserver.wms] -
>>>>> Request: getServiceInfo
>>>>> 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory
>>>>> can be applied from Strings to CRS  only.
>>>>> 2018-08-07 16:55:08,304 DEBUG [geotools.util] -
>>>>> InterpolationConverterFactory can be applied from Strings to Interpolation
>>>>> only.
>>>>> 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory
>>>>> can be applied from Strings to CRS  only.
>>>>> 2018-08-07 16:55:08,304 DEBUG [geotools.util] -
>>>>> InterpolationConverterFactory can be applied from Strings to Interpolation
>>>>> only.
>>>>> 2018-08-07 16:55:08,304 DEBUG [geoserver.ows] - Getting layers and
>>>>> styles from LAYERS and STYLES
>>>>> 2018-08-07 16:55:08,304 ERROR [geoserver.ows] -
>>>>> java.lang.NullPointerException
>>>>>
>>>>> And here is the error I see from the Layer Preview:
>>>>>
>>>&

Re: [Geoserver-users] WMS workspace error

2018-08-07 Thread Andrea Aime
On Tue, Aug 7, 2018 at 7:55 PM Kris Johnson  wrote:

> I don't think it's a version issue since I'm using version 2.13.1 on Linux.
> It might also be helpful to note that all datasets are being stored in a
> postgis database.
>

Ok. As said before, then please try to find a way to reproduce and share it
on the bug tracker :-)

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.*
--
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] GeoServer Bounding Box Concern / Zoom Error / Tile Access Error

2018-08-10 Thread Andrea Aime
On Fri, Aug 10, 2018 at 7:10 AM Tyler Youschak 
wrote:

> Hello all,
>
> I’m new to GeoServer and have found it to be quite interesting! I’ve read
> through the documentation and spent hours searching the internet to get
> where I’m at today – but that’s what brings me here. I’m stuck!
>
> I’m working on weather radar mapping using GeoServer. From the National
> Weather Service, I am able to download grib data and use gdal_translate to
> save the data as a tif.
>

Any reason not to use the GRIB reader available in GeoServer as an
extension?


> From there, I uploaded my tif to my GeoServer and created a store where I
> added my radar.tif as a GeoTIFF. Notice, I have a sld file for coloring my
> tif. Now the issue comes in with the BoundingBoxes – I have no clue what to
> enter for these fields and the server auto populated, but is what it auto
> populated with right?
>

It reflects what is declared in the source file headers, so it's as correct
as they are.
Normally it's not so hard to figure out if a dataset projection or bbox are
out of place, if you don't know the coordinates
a rough check can be made by taking some reference cartography (e.g.,
natural earth countries or admnistrative subdivision),
load it in Geoserver and ask for both layers, see if the data is in the
area you expected it to be.


> Now, this did allow me to view my data using the layer preview and I even
> tossed it on a web map I’m working on and that looks great (preview below),
> BUT if you zoom greater than 22 the tiles disappear. I do not believe that
> this should happen and I should be able to further zoom on a specific tile.
>

Are you oversampling the original, native resolution or the file by much?
Say 100 times or more? If so, it's a known issue, no one has been
bothered to fund a fix for it so far. Mind, as far as I know this is in
image processing, changing the source format should not result in a
different behavior, but... who knows :-)


> Finally, I then decided that I would try out the GeoWebCache and thought
> that maybe I could serve my web client tiles with zxy, and it appears that
> is a no go. If I try to access `
> http://104.156.249.38:8080/geoserver/gwc/service/tms/1.0.0/radar:radar-test-pallet@EPSG:4326@png/0/0/0.png`
> <http://104.156.249.38:8080/geoserver/gwc/service/tms/1.0.0/radar:radar-test-pallet@EPSG:4326@png/0/0/0.png>
> for instance, I get `Coverage [minx,miny,maxx,maxy] is [1, 0, 0, 0, 0],
> index [x,y,z] is [0, 0, 0]` and no map tile. I think this could be referred
> back to my original bounding box issue OR a gridset issue.
>

Hmmm.. here I'm not sure, never use TMS personally (I use WMTS insteadl),
others might be able to help you better.
GWC won't serve just any random tile, it has validity ranges depending on
the area covered by your source data (only serves tiles overlapping the
data bounding box)
Unfortunately TMS does not provide the validity ranges like WMTS does,
though the error message is a bit strange.

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

Re: [Geoserver-users] GeoServer Bounding Box Concern / Zoom Error / Tile Access Error

2018-08-10 Thread Andrea Aime
Hi Tyler,
lets first see if the konwn issue matches your case. Here is a low
resolution raster:

https://demo.geo-solutions.it/geoserver/nurc/wms?service=WMS&version=1.1.0&request=GetMap&layers=nurc:Arc_Sample&styles=&bbox=-180.0,-90.0,180.0,90.0&width=768&height=384&srs=EPSG:4326&format=application/openlayers

Zoom in on any area that has red pixels, until you get very close to scale
1:1 (yes, no kidding), and you should start seeing
white rectangles that should not really be there. Is this what you're
seeing?

If not, you can open a ticket at
https://osgeo-org.atlassian.net/projects/GEOS/summary with:
* A sample dataset to reproduce the issue
* A request (URL) making it happen

Ah, one more small thing, we don't talk business on this list, if you want
quotation for one or more changes to GeoServer
you can contact privately these companies: http://geoserver.org/support/

Cheers
Andrea


On Fri, Aug 10, 2018 at 5:11 PM Tyler Youschak 
wrote:

> Thanks for your quick and detailed response. As for the first question I
> had, after much more research on what you suggested, I came across a
> StackExchange question, and answer, that helped solve my issue. Here is the
> link in case anyone is interested (I know these are archived in case anyone
> has similar questions):
> https://gis.stackexchange.com/questions/256215/wkt-for-epsg4326-with-lon-0-to-360-instead-of-180-to-180/273900
> <https://share.polymail.io/v1/z/b/NWI2ZGE1OGExNmE5/2kGCXkNlgcVqySzBsD06BmcYIT-JztvzAPx5ypuGvsMdYI-u14A7XwCqSwdn0EMLI-gaq9W69HvaJt1A2Q33yE3bXp66DyVVvvTPTZQyR5QuW313wTnDPO__UYWF7_VEGYaBwRCK26bh7t3jz1wFP6mRpE-gfcg-IZh2YIs8jA8NUUQKzoR4GKcr-Ky51NjqHHvHAo7Jo3uF9tOSegeJWg2YttZus9_2zkbwKixsxZ6oM1LwBDtNkX4n-A412ceZ2AS8_f4FWanzRwJ4iqZbGhtobmhQlwMgYWuKeA0_-Ie4hHMqabw=>
> .
>
> Now, as for the issue with oversampling, that could very well be my issue.
> My source image is 7000 x 3500, so I am wondering that it could be an
> issue. It’s also happening with raw grib data to. How much would it cost to
> fund a fix?
>
> Thanks,
> Tyler Youschak
>
> On Fri, Aug 10, 2018 at 3:07 AM Andrea Aime  > wrote:
>
>> On Fri, Aug 10, 2018 at 7:10 AM Tyler Youschak 
>> wrote:
>>
>>> Hello all,
>>>
>>> I’m new to GeoServer and have found it to be quite interesting! I’ve
>>> read through the documentation and spent hours searching the internet to
>>> get where I’m at today – but that’s what brings me here. I’m stuck!
>>>
>>> I’m working on weather radar mapping using GeoServer. From the National
>>> Weather Service, I am able to download grib data and use gdal_translate to
>>> save the data as a tif.
>>>
>>
>> Any reason not to use the GRIB reader available in GeoServer as an
>> extension?
>>
>>
>>> From there, I uploaded my tif to my GeoServer and created a store where
>>> I added my radar.tif as a GeoTIFF. Notice, I have a sld file for coloring
>>> my tif. Now the issue comes in with the BoundingBoxes – I have no clue what
>>> to enter for these fields and the server auto populated, but is what it
>>> auto populated with right?
>>>
>>
>> It reflects what is declared in the source file headers, so it's as
>> correct as they are.
>> Normally it's not so hard to figure out if a dataset projection or bbox
>> are out of place, if you don't know the coordinates
>> a rough check can be made by taking some reference cartography (e.g.,
>> natural earth countries or admnistrative subdivision),
>> load it in Geoserver and ask for both layers, see if the data is in the
>> area you expected it to be.
>>
>>
>>> Now, this did allow me to view my data using the layer preview and I
>>> even tossed it on a web map I’m working on and that looks great (preview
>>> below), BUT if you zoom greater than 22 the tiles disappear. I do not
>>> believe that this should happen and I should be able to further zoom on a
>>> specific tile.
>>>
>>
>> Are you oversampling the original, native resolution or the file by much?
>> Say 100 times or more? If so, it's a known issue, no one has been
>> bothered to fund a fix for it so far. Mind, as far as I know this is in
>> image processing, changing the source format should not result in a
>> different behavior, but... who knows :-)
>>
>>
>>> Finally, I then decided that I would try out the GeoWebCache and thought
>>> that maybe I could serve my web client tiles with zxy, and it appears that
>>> is a no go. If I try to access `
>>> http://104.156.249.38:8080/geoserver/gwc/service/tms/1.0.0/radar:radar-test-pallet@EPSG:4326@png

Re: [Geoserver-users] CPU drain

2018-08-10 Thread Andrea Aime
t be something special in
>> the data or in your installation. I am sure that there are people on this
>> list who get better results with Raspberry Pi.
>>
>>
>>
>> Can you share your 6 MB dataset? Or could you repeat your tests with some
>> public data for example from http://www.naturalearthdata.com/downloads/?
>>
>>
>>
>> -Jukka Rahkonen-
>>
>>
>>
>>
>>
>> *Lähettäjä:* Tripple Tee [mailto:tripplete...@gmail.com]
>> *Lähetetty:* 9. elokuuta 2018 7:51
>> *Vastaanottaja:* geoserver-users@lists.sourceforge.net
>> *Aihe:* Re: [Geoserver-users] CPU drain
>>
>>
>>
>> Shape file is not doing well even on a powerful CPU. I have the same set
>> of data on a proper server with Xeon chip (Virtual Windows 2016 with 10
>> vCPU) the performance is a mark improvement compare with the poor Celeron.
>> The CPU usage jump to 15% every time I zoom in or pan, but it still take a
>> second to render.
>>
>>
>>
>> I did some googling on Java and multi core/thread CPU. Seem like Java and
>> most software can not take full advantage of the multi core/thread provided
>> by hardware.
>>
>>
>>
>> Thanks Brad for the info about PostGIS, I might have to stuck with shape
>> file and it lean, my design goal is portable:
>>
>> 1 geoserver on main server, when a team going away, all user need to do
>> is to robocopy the whole folder from the main server to the portable
>> server. Lucky GeoServer was written in Java so I can achieve this while
>> using different OS (main server is Windows 2016, portable server is Linux)
>>
>>
>>
>> Might be able to do this with PostGIS but I will have to copy the
>> database from Windows to Linux, but it will not be a simple process for
>> user.
>>
>>
>>
>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>> Windows 10
>>
>>
>>
>> *From: *br...@frogmouth.net
>> *Sent: *Thursday, 9 August 2018 11:43 AM
>> *To: *'Tripple Tee' ;
>> geoserver-users@lists.sourceforge.net
>> *Subject: *RE: [Geoserver-users] CPU drain
>>
>>
>>
>> There are a bunch of tips at
>> http://docs.geoserver.org/latest/en/user/production/index.html and you
>> need to benchmark (e.g. with jmeter) against your expected workload when
>> performance tuning.
>>
>>
>>
>> In general, shapefile is not going to be very high performance, as noted
>> at
>> http://docs.geoserver.org/latest/en/user/production/data.html#use-a-spatial-database
>>
>>
>>
>> Brad
>>
>>
>>
>> *From:* Tripple Tee 
>> *Sent:* Thursday, 9 August 2018 11:16 AM
>> *To:* geoserver-users@lists.sourceforge.net
>> *Subject:* [Geoserver-users] CPU drain
>>
>>
>>
>> Hi,
>>
>>
>>
>> Please give some pointer on optimising for better resource consumption
>>
>>
>>
>> I am running GeoServer on Linux with Intel Celeron 4-core processor,
>> which I know is slow
>>
>>
>>
>> When I open an individual layer (or layer group) of a region 200km each
>> way (with details like roads, buildings ...) the shape files size is under
>> 0.5MB it loads quite comfortably, effortless to zoom and pan.
>>
>>
>>
>> When I open a layer (or layer group) of the whole world with less detail
>> (only land and water lines) it seem to struggle. The size of the shape file
>> is around 5-7MB, I can see the CPU spike and it takes seconds to render as
>> I zoom in or pan the map. Note: I am preview this layer on the default
>> 750x400 resolution box. Should GeoServer only query data of the sub region
>> for that preview box ?
>>
>>
>>
>> 1 - Is this the expected performance ?
>>
>> 2 – How can I optimize it to stop the CPU spike and lag,
>>
>>
>>
>> Thanks
>>
>>
>>
>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>> Windows 10
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> 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 suppo

Re: [Geoserver-users] GeoServer Bounding Box Concern / Zoom Error / Tile Access Error

2018-08-10 Thread Andrea Aime
Hmm.. strange, I got it at the first attempt? I zoomed in randomly, promise:

[image: Selezione_332.png]
[image: Selezione_333.png]

Cheers
Andrea


On Fri, Aug 10, 2018 at 8:42 PM Tyler Youschak 
wrote:

> I zoomed in as far as the OpenLayers would let me zoom, and I didn’t see
> with rectangles anywhere. I do see my scale is 1:2, but it won’t go to 1:1
> if I continue to try to zoom. (See example link)
>
> Example:
> https://drive.google.com/open?id=1ZqAUKANNK-tYYyWvmtRuW4ekFc-f-26d
> <https://share.polymail.io/v1/z/b/NWI2ZGRiZGE1M2I4/kz-EQTjJpWmnNgNCUTsbHzreooLqa__jULVxtw4qof-niBczEHaGPFCrhwE0mw9x_g9BtUlypsfk4SCOBsWh0yhUJ9PGIiF0hYan4WFZWz3rpgeVzlNJiwUsND1bfhixy1CqwvUJPULhSpqZWvE2IlHVQOL7Vd2n7lRxjbGg_MslVXRn-ZwPDVgGL3l8PSJZhhOo84WBUYJt7dwZ79LVQOctfp2-eGxFQUFhYaICLfHgP3h7OQGk-eki>
>
>
> Tyler Youschak
>
> On Fri, Aug 10, 2018 at 11:43 AM Andrea Aime  > wrote:
>
>> Hi Tyler,
>> lets first see if the konwn issue matches your case. Here is a low
>> resolution raster:
>>
>>
>> https://demo.geo-solutions.it/geoserver/nurc/wms?service=WMS&version=1.1.0&request=GetMap&layers=nurc:Arc_Sample&styles=&bbox=-180.0,-90.0,180.0,90.0&width=768&height=384&srs=EPSG:4326&format=application/openlayers
>>
>> Zoom in on any area that has red pixels, until you get very close to
>> scale 1:1 (yes, no kidding), and you should start seeing
>> white rectangles that should not really be there. Is this what you're
>> seeing?
>>
>> If not, you can open a ticket at
>> https://osgeo-org.atlassian.net/projects/GEOS/summary with:
>> * A sample dataset to reproduce the issue
>> * A request (URL) making it happen
>>
>> Ah, one more small thing, we don't talk business on this list, if you
>> want quotation for one or more changes to GeoServer
>> you can contact privately these companies: http://geoserver.org/support/
>>
>> Cheers
>> Andrea
>>
>>
>> On Fri, Aug 10, 2018 at 5:11 PM Tyler Youschak 
>> wrote:
>>
>>> Thanks for your quick and detailed response. As for the first question I
>>> had, after much more research on what you suggested, I came across a
>>> StackExchange question, and answer, that helped solve my issue. Here is the
>>> link in case anyone is interested (I know these are archived in case anyone
>>> has similar questions):
>>> https://gis.stackexchange.com/questions/256215/wkt-for-epsg4326-with-lon-0-to-360-instead-of-180-to-180/273900
>>> <https://share.polymail.io/v1/z/b/NWI2ZGE1OGExNmE5/2kGCXkNlgcVqySzBsD06BmcYIT-JztvzAPx5ypuGvsMdYI-u14A7XwCqSwdn0EMLI-gaq9W69HvaJt1A2Q33yE3bXp66DyVVvvTPTZQyR5QuW313wTnDPO__UYWF7_VEGYaBwRCK26bh7t3jz1wFP6mRpE-gfcg-IZh2YIs8jA8NUUQKzoR4GKcr-Ky51NjqHHvHAo7Jo3uF9tOSegeJWg2YttZus9_2zkbwKixsxZ6oM1LwBDtNkX4n-A412ceZ2AS8_f4FWanzRwJ4iqZbGhtobmhQlwMgYWuKeA0_-Ie4hHMqabw=>
>>> .
>>>
>>> Now, as for the issue with oversampling, that could very well be my
>>> issue. My source image is 7000 x 3500, so I am wondering that it could be
>>> an issue. It’s also happening with raw grib data to. How much would it cost
>>> to fund a fix?
>>>
>>> Thanks,
>>> Tyler Youschak
>>>
>>> On Fri, Aug 10, 2018 at 3:07 AM Andrea Aime >> > wrote:
>>>
>>>> On Fri, Aug 10, 2018 at 7:10 AM Tyler Youschak 
>>>> wrote:
>>>>
>>>>> Hello all,
>>>>>
>>>>> I’m new to GeoServer and have found it to be quite interesting! I’ve
>>>>> read through the documentation and spent hours searching the internet to
>>>>> get where I’m at today – but that’s what brings me here. I’m stuck!
>>>>>
>>>>> I’m working on weather radar mapping using GeoServer. From the
>>>>> National Weather Service, I am able to download grib data and use
>>>>> gdal_translate to save the data as a tif.
>>>>>
>>>>
>>>> Any reason not to use the GRIB reader available in GeoServer as an
>>>> extension?
>>>>
>>>>
>>>>> From there, I uploaded my tif to my GeoServer and created a store
>>>>> where I added my radar.tif as a GeoTIFF. Notice, I have a sld file for
>>>>> coloring my tif. Now the issue comes in with the BoundingBoxes – I have no
>>>>> clue what to enter for these fields and the server auto populated, but is
>>>>> what it auto populated with right?
>>>>>
>>>>
>>>> It reflects what is declared in the source file headers, so it's as
>>>> correct as they ar

Re: [Geoserver-users] OpenJPEG2000 with GeoServer?

2018-08-11 Thread Andrea Aime
Hi,
the integration of GeoServer with GDAL requires a small set of classes to
be written to expose a new format,
no matter how much you rebuild GDAL, if those are missing the format won't
show up.

Basically a new module, something like "gdalojp2", should be coded here in
imageio-ext:
https://github.com/geosolutions-it/imageio-ext/tree/master/plugin/gdal
and then exposed along with its georeferencing here (another small set of
classes) in geotools:
https://github.com/geotools/geotools/tree/master/modules/plugin/imageio-ext-gdal/src/main/java/org/geotools/coverageio/gdal

Only after that the format will be listed. It's not that much work, but
it's not just configuration either.

Wondering, are you going to serve fairly small JPEG 2000 files? In our
experience, for how much OpenJPEG2000 performance
has improved end of last year, it's unfortunately still a far cry away from
proprietary library performance.

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.*
--
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] OpenJPEG2000 with GeoServer?

2018-08-13 Thread Andrea Aime
On Mon, Aug 13, 2018 at 9:41 AM Rahkonen Jukka (MML) <
jukka.rahko...@maanmittauslaitos.fi> wrote:

> Hi,
>
>
>
> Is that small set of classes still needed when there seems to be support
> for the GDAL vrt format
> https://github.com/geosolutions-it/imageio-ext/tree/master/plugin/gdal/gdalvrt?
>
>

Each format has its own small set of classes.


> Shouldn’t GDAL make the real raster source abstract, and it would be
> enough to have a version of GDAL that supports OpenJPEG?
>

He he, that was my same reaction when I first saw it, but Simone explained
that they needed special support for a few variations in behavior between
the various formats. That was a long time ago, maybe today GDAL is well
behaved enough that we could just have a single generic driver for it [1],
or maybe a generic one plus special ones for the oddly behaved formats.
Dunno, I haven't looked back at it in years, I'm just parroting back
what I've been told many years ago, when I joined GeoSolutions

Cheers
Andrea

[1]: if that was done, instead of having one entry per format in the UI,
we'd have a single "Generic GDAL reader" entry.
The relationship is "one factory class, one entry" in the UI.

==

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


Re: [Geoserver-users] What do people actually mean by 'standalone GWC'?

2018-08-14 Thread Andrea Aime
On Tue, Aug 14, 2018 at 6:32 PM Paul Wittle via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hello again,
>
>
>
> I’m looking through the documentation online and wondering if perhaps I’m
> not correctly understanding the use of the term ‘standalone GeoWebCache’.
>
>
>
> I have installed a separate instance of GWC and pointed it at my GeoServer
> using the gwcWMSConfig and that all seems fine but I’m not sure how I get
> rid of the embedded GWC from my GeoServer. The GeoServer is running in a
> separate Tomcat instance and to avoid confusion I don’t want it to have any
> reference to the internal GWC that comes as default or my admin users may
> accidentally configure a layer in the wrong server.
>
>
>
> I saw some posts suggesting that you need to remove the gwc*.jar files
> from the lib folder but that just prevents the GeoServer from loading.
>
>
>
> It would be good if I could clarify two points really:
>
>- Do the references to ‘standalone GeoWebCache’ in the documentation
>refer to a completely separate deployment of GWC?
>
> http://docs.geoserver.org/stable/en/user/geowebcache/config.html#geowebcache-with-multiple-geoserver-instances
>
> Correct

>
>-
>- If so, is it possible to remove the GWC that is in the standard
>GeoServer build or am I supposed to just leave it in place and tell the
>users not to use it?
>
> Hum... this one is a bit more complicated. In theory you should be able to
go in WEB-INF/lib and just remove all *gwc* jars from it, and the integrated
GWC should just disappear. However it's not done all that often, so I
cannot guarantee it's gonna work (it's not something that we are officially
supporting or testing).

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.*
--
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] [Geoserver-devel] GSIP 169 - WPS Extension "GetExecutions" Operation

2018-08-14 Thread Andrea Aime
Hi Alessio,
feedback inline.

On Tue, Aug 14, 2018 at 5:32 PM Alessio Fabiani <
alessio.fabi...@geo-solutions.it> wrote:

> 1. "How do you compute the estimated completion and the next poll? Do they
> need a API change in the WPS core?"
>
> My original idea was that this remains an optional parameter, therefore no
> need to implement for every process nor to change the core itself.
> It should be used only for processes which somehow can be predicted.
> I just wanted to give to someone the possibility to tell to the client
> that the process might take a certain amount of time in case this could be
> estimated somehow.
> I envision this one more useful on specific extensions or external
> processes which have a computational method to estimate their completion.
>

Well I guess for the simple case one could use "time elapsed / percentage
complete" and then roll new extension points in case
the process or their factory have a better way.


> 3. "When does a GetExecutions request throw a DataNotAccessible,
> ServerBusy, or WrongInputData
> exception?"
>
> I envisaged those types of exceptions in order to cover some possible use
> cases especially when trying to retrieve the whole list of input/outputs
> values through the "lineage" option.
>
> In particular:
>
> - DataNotAccessible; should be thrown in the unlucky cases that the
> associated execution folder has been removed or it is somehow unaccessible
> - ServerBusy; might be thrown in the case GeoServer is locked and it is
> not temporarily able to retrieve some input values (I'm not fully sure if
> this could happens though)
>

Not really, it should not.


> - WrongInputData; originally I thought this should be thrown in the case
> someone tried to run an execution with wrong input values and therefore the
> process failed. I'm not fully sure here how the "lineage" option could
> manage this however. Any comment?
>

Mind, even using "lineage" the "input data" is not necessarily there. To
give you an example, if the request asked an external WFS for input
data, all that's found in the lineage is the WFS request itself, not the
result of it.
What the lineage stores is actually the original request in its full
form... if it happened to have the inputs inline, they should still be
there.

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.*
--
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] What do people actually mean by 'standalone GWC'?

2018-08-15 Thread Andrea Aime
Hi Jukka,
thanks for confirming it still works!

Cheers
Andrea

On Wed, Aug 15, 2018 at 11:38 AM Rahkonen Jukka (MML) <
jukka.rahko...@maanmittauslaitos.fi> wrote:

> Hi,
>
>
>
> I had a try with Geoserver 2.14-snapshot on Windows. I removed these files
> from WEB-INF/lib:
>
> gs-gwc-2.14-SNAPSHOT.jar
>
> gs-web-gwc-2.14-SNAPSHOT.jar
>
> gwc-core-1.14-SNAPSHOT.jar
>
> gwc-diskquota-core-1.14-SNAPSHOT.jar
>
> gwc-diskquota-jdbc-1.14-SNAPSHOT.jar
>
> gwc-georss-1.14-SNAPSHOT.jar
>
> gwc-gmaps-1.14-SNAPSHOT.jar
>
> gwc-kml-1.14-SNAPSHOT.jar
>
> gwc-rest-1.14-SNAPSHOT.jar
>
> gwc-tms-1.14-SNAPSHOT.jar
>
> gwc-ve-1.14-20180808.171018-165.jar
>
> gwc-wms-1.14-SNAPSHOT.jar
>
> gwc-wmts-1.14-SNAPSHOT.jar
>
>
>
> and now Geoserver starts without GeoWebCache.
>
>
>
> -Jukka Rahkonen-
>
>
>
> *Lähettäjä:* Andrea Aime [mailto:andrea.a...@geo-solutions.it]
> *Lähetetty:* 14. elokuuta 2018 19:36
> *Vastaanottaja:* Wittle, Paul 
> *Kopio:* GeoServer Mailing List List <
> geoserver-users@lists.sourceforge.net>
> *Aihe:* Re: [Geoserver-users] What do people actually mean by 'standalone
> GWC'?
>
>
>
> On Tue, Aug 14, 2018 at 6:32 PM Paul Wittle via Geoserver-users <
> geoserver-users@lists.sourceforge.net> wrote:
>
> Hello again,
>
>
>
> I’m looking through the documentation online and wondering if perhaps I’m
> not correctly understanding the use of the term ‘standalone GeoWebCache’.
>
>
>
> I have installed a separate instance of GWC and pointed it at my GeoServer
> using the gwcWMSConfig and that all seems fine but I’m not sure how I get
> rid of the embedded GWC from my GeoServer. The GeoServer is running in a
> separate Tomcat instance and to avoid confusion I don’t want it to have any
> reference to the internal GWC that comes as default or my admin users may
> accidentally configure a layer in the wrong server.
>
>
>
> I saw some posts suggesting that you need to remove the gwc*.jar files
> from the lib folder but that just prevents the GeoServer from loading.
>
>
>
> It would be good if I could clarify two points really:
>
>- Do the references to ‘standalone GeoWebCache’ in the documentation
>refer to a completely separate deployment of GWC?
>
> http://docs.geoserver.org/stable/en/user/geowebcache/config.html#geowebcache-with-multiple-geoserver-instances
>
> Correct
>
>
>-
>- If so, is it possible to remove the GWC that is in the standard
>GeoServer build or am I supposed to just leave it in place and tell the
>users not to use it?
>
> Hum... this one is a bit more complicated. In theory you should be able to
> go in WEB-INF/lib and just remove all *gwc* jars from it, and the integrated
>
> GWC should just disappear. However it's not done all that often, so I
> cannot guarantee it's gonna work (it's not something that we are officially
> supporting or testing).
>
>
>
> 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.*
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
>

Re: [Geoserver-users] What do people actually mean by 'standalone GWC'?

2018-08-15 Thread Andrea Aime
On Wed, Aug 15, 2018 at 6:25 PM Paul Wittle 
wrote:

> Hi,
>
>
>
> I have now worked out my issue; it was actually that I had put the Inspire
> plugin into the lib folder. That has a dependency on the WMTS bean I think
> which is provided by GWC.
>

Heh yeah, see, as said, no guarantees it will be working, there are no
tests for this.
The INSPIRE module would have to be split into various modules, one per
service being targeted (WMS, WFS, WCS, WMTS),
but a truly "less than core" installation is so unusual that nobody took
the time to do so (the only ones I've seen were in north
america, so no INSPIRE there... hum... Brexit might actually be simplifying
your life there :-p )

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.*
--
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] Java hits 800 %CPU with Leaflet

2018-08-16 Thread Andrea Aime
On Thu, Aug 16, 2018 at 5:22 PM Cliff Patterson 
wrote:

> I am running Geoserver 2.9.0
>

2.9.0 is so old that it's hard to give an advice.
Before sacrificing 100 bulls (sounds expensive and messy!) I'd first try
out 2.13.2

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.*
--
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] Java hits 800 %CPU with Leaflet

2018-08-18 Thread Andrea Aime
1)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at
> org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at
> org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:42)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
> at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:221)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
> at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>     at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.lang.Thread.run(Thread.java:748)
>
>
>
> On Thu, Aug 16, 2018 at 11:49 AM Cliff Patterson 
> wrote:
>
>> I thought the same thing... where has time gone.
>>
>> I'll try upgrading today and see how it goes. What about Tomcat, do I use
>> 7 or 8 with Geoserver 2.13.2?
>>
>> Cliff
>>
>> On Thu, Aug 16, 2018 at 11:36 AM Andrea Aime <
>> andrea.a...@geo-solutions.it> wrote:
>>
>>> On Thu, Aug 16, 2018 at 5:22 PM Cliff Patterson <
>>> cliffpatter...@gmail.com> wrote:
>>>
>>>> I am running Geoserver 2.9.0
>>>>
>>>
>>> 2.9.0 is so old that it's hard to give an advice.
>>> Before sacrificing 100 bulls (sounds expensive and messy!) I'd first try
>>> out 2.13.2
>>>
>>> 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 i

Re: [Geoserver-users] Cyrillic names of Geotiffs for Image Mosaic

2018-08-20 Thread Andrea Aime
On Mon, Aug 20, 2018 at 1:03 PM Наталья Волгушева <
natalya.volgush...@yandex.ru> wrote:

> Hi everyone.
>
> I try to create an ImageMosaic in geoserver 2.13.2 with several rasters
> which have cyrillic characters in their names.The image mosaic was created
> but my geotiffs are all white. I found out that their names are with '?'
> instead of cyrrilic symbols in attributes of the created index-shapefile.
> I attempted to rename them in these attributes with right characters and
> to change encoding of .shp but it didn't help. Perhaps geoserver doesn't
> take .cpg file and try to open this .shp with default encoding.
>

GeoServer only recognizes the files part of the base specification plus a
few extensions (prj, qix , cpg is not one of them).
The shapefile reader is however open source, if you're interested, you can
donate code to support the cpg file, or look
into commercial support to have some developer do it for you, see:
http://geoserver.org/support/


> Is there some way for example to change default encoding of geoserver or
> of generated shapefile? Or some other solutions?
>

The automatically generated shapefile does not support, as far as I know,
charset configuration.
However, you can make the mosaic point to whatever datastore you want
adding a datastore.properties file, check
the documentation here:

http://docs.geoserver.org/latest/en/user/data/raster/imagemosaic/configuration.html#datastore-properties

and also see examples here:

https://geoserver.geo-solutions.it/edu/en/multidim/imagemosaic/mosaic_datastore.html

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.*
--
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] GeoPackage (tiles) store via GeoServer REST?

2018-08-20 Thread Andrea Aime
I have never tried to do that, but the endpoint for raster data sources is
not the one you're using,
you should be looking at this one instead:

http://docs.geoserver.org/latest/en/api/#/1.0.0/coveragestores.yaml

Cheers
Andrea


On Mon, Aug 20, 2018 at 6:07 PM Ashley Mort 
wrote:

> Is there a way to create a “GeoPackage (tiles)” store via GeoServer REST?
> All I can seem to create is the regular “GeoPackage” store which is a
> vector data source (below).  What would I have to change to get it to be a
> GeoPackage (tiles) store?  Thanks!
>
>
>
>
>
> http://localhost:12121/geoserver/rest/workspaces/MyWorkspace/datastores
>
> {
>
>   "dataStore": {
>
> "name": "CIB",
>
> "connectionParameters": {
>
>   "entry": [
>
> {"@key":"database","$":"file://D:/testdata/CIB.gpkg"},
>
> {"@key":"dbtype","$":"geopkg"}
>
>   ]
>
> }
>
>   }
>
> }
>
> Ashley Mort
>
> Sr. Software Engineer
>
> 972-638-6317 office
>
> 814-571-3039 cell
>
>
>
> --
> 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


Re: [Geoserver-users] GeoPackage (tiles) store via GeoServer REST?

2018-08-20 Thread Andrea Aime
Hi,
again, haven't done it myself, but I'd look into something like:

   - Get the list of coverages, one by one, using the "coverages" endpoint
   below your newly created store, with list=all, see
   http://docs.geoserver.org/latest/en/api/#/1.0.0/coverages.yaml
   - Then do a POST for each one (same docs as above to look at), to create
   them, providing an almost empty json description, mostly just the name, and
   hope GeoServer fills in the blank for you

Cheers
Andrea

On Mon, Aug 20, 2018 at 7:11 PM Ashley Mort 
wrote:

> Oh ok that works!  Thanks!
>
>
>
> So I have my coverage store and can see coverages with
>
>
>
>
> http://localhost:12121/geoserver/rest/workspaces/MyWorkspace/coveragestores/CIB25/coverages/workspace_fort_irwin_rpf_images__rpf_cb05_tiles?list=all
>
>
>
> Is there any way to publish all the layers in the coverage automatically
> with the defaults that the UI would detect when doing “New Layer” from the
> UI console?
>
>
>
> Ashley Mort
>
> Sr. Software Engineer
>
> 972-638-6317 office
>
> 814-571-3039 cell
>
>
>
> *From:* Andrea Aime [mailto:andrea.a...@geo-solutions.it]
> *Sent:* Monday, August 20, 2018 11:56 AM
> *To:* Ashley Mort 
> *Cc:* GeoServer Mailing List List 
> *Subject:* [External] Re: [Geoserver-users] GeoPackage (tiles) store via
> GeoServer REST?
>
>
>
> I have never tried to do that, but the endpoint for raster data sources is
> not the one you're using,
>
> you should be looking at this one instead:
>
>
>
> http://docs.geoserver.org/latest/en/api/#/1.0.0/coveragestores.yaml
>
>
>
> Cheers
>
> Andrea
>
>
>
>
>
> On Mon, Aug 20, 2018 at 6:07 PM Ashley Mort 
> wrote:
>
> Is there a way to create a “GeoPackage (tiles)” store via GeoServer REST?
> All I can seem to create is the regular “GeoPackage” store which is a
> vector data source (below).  What would I have to change to get it to be a
> GeoPackage (tiles) store?  Thanks!
>
>
>
>
>
> http://localhost:12121/geoserver/rest/workspaces/MyWorkspace/datastores
>
> {
>
>   "dataStore": {
>
> "name": "CIB",
>
> "connectionParameters": {
>
>   "entry": [
>
> {"@key":"database","$":"file://D:/testdata/CIB.gpkg"},
>
> {"@key":"dbtype","$":"geopkg"}
>
>   ]
>
> }
>
>   }
>
> }
>
> Ashley Mort
>
> Sr. Software Engineer
>
> 972-638-6317 office
>
> 814-571-3039 cell
>
>
>
>
> --
> 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 Euro

Re: [Geoserver-users] WFS-T and complex features

2018-08-21 Thread Andrea Aime
Hi,
complex features are read only just like back then.

Writing is complex, requires un-mapping values, figuring out from which
source each attribute came from,
dealing with denormalization, and various of the possible mappings are not
reversible.
Long story short, it's quite a bit of work, we're basically waiting for
someone in need to sponsor the work,
and nobody showed up yet.

Cheers
Andrea

On Tue, Aug 21, 2018 at 3:02 PM elbarado  wrote:

> Hey there,
>
> i was wondering if it's now possible to use the WFS-T for
> create/delete/update complex features using the app schema on GeoServer?
>
> I've found this old intersting thread
>
> http://osgeo-org.1560.x6.nabble.com/wfs-t-and-complex-features-td3793968.html
> <
> http://osgeo-org.1560.x6.nabble.com/wfs-t-and-complex-features-td3793968.html>
>
> and only information about using WFS-T with simple features.
>
> Kind regards,
> Rolf
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> --
> 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


Re: [Geoserver-users] uploading tiff via rest api fails on missing datum in crs

2018-08-22 Thread Andrea Aime
On Wed, Aug 22, 2018 at 12:06 PM Paul van Genuchten <
paul.vangenuch...@geocat.net> wrote:

> Hi list, maybe one of you has some ideas about this case.
>
> I’m uploading a tiff to geoserver using rest api. Geoserver fails to
> import the tiff. In the geoserver logs I found this error:
>
> org.geotools.coverage.grid.io.imageio.geotiff.GeoTiffException: GEOTIFF
> Module Error Report
> GeoTiffMetadata2CRSAdapter::createGeodeticDatum(Unit unit):A user defined
> Geographic Coordinate system must include a predefined datum!
>
> Apparently the tiff has an incomplete/incompatible projection definition
> geo tools is not able to manage.  What would you suggest for improvement?
> - Is it an option to improve geo tools so it would be able to parse this
> projection, or use some sensible default datum?
>

If it's parseable, I would go there. But if there is a non null CRS in the
geotiff, it seems "wrong" to have a "sensible datum", there
is no such a thing, it would be a wrong one. At most, one could fall back
on EPSG:404000, the "crs not found" crs in GeoServer
(but mind, I'm talking about CRS, not datum).


> - Or would it be sensible to add a parameter to the rest api to be able to
> force a source projection which is known to geo tools?
>

That would make sense too


> - Or would it be better we transform the raster to a common projection
> before publishing?
>

I'd consider this one as a last resort, but of course I'm biased :-)

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.*
--
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] Neo4j data store

2018-08-24 Thread Andrea Aime
On Fri, Aug 24, 2018 at 12:25 AM Jody Garnett 
wrote:

> Yes, Craig Taverner has one, and did some very impressive presentations at
> foss4g. If I remember correctly Neo4J was GPL so the datastore is not
> something we can accept back into our codebase.
>

It cannot be incorporated in GeoTools indeed, which is were datastores
normally reside, but I believe it could be incorporated in GeoServer,
which has a GPL v2 or later licence.

Datastores and extensions living outside of the GeoTools or GeoServer code
bases have a difficult life, GeoServer
moves relatively fast, a datastore that worked fine a couple of years ago
might not work anymore due to various
changes, library upgrades and the like. The ones that are kept in the main
codebase get migrated as we perform
the changes, the others are left out in the dust.
That's not to say it's not possible to keep a store out, GeoMesa for
example is doing it fine, but it's probably the one
exception in a landscape of external extensions that used to work at one
point, and do not anymore today.

That said... the error seems to hint at a missing dependency (a missing
jar):
" Caused by: java.lang.ClassNotFoundException: org.neo4j.graphdb.
GraphDatabaseService"

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.*
--
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] Importing 500+ RPFTOC stores

2018-08-24 Thread Andrea Aime
On Wed, Aug 22, 2018 at 3:58 PM JBaker  wrote:

> Hello,
>
> I have GeoServer setup at work in our Lab, We are trying to get our
> customer
> to use GeoServer to act as a WMS to show maps in our software.  Problem is
> I
> have to use RPF a.toc data.  I'm sure there isn't much exposure for this
> type of raster so getting help is probably difficult.
>

Yeah, that's an uncommon format. I believe it does not have overviews
either,
which can be a problem if you want to display many in a mosaic.


> I got map data from NGA, CIB and CADRG map data.  CIB01 for an entire
> country is 500+ different A.TOCs.  So I have to create a store and then a
> layer for each of these to get them to display in GeoServer.  I tried doing
> an Image Mosaic, since I've done this will smaller data sets,  But this is
> 300GB worth, and 564 different A.TOCs, so nothing ever rendered.  I
> couldn't
> get anything to tile.
>

The problem is likely that there are too many small files, unless you limit
the zoom
level at which it displays so it shows only on smaller areas, and as a
result, on
a small number of files.

If you try with a single file, does it work?


> I've tried creating my own A.TOC for all the data or smaller datasets, but
> GeoServer doesn't like it.  I have had 3 people attempt to do this, one who
> used to create A.TOCs all the time.  Given this was early 2000s and last
> update for "MakeToc" was 2004, so its old...
>
> So is there an easier way to import all this data?  If will take me days to
> import all these going through GeoServer GUI.
>

Maybe try to install the importer extension. I don't know if it can
actually handle
RPF TOC files, but you can try.
Or you can write an import script using the REST API.


> Is there a better way to hang data like this?  In our testing, GeoServer is
> very finicky when it comes to RPFTOC Raster data.  Customer uses ArcGIS for
> their servers,


As far as I know ArcGIS "cheats", it builds an internal pyramid in a
different format
that's efficient to display. You can play the same game using gdal_translate
and gdaladdo to translate the files and build overviews, or first built a
.vrt file
representing all the files, and then translate it into one large geotiff
(with compression)
and add overviews.
Actually, if you really want, you can also build a vrt with gdalbuildvrt
and then pass
it to GeoServer (recent versions do support VRT format too).


> but we have to come up with a different solution.
>

If nothing else works, check out commercial support:
http://geoserver.org/support/

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.*
--
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] Max / Min Denominator

2018-08-24 Thread Andrea Aime
Hi,
the SLD syntax is correct... dumb question, you have associated it with the
layer as the default style, yes?
If you use the GeoServer map preview, are the scale denominators limits
taken into account? The preview uses the WMS protocol just like qgis/arcgis.

The other thing that I can think about is maybe the coordinate reference
system, as it affects scale calculations. Can you double check it's the
correct one?

Cheers
Andrea


On Fri, Aug 24, 2018 at 2:02 PM William Adam via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hi,
>
> I am trying to use the MinScaleDenominator and MaxScaleDenominator to
> determine the view-able range of a layer.
>
> Unfortunately this doesn't seem to be working in ArcGIS or Qgis when I
> import the WMS layer in. I am using the following code:
>
> 
>  xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"
> xmlns="http://www.opengis.net/sld";
> xmlns:ogc="http://www.opengis.net/ogc";
> xmlns:xlink="http://www.w3.org/1999/xlink";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> 
> 
> )OSrelief
> 
> 
> OSrelief
> OSrelief
> 
> 
> 
> 
> rule1
> Opaque Raster
> A raster with 100% opacity
>
> 20
> 600
>
> 
> 1.0
> 
> 
> 
> 
> 
> 
>
>
> Is there something obvious that I am missing?
>
> I would be gratefull for any help,
>
> Will Adam
>
>
>
>
> --
> 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


Re: [Geoserver-users] Anyone using Geoserver 2.13.1? Layer get deleted from the Catalog configuration when I change Layer configuration like Overview Policy?

2018-08-27 Thread Andrea Aime
Hi Steve,
I've just checked with a 2.13.1 that I have locally, a few plugins but
nothing dealing
with the catalog (e.g. no JMS clustering and no JDBCConfig), updated some
publishing
params in a mosaic, saved, checked the disk, the config was still there,
reloaded, layer was
still there, restarted, mosaic layer was also still there.
The layer was created a few hours ago with the same 2.13.1.

So different experience... do you see any significant error message in the
logs?

Cheers
Andrea

On Mon, Aug 27, 2018 at 10:26 AM Steve Omondi 
wrote:

> Hi guys,
> Has anyone using *Geoserver 2.13.1* experiencing this?
>
> When I change a configuration of a Layer for example I change the Coverage
> Parameters (Overview Policy, Output Transparency, Multithreading etc), the
> layer is depersisted from the calalog xml configuration and only available
> in-memory such that when I reload  configuration or restart Geoserver. The
> layer is no longer in the catalog. And in a case where it belongs to a
> layer group, then the whole geoserver won't start because GWC is out of
> sync and all.
>
> Anyone seen this?
>
> Kind regards,
> Steve Omondi
>
> --
> 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


Re: [Geoserver-users] Curve support for SQL Server

2018-08-27 Thread Andrea Aime
Hi Mark,
a few remarks (none of them positive, sorry!):

   - SQL Server 2014 is too young, we cannot drop support for it just yet
   (in another 2-4 years maybe... upgrades of proprietary databases goes very
   slowly due to the licencing fees they have to pay, on top of all the tests
   and migration procedures involved... there was recently an article with
   scary numbers of Windows 2000 and 2003 servers still running in public
   administrations)
   - Standard WKB cannot represent curves, for example in the PostGIS case
   we had to roll special extensions for its EWKB format (afaik unique to
   postgis) in order to read curves, do you know what Microsoft did to support
   them?
   - I have vague memories that SQLServer WKB encoding methods were
   horribly slow a few years ago, compared to just decoding the structs, do
   you know if that improved?

That said, the source is open, so you're free to try out the setup you're
proposing, if it's better (faster, much easier to maintain, with some way
to handle curves, given the ) then we can consider it, maybe as an option
in the factory so that we can continue to support those that prefer a open
source driver and/or needto run on older versions.

Cheers
Andrea

PS: Aside, sql server is one of those proprietary databases that devs work
on only under contract... so unless there is resourcing to do the work
(contracts, or someone that wants to work in in their spare time), nothing
is going to be changed, regardless of the outcome of these discussions
(yes, I know it's annoying, but I prefer to be forthcoming).

On Mon, Aug 27, 2018 at 6:33 PM Mark Prins  wrote:

> Hi Olle, Andrea,
>
> I was looking at the Microsoft JDBC driver docs this weekend and noticed
> that the MS driver now actually has both a Geometry and a Geography
> class now that provide both a STGeomFromText(String wkt, int SRID) and a
> STGeomFromWKB(byte[] wkb) method [1] as well as STAsBinary()/STAsText()
> methods so going back-and-forth to eg a JTS geometry should be a breeze.
>
> It may be worth considering a new module or dialect that leverages the
> possibilities that the JDBC driver exposes instead of continuing on the
> old path of decoding shapes, segments and figures from the binary data
> which gets increasingly difficult with compound objects.
>
> This may mean dropping support for sqlserver 2014 and definitely the
> jdts driver, het good thing is that the Microsoft driver is now
> available in Maven Central[2] and available as Open Source[3] (MIT
> licensed) so no hassle with separate downloads and installs.
>
> [1]
>
> https://docs.microsoft.com/en-us/sql/connect/jdbc/use-spatial-datatypes?view=sql-server-2017
>
> [2]
>
> https://docs.microsoft.com/en-us/sql/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server?view=sql-server-2017
>
> [3] https://github.com/Microsoft/mssql-jdbc
>
>
> On 07-06-18 18:14, Olle Markljung wrote:
> > Hehe yeah I understand :)
> >
> > I’ll try to make the estimate myself.
> >
> > /Olle
> >
> >
> > tors 7 juni 2018 kl. 17:28 skrev Andrea Aime
> > mailto:andrea.a...@geo-solutions.it>>:
> >
> > Hi Olle,
> > I have them, but we don't discuss estimates outside of private
> > business inquiries, sorry :-)
> > That said, estimates are personal, they change depending on
> > experience, topic and the like, so
> > they would not be much use anyways.
> >
> > If you decide you want someone else to do it for you, you can
> > contact commercial support providers
> > to get an estimate:
> > http://geoserver.org/support/
> >
> > Cheers
> > Andrea
> >
> >
> > On Thu, Jun 7, 2018 at 4:46 PM, Olle Markljung  > <mailto:marklj...@gmail.com>> wrote:
> >
> > Hi Andrea and Mark
> >
> > Thank you for the swift response!
> >
> > Andrea, do you have a ballpark number of hours it took to
> > implement the support for curves in Oracle or PostGIS?
> >
> > Mark, did you have an estimation to complete the work you
> started?
> >
> > If I don’t find the time myself I’ll try to find funding and
> > seek commercial help and then it would be great to have a
> > ballpark number to start with.
> >
> > Regards,
> > Olle Markljung
> >
> > tors 7 juni 2018 kl. 14:58 skrev Mark Prins  > <mailto:mc.pr...@gmail.com>>:
> >
> > On 07-06-18 13:32, Olle Markljung wrote:
> >  > Hello all
> >  >
> >  > I have users that would be helped if curve su

Re: [Geoserver-users] Contour in geoserver

2018-08-29 Thread Andrea Aime
Hi Gaurav,
GeoServer can do interpolation on point data sets on the fly, based on the
Barnes Surface algorithm,
there is no official documentation but you can read a bit about it here:
https://boundlessgeo.com/2012/08/surface-interpolation-in-geoserver/

And then there is a process to extract contour lines from raster data:
http://docs.geoserver.org/stable/en/user/styling/sld/extensions/rendering-transform.html#contour-extraction

However, we don't have support for going directly from points to contours,
and chaining the two rendering
transformations above is something that is also not officially supported
(we haven't looked into this use case,
I'm guessing it's not going to work).

The software is open, so maybe you can make changes into it to get chaining
rendering trasformations work
(if you do, please share back with the community your fixes), or you can
have someone do it for you as part
of a commercial contract, see here:
http://geoserver.org/support

Cheers
Andrea

On Wed, Aug 29, 2018 at 8:18 AM Gaurav Pathak 
wrote:

> We have managed to render the different point values in bands on the
> raster map for contouring, however, we are not able to actually create
> contours because our point values are not being used to create contour
> lines – we had thought this was a feature of geoserver, but increasing
> believe that his may be achieved through the gdal library accessed by
> Postgre database. Could you help us with an example of how this is done
>
> I am attaching my data in excel sheet
>
> Regards
>
> Gaurav Pathak
>
> --
> 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


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

2018-08-30 Thread Andrea Aime
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&styles=&version=1.1.1&srs=EPSG:4326&Request=GetMap&bbox=-180,-90,180,90&width=256&height=256&format=image/png8&tiled=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&styles=&version=1.1.1&srs=EPSG:4326&Request=GetMap&bbox=-180,-90,0,90&width=256&height=256&format=image/png8&tiled=true

http://localhost:8080/geoserver/gwc/service/wms?layers=topp:states&styles=&version=1.1.1&srs=EPSG:4326&Request=GetMap&bbox=0,-90,180,90&width=256&height=256&format=image/png8&tiled=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.*
--
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] GeoServer SLD Unexpected Outcome

2018-08-30 Thread Andrea Aime
On Mon, Aug 27, 2018 at 6:47 PM Tyler Youschak 
wrote:

> For the layer thats been acting up, I went ahead and turned off bilinear
> interpolation, and switched it back to nearest neighbor. This did fix my
> issue, but lost all of the nice smoothing, which is not ideal.
>
> Is there a way to “fix” this for bilinear situations?
>
> Nearest Neighbor:
> https://drive.google.com/open?id=1gXNdGQ8_1pDA4ovZ7vhrb3i5H8A8tguY
> <https://share.polymail.io/v1/z/b/NWI4NDE5ZGFmYTdi/4CTsD9mjQzZdJe9BgvUYuORmavUuUGPEojb1yBKm7sDmY3TpnV8rH6EHkxdtK7UjDszTbP4qoDRJw9rjCw1K2VZplx_E48Klviq2M7w7eFiwl9bXCwUVUlPxVGn8tf8Q1FW2IEBjlJGJlHYyYg6F0omncaizSu7I4vtK0aBQgprvrUirnkqQbV5kViJFF8w8wI5mDKCvnZD2a30cwCSnhJ0g15Am7fVxV5yw7AbVfsEcGQbwTOG7bgF5COzHZQLd5LvZ>
> Bilinear:
> https://drive.google.com/open?id=1idQOhiHbv0IkmVnAX2dycZi9UqyWyWuR
> <https://share.polymail.io/v1/z/b/NWI4NDE5ZGFmYTdi/4CTsD9mjQzZdJe9BgvUYuORmavUuUGPEojb1yBKm7sDmY3TpnV8rH6EHkxdtK7UjDszTbP4qoDRJw9rjCw1K2VZplx_E48Klviq2M7w7eFiwl9bXCwUVUlPxVGn8tf8Q1FW2IEBjlJGJlHYyYg6F0omncaizSu7I4vtK0aBQgprvrUirnkqQbV5kViJFF8w8wI5mApywtr_OG0BbgCmN3aQ4zP9i4f5wPpy88U_tEcwsGQ2NnowybFdgbTFzIEEEPeby>
>  (it
> also looks this way for bicubic)
>
>
Unsure... rescaling with bilinear interpolation happens before the palette
is applied, so it other
values that were not there in the original map, and then they get colored.

I did not translate the colormap back to human visible colors, but I'm
guessing green is on one end
of the colormap, and the blue is on the other end, right?

There is currently no way to apply the palette first, and then do the
rescaling (and eventual
reprojection) of image with interpolation. Doing that would allow the
interpolation to just blend between
green and blue, without going throught the other colors in the palette.
It could certainly be added, but it's not a quick change. If you can
develop in Java and know about image
processing I can point you to the location in the code where the processing
is done.
Or, if you are in a position to sponsor development, you can check out the
commercial support page and
inquire companies about implementing the change for you:
http://geoserver.org/support/

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.*
--
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] 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&width=512&height=666&bbox=73.0,-19.0,147.0,77.0&srs=CRS:84&format=image/png&version=1.3.0&service=WMS&request=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


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

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

2018-09-02 Thread Andrea Aime
Hi Ashley,
as said before, with JAI-EXT enabled I'd expect bilinear scaling to be
slower (while for example we have reports
that bicubic warp is faster, it depends on the operation), but since you
have a test ready, try it out and let us know how it worked?
All the "native accelerations" will be off obviously, as those require
"native jai" to be installed and
jai-ext to be turned off.
Basically, keep the defaults that you have

Cheers
Andreaù


On Sat, Sep 1, 2018 at 10:34 PM Ashley Mort 
wrote:

> 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 <
> 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&width=512&height=666&bbox=73.0,-19.0,147.0,77.0&srs=CRS:84&format=image/png&version=1.3.0&service=WMS&request=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
> ---

Re: [Geoserver-users] SLD drawing order

2018-09-02 Thread Andrea Aime
Hi,
a few questions to try get this sorted out:

   - Did you try switching the sorting direction, was the result still not
   what you expected?
   - Could you show us actual vs expected result?
   - Is your data source a shapefile?

Also, as a further test, what happens if just before closing your Graphic
tag you add this:

   0.99



On Fri, Aug 31, 2018 at 10: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 

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

2018-09-02 Thread Andrea Aime
Hi,
Peter's example works sometimes, other times it does not, depends on
whether the layer bounding box is
aligned with the cached grid bounds, or not (I don't remember what is done
for default scale denominator, but that one
also has to match a cached zoom level).

If you want to make sure that tiles are getting cached, go to "tiled
layers" and pick a OpenLayers preview
there, those are build around the right bounds and set of zoom levels.

WMS per se is not meant to be cacheable and often it is not. The "direct
integration" between WMS and caching
subsystem is there because often people set a basemap like OSM in their web
clients, and then overlay a WMS
that gets also similarly tiled as a result.
This make those WMS request match exactly the web mercator gridset. In
other words, direct integration is leveraging
a common "accident" to make the server perform less work.

If you want to make sure you're using tiles instead, use a tile oriented
protocol, like WMTS.

Cheers
Andrea

On Sat, Sep 1, 2018 at 3:43 PM Peter Smythe  wrote:

> 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 &tiled=true
> <http://localhost:8080/geoserver/gwc/service/wms?layers=topp:states&styles=&version=1.1.1&srs=EPSG:4326&Request=GetMap&bbox=0,-90,180,90&width=256&height=256&format=image/png8&tiled=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 &tiled=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 &tiled=true
>> <http://localhost:8080/geoserver/gwc/service/wms?layers=topp:states&styles=&version=1.1.1&srs=EPSG:4326&Request=GetMap&bbox=0,-90,180,90&width=256&height=256&format=image/png8&tiled=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&styles=&version=1.1.1&srs=EPSG:4326&Request=GetMap&bbox=-180,-90,180,90&width=256&height=256&format=image/png8&tiled=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&styles=&version=1.1.1&srs=EPSG:4326&Request=GetMap&bbox=-180,-90,0,90&width=256&height=256&format=image/png8&tiled=true
>>>
>>>
>>> http://localhost:8080/geoserver/gwc/service/wms?layers=topp:states&styles=&version=1.1.1&srs=EPSG:4326&Request=GetMap&bbox=0,-90,180,90&width=256&height=256&format=image/png8&tiled=true
>>>
>>> Also, did you enab

Re: [Geoserver-users] Scaling problems creating WMS from raster layer

2018-09-02 Thread Andrea Aime
On Fri, Aug 31, 2018 at 5:14 AM Jason Newmoyer 
wrote:

> I think  EPSG:404000 is what it defaults to when it doesn't understand
> (or can't find) the CRS. There's something it doesn't like about your world
> file.
>

It's probably the lack of a prj file :-)

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.*
--
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] SLD drawing order

2018-09-02 Thread Andrea Aime
On Sun, Sep 2, 2018 at 3:09 PM Fagin, Todd D.  wrote:

>
>- Is your data source a shapefile?
>
> Yes, the data source is a shapefile.
>
>
>
>
>
> Also, as a further test, what happens if just before closing your Graphic
> tag you add this:
>
>
>
> Adding the opacity doesn’t make the other feature appear.
>

Hmm... I have nothing else quick left to suggest, we need to switch to a
different approach.
Please open a bug report at
https://osgeo-org.atlassian.net/projects/GEOS/summary
and include into it:

   - Sample shapefile (could be a subset)
   - Sample style
   - GetMap request involved
   - Make sure that with the above the issue can be reproduced on a
   supported version of GeoServer (2.13.x onwards)

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.*
--
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] Unable to publish Geoserver pyramid layer

2018-09-05 Thread Andrea Aime
ataStoreGranuleCatalog.java:191)
> at
> org.geotools.gce.imagemosaic.RasterManager.getGranuleDescriptors(RasterManager.java:1341)
> at
> org.geotools.gce.imagemosaic.RasterLayerResponse.prepareResponse(RasterLayerResponse.java:663)
> ... 139 more Caused by: java.lang.NullPointerException at
> org.geotools.gce.imagemosaic.GranuleDescriptor.loadRaster(GranuleDescriptor.java:1212)
> at org.geotools.gce.imagemosaic.GranuleLoader.call(GranuleLoader.java:108)
> ... 147 more
>
>
> Any ideia?
>
>
> Thanks,
>
>
> Regards,
>
>
> Agustín Flores Franco
> Coord. de Sistemas e Gestão - AIMBR
> CTCEA / DECEA
> (21) 2101-6943  R. 6943
> (21) 99768-1826 (Whatsapp)
>
>
> --
> 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


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

2018-09-05 Thread Andrea Aime
On Tue, Sep 4, 2018 at 10:32 PM Bessette-Halsema, Dominique E <
dominique.besse...@gdit.com> wrote:

> Hi Andrea
>
>
>
> I’m trying to install the native JAI in my environment using the geoserver
> directions. http://docs.geoserver.org/latest/en/user/production/java.html
>
>
>
> In the GeoServer Service Status panel the “native jai” and “native jai
> imageio” settings are still false.  Should they be true if it is set up
> correctly?
>

Yes, they should (but you likely need to turn off jai-ext too, in case you
had it on with the previous experiments)

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.*
--
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] Visualizing neo4j on Geoserver

2018-09-09 Thread Andrea Aime
Hi David,
looks like the datastore code is not working as expected, but I cannot help
further than that.
A quick search on internet got me to this page:
https://neo4j-contrib.github.io/spatial/0.24-neo4j-3.1/index.html#spatial-geoserver
It says "Tested with: GeoServer 2.1.1", which is like 13 releases ago, or
in other terms, 6 years and a half ago.

If this is the source code of the store (I believe it is, but might be
wrong), then it's in dire need of a rewrite:
https://github.com/neo4j-contrib/spatial/blob/master/src/main/java/org/geotools/data/neo4j/Neo4jSpatialDataStore.java

The "AbstractDataStore" base class has been deprecated years ago and don't
think it's available anymone in the GeoServer
classpath.

I can't tell you much more as the store is not maintained by the GeoServer
community, you'll probably have better
luck talking directly by the neo4j one instead

Cheers
Andrea


On Fri, Sep 7, 2018 at 5:38 PM David Haynes  wrote:

> Hello,
>
> I'm running into an error. I successfully created a neo4j datastore in
> GeoServer. However, after creating the datastore and connecting to the
> neo4j database. I now have this error.
>
> Oddly this error is only showing up in the log. When I go to add a feature
> layer through the web interface I get an empty screen.
>
> I also found it in the REST of Geoserver
> Expression properties.featureTypes is undefined on line 4, column 8 in
> DataStoreInfo.ftl. The problematic instruction: -- ==> list
> properties.featureTypes as ft [on line 4, column 1 in DataStoreInfo.ftl]
> -- Java backtrace for programmers: --
> freemarker.core.InvalidReferenceException: Expression
> properties.featureTypes is undefined on line 4, column 8 in
> DataStoreInfo.ftl. at
> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125) at
>
> CALL spatial.addPointLayer('community_cultural_centers');
>
> CREATE (a: agency {Name: 'Pillsbury United Communities', Distance: '0.6
> miles from West Bank Station', Address_street: '420 S 15th Ave',
> Address_city: 'Minneapolis', Address_state: 'MN', Address_zip: '55454',
> Neighborhood: 'Cedar Riverside', Services_0_0: 'Early Education',
> Services_0_1: 'Office of Public Charter Schools', Services_0_2: 'Academic
> Support Programs', Services_0_3: 'Asset creation', Services_0_4: 'Youth &
> Family Programs', Services_0_5: 'Wellness & Nutrition: Health Programs',
> Services_0_6: 'Classes & Workshops', Services_0_7: 'Food & Nutrition',
> Services_0_8: 'Employment & Training', Race_Ethnicity_African: '19.7',
> Race_Ethnicity_African_American: '16.7', Race_Ethnicity_American_Indian:
> '3.7', Race_Ethnicity_Asian: '6.2', Race_Ethnicity_Hispanic: '20.7',
> Race_Ethnicity_White: '25.6', Race_Ethnicity_Multiracial: '3.7',
> Race_Ethnicity_Other: '3.8', Income_below_100_federal_poverty_level: '11',
> Income_between_100_200_federal_poverty_level: '14.7',
> Income_above_200_federal_poverty_level: '53.9', Income_unknown: '20.5',
> Age_0_5: '17.8%', Age_6_9: '4', Age_10_17: '7.9', Age_18_22: '11',
> People_Served: '58471', Targeted_Audience_0_0: 'individuals',
> Targeted_Audience_0_1: 'families', Targeted_Audience_0_2: 'and
> communities', Link: 'https', latitude: 44.9709014113843, longitude:
> -93.2494405035189} ) WITH a CALL
> spatial.addNode('community_cultural_centers', a) YIELD node RETURN node;```
>
>
>
> --
> 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 

Re: [Geoserver-users] Custom legend in GetLegendGraphic

2018-09-09 Thread Andrea Aime
Both mails have little to no context... what version of GeoServer? Where is
the legend stored?
Is the style the default one or a supplementary one? Can you share the
configuration?
What does the GetLegendGraphic look like?

I don't think it's possible to provide any guidance without an answer to
_all_ the above questions.

Cheers
Andrea


On Thu, Sep 6, 2018 at 4:00 PM Ann17 via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hello!
>
> I have the same issue. Can someone help please?
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> --
> 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.*
___
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] How good Geoserver Scaled for Huge data volume(around 100TB) ??

2018-09-09 Thread Andrea Aime
Hi,
the huge data volume per se is not a particular issue, I know installations
running on top of a few petabytes
of raster data with thousands of concurrent requests, the issue is how you
set it up and configure it.
The latest official benchmark in which we have participated is this one
(presentation in french, but you
can read the charts):

http://www.agrotic.org/blog/wp-content/uploads/2016/12/02_performance_qgis_server.pdf

As you can see the performance is often comparable with MapServer. The
slides containing "attention a l'optimisation"
are typically referring to configuration changes done in GeoServer that
improved performance... which are mostly
related to lack of research on what to do in terms of configuration (proper
sizing of a connection pool).
Someone familiar with Java and connection pools but not with CGIs could
have shown a similar slide comparing
the MapServer performance of using CGI versus the "secret optimization" of
using FastCGI.

There are other benchmarks floating around done "independently", the issue
with those is that often they reflect
the ability to configure and tune the software in question rather than the
capabilities of the software itself.

In terms of choosing which software to use, I'd go for the one that you
know the best in house, and if you want
a final say in terms of performance optimizations, look for a commercial
support contract with core developers
of either projects. Depending on the load, there might be optimizations
that need to be made in code, having
support from core developers is the best way to ensure those speedups are
finding their way back to the open community

Hope this helps

Cheers
Andrea


On Fri, Sep 7, 2018 at 9:53 AM arjan.odedra 
wrote:

> We have developed a product called CityLayers for municipal corporations in
> India. Here is the URL www.citylayers.in . We have used GeoServer as a GIS
> server in the product. We are trying to provide the product to a customer
> who has asked for MapServer instead of GeoServer.  We would like to know
> the
> advantages of GeoServer over MapServer.  The customer has 50 TB of the data
> volume and initially few hundreds of concurrent users will be using the
> product and it can grow further to thousands of users.
>
> Thanks for helping me ...
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> --
> 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.*
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:

Re: [Geoserver-users] Granule reharvest through REST API adds new, but does not delete

2018-09-09 Thread Andrea Aime
Hi,
I'm actually surprised that what you're trying to do does not break during
"re-harvest", as it's not how it's intended to be used that resource is
only
meant to be used for initial creation of a mosaic, not for re-harvest.
For harvesting there are other endpoints dedicated to removing and adding
granules, see here:
http://docs.geoserver.org/latest/en/user/rest/imagemosaic.html#updating-an-image-mosaic-contents
http://docs.geoserver.org/latest/en/user/rest/imagemosaic.html#removing-image-mosaic-granules

Hope this helps

Cheers
Andrea


On Wed, Sep 5, 2018 at 5:04 PM Lubomír Bucek  wrote:

> Dear all,
> I came to a problem with reharvest imagemosaic granules via REST API and
> have no idea, what am I doing wrong:
> I am creating an imagemosaic datastore for serving time-series data of
> forecast (data will be changing every few hours), but the total volume is
> not that large to avoid using reharvest because of slowdown (lets say 100
> geotiffs maximum).
> The call to API:
> curl -v -u admin:geoserver -XPOST -H "Content-type: text/plain" -d 
> "file:///path/to/mosaic"
> "
> http://localhost:8080/geoserver/rest/workspaces/ws/coveragestores/cs/external.imagemosaic
> "
> Does get through and it should update the mosaic (delete the reference to
> files, which are not present anymore) and update the new ones, but it does
> only the second part. I can preview the newly gained tiffs, but I am also
> able to see the reference to the old files, which were deleted. The layer
> preview (getfeatureinfo) shows values of 0.0 for this missing file (not
> even throwing an error, that this file is in fact missing in the folder).
> This happens the same way for shapefile index and postgresql database index
> in my case.
> I tried this for in standalone app running through startup.sh and also a
> docker image using .war version. As for the permissions, I set the whole
> data folder as 777 and I am able to "create" a new store there. I think
> that I must be missing something on the permission side really badly.
> Sample data along with .properties files are here if someone would like to
> try this issue:
>
> https://www.dropbox.com/sh/av59r1r7slkpw2a/AAA51W6_iTZQKpvZo8aOriBFa?dl=0
>
> Possible solution for me would be to "rename" the shapefile index to
> index_old and then run the reharvest, which works, but leaves my service
> "dead" for the duration of reharvest operation (max 1 second, but
> still...), so I would like to avoid that.
> Has anyone dealt with this before, or is reharvest working for everybody
> as expected?
>
>
> OS: Ubuntu 16.04
> Version: Docker container running development version build from 3.9.2018
> mounting local directory to data_dir as a volume in docker run
>
> Best,
> Lubomír Bucek
>
> --
> 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 

Re: [Geoserver-users] GeoServer CQL cross layer filtering: querySingle/queryCollection for non-geometry attribute return

2018-09-09 Thread Andrea Aime
On Fri, Sep 7, 2018 at 5:32 PM Bilz, Katey [US] (MS) 
wrote:

> I have only been able to find examples where geometry attributes are
> returned from cross layer filtering functions, but the GeoServer
> documentation says:
>
> A common use case is to extract a geometry-valued attribute, and then use
> the value(s) in a spatial predicate against a geometry attribute in the
> primary layer.
> <http://docs.geoserver.org/stable/en/user/extensions/querylayer/index.html>
>
> Which leads me to believe that it was intended to be used to return other
> data.
>
> *I'm looking for examples of how that might be done in a CQL filter.*
> --
>
> I have attempted something like this:
> http://localhost:8181/geoserver/test/wms?service=WMS&version=1.1.0&request=GetMap&layers=test:layer1,test:layer2&styles=&bbox=-81.54053,41.61621,-77.33826,43.41248&width=768&height=330&srs=EPSG:4326&format=application/openlayers&;
> *cql_filter=INCLUDE;property2a=querySingle('test:layer1','property1b','property1a=123')*
>
> Where only records in layer2 that have layer2.property2a =
> layer1.property1b are returned.
>
> I get the exception: "Could not parse CQL filter list."
>

The cross layer filtering module is an extension, not part of the core
program... did you install it? If not, that would explain the particular
error message.
That said, querySingle is run before the rest of the query is run, so it
won't make a generic join, but simply return the first value of
layer.1property1b,
and then plot the values of layer2 matching that particular value.

If you are trying to simulate a generic join instead, I'm not sure it's
possible to do what you want, as at least one support function seems to be
missing.
For geometries with have collectGeometries, that takes the N resulting
geometries, makes them into a single Geometry by union, and then allows
to use this result to run a spatial predicate on a different table.

For the case you're citing a "inList" function would need to be added, so
that one can run something like:

*inList(property2a,
queryCollection('test:layer1','property1b','property1a=123'))*

or even just extend the existing "in" function to take in a java List
object, instead of a explicitly provided list of values (which is another
data structure).
Long story short, some development would be needed. If you can do Java
development, I can point you at where the new function could be added,
if not but you can spare funds, then check the commercial support providers
page:
http://geoserver.org/support/

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
--- *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.*
___
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] cannot enable CORS anymore

2018-09-10 Thread Andrea Aime
Hi,
for the longest time CORS has been "not our problem", it's normally managed
in the web container (e.g., Tomcat, Jetty) or in
the eventual application fronting GeoServer (e.g., Apache, NGINX).
Maybe things have changed with the latest versions of Spring, if I search
for preflight test I find all sorts of configurations to be
made in Spring in order to allow them (none of them immediately compatible
with how GeoServer works though).
It could be that CORS needs to be managed directly in GeoServer when
authentication is involved... but to be honest, I don't know,
I'm not a javascript developer and have no clue if the preflight tests can
be properly supported by just configuring the container,
or if they actually need some code change in GeoServer.

I understand it's not very helpful, but it's all I have for the "5 minutes
user help" I can provide on this list.

Cheers
Andrea

On Tue, Sep 4, 2018 at 10:14 PM Steric, Nenad 
wrote:

> Hello,
>
>
>
> i had a working geoserver installation last year where CORS was enabled,
>
> but for some reason now I cannot reproduce this.
>
>
>
> I have posted all the details to
>
>
> https://gis.stackexchange.com/questions/294744/geoserver-wms-cors-enabled-in-web-xml-still-error
>
> but I can repost them here if you need this.
>
>
>
> From the error message (or lack of) it seems that
>
> CORS should be active
>
> But the pre-flight OPTIONS-request yields a Forbidden response.
>
>
>
> This is strange as this exact code I am using was working last year.
>
> Did the checks of the browser (Chrome,FF, I think I also tested IE )
> change ?
>
>
>
> Do you have any other idea what I could check or change ?
>
>
>
> Thanks,
>
> Nenad
>
>
>
> P.S. Aktuelle Veranstaltungen: zuehlke.com/events
> Zühlke Blog: blog.zuehlke.com
> <https://www.zuehlke.com/blog/#utm_source=email&utm_medium=signature>
>
> *Nenad Steric*
> Expert Software Engineer
>
> Zühlke Engineering (Austria) GmbH
> Rivergate, Handelskai 92, 1200 Wien, Österreich
> Phone+43 1 205 11 6855
> nenad.ste...@zuehlke.com
>
>
> This e-mail is for the addressees only. The information it contains is
> confidential
> and may be legally privileged. If you are not an addressee you must not
> distribute,
> copy, disclose, use or rely on this e-mail or its contents and you must
> immediately
> notify the sender you are in receipt of this e-mail and delete all copies
> from your
> system. Any unauthorised use may be unlawful.
>
>
>
> --
> 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

Re: [Geoserver-users] cannot enable CORS anymore

2018-09-10 Thread Andrea Aime
Hi Joe,
question, do you have service security set up, so that GeoServer would
outright deny
a request unless the user making the request is authorized to?
E.g., something like denying any WFS request if the user does not have a
particular role?

Cheers
Andrea

On Mon, Sep 10, 2018 at 7:13 PM Joe Murphy 
wrote:

> I'm not super up to speed on how you are using CORS. But i have it working
> fine in my build. Please let me know how I can help..
>
> Geoserver 2.13.2.war, Tomcat 9.0.7, Debian Docker Container.
>
> Maybe just looking at my web.xml file would help?
>
>
> Joe
>
>
> On Mon, Sep 10, 2018, 10:05 AM Andrea Aime 
> wrote:
>
>> Hi,
>> for the longest time CORS has been "not our problem", it's normally
>> managed in the web container (e.g., Tomcat, Jetty) or in
>> the eventual application fronting GeoServer (e.g., Apache, NGINX).
>> Maybe things have changed with the latest versions of Spring, if I search
>> for preflight test I find all sorts of configurations to be
>> made in Spring in order to allow them (none of them immediately
>> compatible with how GeoServer works though).
>> It could be that CORS needs to be managed directly in GeoServer when
>> authentication is involved... but to be honest, I don't know,
>> I'm not a javascript developer and have no clue if the preflight tests
>> can be properly supported by just configuring the container,
>> or if they actually need some code change in GeoServer.
>>
>> I understand it's not very helpful, but it's all I have for the "5
>> minutes user help" I can provide on this list.
>>
>> Cheers
>> Andrea
>>
>> On Tue, Sep 4, 2018 at 10:14 PM Steric, Nenad 
>> wrote:
>>
>>> Hello,
>>>
>>>
>>>
>>> i had a working geoserver installation last year where CORS was enabled,
>>>
>>> but for some reason now I cannot reproduce this.
>>>
>>>
>>>
>>> I have posted all the details to
>>>
>>>
>>> https://gis.stackexchange.com/questions/294744/geoserver-wms-cors-enabled-in-web-xml-still-error
>>>
>>> but I can repost them here if you need this.
>>>
>>>
>>>
>>> From the error message (or lack of) it seems that
>>>
>>> CORS should be active
>>>
>>> But the pre-flight OPTIONS-request yields a Forbidden response.
>>>
>>>
>>>
>>> This is strange as this exact code I am using was working last year.
>>>
>>> Did the checks of the browser (Chrome,FF, I think I also tested IE )
>>> change ?
>>>
>>>
>>>
>>> Do you have any other idea what I could check or change ?
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Nenad
>>>
>>>
>>>
>>> P.S. Aktuelle Veranstaltungen: zuehlke.com/events
>>> Zühlke Blog: blog.zuehlke.com
>>> <https://www.zuehlke.com/blog/#utm_source=email&utm_medium=signature>
>>>
>>> *Nenad Steric*
>>> Expert Software Engineer
>>>
>>> Zühlke Engineering (Austria) GmbH
>>> Rivergate, Handelskai 92, 1200 Wien, Österreich
>>> Phone+43 1 205 11 6855
>>> nenad.ste...@zuehlke.com
>>>
>>>
>>> This e-mail is for the addressees only. The information it contains is
>>> confidential
>>> and may be legally privileged. If you are not an addressee you must not
>>> distribute,
>>> copy, disclose, use or rely on this e-mail or its contents and you must
>>> immediately
>>> notify the sender you are in receipt of this e-mail and delete all
>>> copies from your
>>> system. Any unauthorised use may be unlawful.
>>>
>>>
>>>
>>> --
>>> 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://g

Re: [Geoserver-users] cannot enable CORS anymore

2018-09-10 Thread Andrea Aime
Hi Torben,
looking at the original stackoverflow post, I believe the "bin" package is
used in this case, thus, Jetty.
Running on Tomcat for production is probably a better idea, though :-)

Another angle to look at might be the authentication configuration... is
the server allowing anonymous access,
or have been the auth filter chains modified so that it will only allow
authenticated one?

Cheers
andrea

On Mon, Sep 10, 2018 at 8:10 PM Torben Barsballe <
tbarsba...@boundlessgeo.com> wrote:

> Hello Joe,
>
> I believe newer versions of Tomcat (8.5, 9.0) require slightly more strict
> CORS configuration than older versions.
>
> I have had some success with the following general configuration (on
> Tomcat 8.5):
>
> 
>   CorsFilter
>   
> org.apache.catalina.filters.CorsFilter
> cors.allowed.origins
> *
>   
>   
> cors.allowed.methods
> GET,POST,HEAD,OPTIONS,PUT
>   
>   
> cors.exposed.headers
> 
> Access-Control-Allow-Origin,Access-Control-Allow-Methods
>   
>   CorsFilter
>   /*
>
>
> This is a simple configuration that pretty much allows everything. If you
> are just running GeoServer locally, this is fine, but it should not be used
> for any sort of production system - in that case, you should adjust origins
> and methods as appropriate.
>
> (One other note: If you are testing on Chrome, the web console, under
> Developer Tools, should report whether a request was blocked because of
> CORS. If it doesn't, there is likely some other reason for the 403 response)
>
> Cheers,
>
> Torben
>
>
>
>
> On Mon, Sep 10, 2018 at 10:48 AM Andrea Aime 
> wrote:
>
>> Hi Joe,
>> question, do you have service security set up, so that GeoServer would
>> outright deny
>> a request unless the user making the request is authorized to?
>> E.g., something like denying any WFS request if the user does not have a
>> particular role?
>>
>> Cheers
>> Andrea
>>
>> On Mon, Sep 10, 2018 at 7:13 PM Joe Murphy 
>> wrote:
>>
>>> I'm not super up to speed on how you are using CORS. But i have it
>>> working fine in my build. Please let me know how I can help..
>>>
>>> Geoserver 2.13.2.war, Tomcat 9.0.7, Debian Docker Container.
>>>
>>> Maybe just looking at my web.xml file would help?
>>>
>>>
>>> Joe
>>>
>>>
>>> On Mon, Sep 10, 2018, 10:05 AM Andrea Aime 
>>> wrote:
>>>
>>>> Hi,
>>>> for the longest time CORS has been "not our problem", it's normally
>>>> managed in the web container (e.g., Tomcat, Jetty) or in
>>>> the eventual application fronting GeoServer (e.g., Apache, NGINX).
>>>> Maybe things have changed with the latest versions of Spring, if I
>>>> search for preflight test I find all sorts of configurations to be
>>>> made in Spring in order to allow them (none of them immediately
>>>> compatible with how GeoServer works though).
>>>> It could be that CORS needs to be managed directly in GeoServer when
>>>> authentication is involved... but to be honest, I don't know,
>>>> I'm not a javascript developer and have no clue if the preflight tests
>>>> can be properly supported by just configuring the container,
>>>> or if they actually need some code change in GeoServer.
>>>>
>>>> I understand it's not very helpful, but it's all I have for the "5
>>>> minutes user help" I can provide on this list.
>>>>
>>>> Cheers
>>>> Andrea
>>>>
>>>> On Tue, Sep 4, 2018 at 10:14 PM Steric, Nenad 
>>>> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>>
>>>>>
>>>>> i had a working geoserver installation last year where CORS was
>>>>> enabled,
>>>>>
>>>>> but for some reason now I cannot reproduce this.
>>>>>
>>>>>
>>>>>
>>>>> I have posted all the details to
>>>>>
>>>>>
>>>>> https://gis.stackexchange.com/questions/294744/geoserver-wms-cors-enabled-in-web-xml-still-error
>>>>>
>>>>> but I can repost them here if you need this.
>>>>>
>>>>>
>>>>>
>>>>> From the error message (or lack of) it seems that
>>>>>
>>>>> CORS should be active
>>>>>
>>>>> But the pre-flight OPTIONS-request yields 

Re: [Geoserver-users] Using the app schema with complex features assource

2018-09-11 Thread Andrea Aime
On Tue, Sep 11, 2018 at 1:03 PM Sorin RUSU via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Geoserver & AppSchema cannot flatten data requested since it can’t solve
> the *complex feature* -> *simple feature *conversion, which implies you
> are limited in the output formats from the WFS request to either: text/xml
> or the „cannonical” application/xml+gml32 (no shapefile unfortunately), or
> json
>

If you are interested in coding the change or funding the effort,
flattening could be added as an option for the "flat" formats. The tricky
part is to decide how to do the flattening, the obvious approach could be
to use the xpath from root to attribute, with some safe separator, but it
would come up with long names, and thus work poorly for shapefiles. Another
approach could be to write a mapping text file, and just use A1, A2, A3,
... as the names... that is also somewhat poor.
Maybe one can hope that the attribute names are unique enough, and just use
the full path for those that are not?

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.*
___
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] Querystring parameters

2018-09-11 Thread Andrea Aime
On Tue, Sep 11, 2018 at 3:18 PM Olyster  wrote:

> Hi,
>
> I'm currently developing a feature. I'm modifying gt-jdbc-version.jar.
>
> I need to calculate the scale so I need the bbox (which I already have) and
> the width queryString parameter.
>
> Is it available from classes in gt-jdbc ? If not, from which class/jar
> should I propagate it ?
>

GeoServer makes the following variables available via the Env function, it
was meant for
SLD usage, but you can query them using EnvFunction pretty much from
everywhere, including
the JDBC stores:

https://github.com/geoserver/geoserver/blob/6e9e25c0c7cdda9ada9f33f8255130d3afc76801/src/wms/src/main/java/org/geoserver/wms/RenderingVariables.java#L22

However, mind, if you are trying to support generalization, the renderer is
already passing down a query hint
to all JDBC stores that support it, providing the target resolution.
PostGIS for example uses to run a in-database
simplification of data before returning it to GeoTools, see this bit and
search for other parts of the class with the "simplification" keyword:
https://github.com/geotools/geotools/blob/1c6ec822352d00a4e6566a7e669ee501384932ae/modules/plugin/jdbc/jdbc-postgis/src/main/java/org/geotools/data/postgis/PostGISDialect.java#L1487

It is in general more useful because you get the simplifcation distance in
the data native CRS, instead of the requested one (which can be
different, in case of reprojection)

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
--- *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.*
___
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] Querystring parameters

2018-09-11 Thread Andrea Aime
Hi,
no, in WFS there is no support for it, nor there is a WIDTH parameter in
the protocol itself (but maybe you are trying to do something custom).
Yon can still access all the parameters in the request using the GeoServer
org.geoserver.ows.Disptacher.REQUEST thread local,
that implies your store code will have to depend on GeoServer gs-ows module
though (careful about creating circular dependency loops)

Chers
Andrea


On Tue, Sep 11, 2018 at 3:46 PM Olyster  wrote:

> Hi Andrea and thanks for your help.
>
> Is the EnvFunction available in W*F*S as well ?
>
> Thanks
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> 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.*
___
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] Tile Caching / Tile Layers result in Wicket Error

2018-09-12 Thread Andrea Aime
That's good news, thanks for letting us know

Cheers
Andrea

PS: just a note, next time do not use nabble to send messages to the list,
the stack trace you shared there
did not reach the mailing list, so the question was basically impossible to
answer.

When subscribing you were kindly suggested to read the following two
presentations, if you did not yet, I'd suggest to do so now:
- 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

On Wed, Sep 12, 2018 at 9:01 AM elbarado  wrote:

> Hi all,
>
> just a quick update. I've upgraded the GeoServer to 2.14.RC and the error
> is
> gone now.
>
> Best,
> Rolf
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> 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.*
___
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] Chaining WFS and WPS

2018-09-14 Thread Andrea Aime
Hi,
there is no way to have WFS transparently call WPS, it's the other way
around, WPS calls WFS, try this request:

http://www.w3.org/2001/XMLSchema-instance"; xmlns="
http://www.opengis.net/wps/1.0.0"; xmlns:wfs="http://www.opengis.net/wfs";
xmlns:wps="http://www.opengis.net/wps/1.0.0"; xmlns:ows="
http://www.opengis.net/ows/1.1"; xmlns:gml="http://www.opengis.net/gml";
xmlns:ogc="http://www.opengis.net/ogc"; xmlns:wcs="
http://www.opengis.net/wcs/1.1.1"; xmlns:xlink="http://www.w3.org/1999/xlink";
xsi:schemaLocation="http://www.opengis.net/wps/1.0.0
http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd";>
  gs:Clip
  

  features
  http://geoserver/wfs";
method="POST">

  *http://zaatari.cloudsdi.geo-solutions.it/
<http://zaatari.cloudsdi.geo-solutions.it/>">*
**
*  *

  


  clip
  
**
  

  
  

  result

  


against this URL as a POST request:
http://cloudsdi.geo-solutions.it/geoserver/wps

Basically you'd have to build the WFS request you want to make, embed it in
the WPS one, and align the clipping bounds
(basically update the bits I have highlited in bold).

Cheers
Andrea


On Fri, Sep 14, 2018 at 3:11 PM Olyster  wrote:

> Hi,
>
> I'm working with a fairly big multipolygon (400 000points)  in oracle
> spatial.
>
> I noticed that all the points are returned to the client (browser) even if
> 10 points are showing.
>
> WFS protocol doesn't weed out those points so I'd like to use WPS to
> perform
> clipping of the returned coordinates by WPS.
>
> I tried the query builder but I always get "No workspace specified" error
> even if there's a workspace specified in the URL (GET).
>
> How can I chain WFS request with a WPS process so that every WFS result
> will
> be clipped by Geoserver ?
>
> Thanks
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> 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.*
___
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] Chaining WFS and WPS

2018-09-14 Thread Andrea Aime
In that case I guess you need a vendor extension to the WFS protocol.
It would be an extra parameter added to the request, that the client uses
to indicate the wish
to receive clipped data (the standard says otherwise, all the intersecting
data must be returned,
hence the need to roll something custom to get a different behavior).

If you are interested in coding it, I can give you a couple of pointers in
the code, if instead
you'd prefer someone else to code it for you, check the commercial support
page here:
http://geoserver.org/support/

Cheers
Andrea


On Fri, Sep 14, 2018 at 5:31 PM Olyster  wrote:

> Andrea,
>
> thanks for your reply.
>
> I understand what you mean but I'm working on a WFS service which will
> receive a lot of requests daily. It not a one shot deal.
>
> Thanks for your suggestion and have a nice one !
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> 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.*
___
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] Chaining WFS and WPS

2018-09-15 Thread Andrea Aime
On Fri, Sep 14, 2018 at 9:34 PM Olyster  wrote:

> Andrea,
>
> The polygon is a multipolygon and unfortunately the gs:clip doesn't seem to
> handle it as it returns a bunch of coordinate one after the other without
> any kind of seperation.
>

This is unexpected. Can you please show us the inputs, outputs and request
as GML/XML?


> Could you point me in the package/class where this clipping is done ? Maybe
> I could use the same function on the features returned by the spatial
> query.
>

The class doing clipping for WMS is this one:
https://github.com/geotools/geotools/blob/2275e27a4f55fcd1d883fab82a926040d8539168/modules/library/main/src/main/java/org/geotools/geometry/jts/GeometryClipper.java#L46

Mind, it's a fast rectangular clipping but results are not guaranteed to be
topologically valid
anymore, which WMS does not care about and draws regardless, but a WFS
client
might complain about. If you need to ensure topological validity you'll
have to uses
JTS intersect method, and then clean up the results (they will contain, in
general, a mix
of ponts, lines and polygons)

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.*
___
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] Chaining WFS and WPS

2018-09-17 Thread Andrea Aime
On Mon, Sep 17, 2018 at 5:19 PM Olyster  wrote:

> Since I'm tapping in the code, would it be possible to get the bbox, build
> a
> wps request, set the output as WFS (mimeType="text/xml;
> subtype=wfs-collection/1.1") and return this as the result of the WFS query
> ? That would simplify the whole process.
>

Hum... well not out of the box, but you could maybe implement a plugin that
uses the
DispatcherCallback interface, we already used it in the past to intercept a
request,
modify it, and have it return a different result.
Think of it as a servlet filter on steroids (it will require you to spend
some time
figuring out how it works, there are not docs, but at least it will shield
you from
the many ways a WFS request can be made, GET, POST, SOAP, and
different protocol versions as well)

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.*
___
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] Disabling error response of WMS/WFS to the Clients/users

2018-09-19 Thread Andrea Aime
On Wed, Sep 19, 2018 at 10:21 AM Naresh N  wrote:

> I request GeoServer developers community to include/enable generic error
> messages in case of exception in future builds of GeoServer.
>

That is now how it works, the GPL license is clear:

NO WARRANTY

  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE* THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED*
*OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF*
*MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.*  *THE ENTIRE RISK
AS*
*TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU*.*  SHOULD THE*
*PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,*
*REPAIR OR CORRECTION.*

  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.

If you want something done in GeoServer, either provide a pull request with
the changes, following
the contributiong guidelines [1], or contact a commercial support provider
to have the changes developed for you [2]

Cheers
Andrea

[1]: https://github.com/geoserver/geoserver/blob/master/CONTRIBUTING.md
[2]: http://geoserver.org/support/

==

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.*
___
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] One of two overlapping polylines not rendered

2018-09-20 Thread Andrea Aime
Hi,
did you install the Marlin renderer? Or are you using the Windows installer?
You can check in the status page if it's there (otherwise you'll get names
like PiscesRenderer
or DuctusRenderer):

[image: Selezione_387.png]

If you are using Marlin, one thing to try out is to disable it (how,
depends on how you're running GeoServer).

Cheers
Andrea


On Thu, Sep 20, 2018 at 1:39 PM Arnaud L.  wrote:

> Le 19/09/2018 à 12:04, Arnaud L. a écrit :
> > I have a layer with closed polylines. Some of them almost fully overlap
> > (but not quite).
> > The problem I witness is that for some couple of polylines, only one of
> > the two is rendered. Depending on the bbox, it can be one or the other,
> > but never both.
> > ...
> > I manually ran both queries that I found in the log againt my PostGIS
> > database, and both did return all the geometries (even the one not
> > rendered).
>
>
> I checked in the KML layer preview and can confirm that everything is
> there.
> So the problem is probably somewhere in the rasterization process.
>
> Any idea ?
>
> Regards
> --
> Arnaud
>
>
> ___
> 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.*
___
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] WPS extension

2018-09-25 Thread Andrea Aime
Hi,
the error message points at a missing class, maybe the custom WPS extension
is not adding all of its dependencies? Or maybe GeoServer dropped that
dependency along the way.
Normally that class is found inside jackson-databind, don't know which
version of it you'll need though.

Cheers
Andrea


On Tue, Sep 25, 2018 at 4:34 PM César Augusto Ribeiro 
wrote:

> After an upgrade from GeoServer 2.7.2 to 2.13.2, a custom WPS extension
> process stopped working.
> Error:
>
> java.lang.NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper
> org/codehaus/jackson/map/ObjectMapper
>
> Any ideas?
>
> Thanks
>
> --
> César Augusto
> ___
> 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.*
___
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] DispatcherCallback

2018-09-26 Thread Andrea Aime
In other words, the whole GeoServer architecture is streaming, meaning, the
result you see in WFS is not the actual
result (loading it in memory would take just too much RAM), but a tool to
access the data.
When the output format does its work, it will actually start pulling
features out of it, and that's when the query is run,
loading a page of features, encoding them in output, throwing them away,
moving to the next, and so on

Cheers
Andrea

On Wed, Sep 26, 2018 at 9:46 AM Nuno Oliveira <
nuno.olive...@geo-solutions.it> wrote:

> Access to the data stores is lazy, which means that the query will be sent
> to
> the database only when you actually try to access the content of the
> feature
> collection, for example.
> If nobody access the content of the feature collection (or whatever
> container is
> being used), no query will be send to the database.
>
> On 09/25/2018 06:24 PM, Olyster wrote:
> > Hi,
> >
> > I've added log in gs-ows and gt-jdbc and something weird happens :
> >
> > Added a log in :
> >
> > gt-jdbc.JDBCDataStore.selectSQLPS right before the spatial query is
> executed
> >
> > and another in gs.ows.Dispatcher.handleRequestInternal after the
> execute()
> > method is called.
> >
> > In the log, I get the gs-ows log before the gt-jdbc log.
> >
> > How can the result be ready before the query is sent to DB server ?
> >
> > Thanks
> >
> >
> >
> >
> >
> >
> >
> > --
> > Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
> >
> >
> > ___
> > 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,
> Nuno Oliveira
> ==
> GeoServer Professional Services from the experts!
> Visit http://goo.gl/it488V for more information.
> ==
>
> Nuno Miguel Carvalho Oliveira
> @nmcoliveira
> Software Engineer
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:  +39 0584 1660272
>
> 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.
>
>
>
> ___
> 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

Re: [Geoserver-users] DispatcherCallback

2018-09-28 Thread Andrea Aime
No, you cannot.
IMHO your best bet, roughly, is:

   - DispatcherCallback hitting the operationExecuted method
   - Check if the service and version are the ones you expect, then cast
   the result object to a FeatureCollectionResponse
   - Use the getFeatures method to get to the list of fetaure collections
   (a GetFeature might request multiple feature types)
   - Pass that to the execute method of ClipProcess, it will give you back
   a feature collection that computes the clip as it gets scrolled though
   - Set that back into FeatureCollectionResponse and return it

If that does not work (it's just an idea, not a tested and verified method)
consider looking into commercial support, http://geoserver.org/support/

Cheers
Andrea


On Thu, Sep 27, 2018 at 9:57 PM Olyster  wrote:

> Hi,
>
> can I access the SQL query and the bbox of the GetFeature request from
> within Dispatcher.java ?
>
> Thanks
>
>
>
>
>
>
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> 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.*
___
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] RV: Issues with a getMap request

2018-10-03 Thread Andrea Aime
In a previous mail you reported using GeoServer 2.8, which has been out of
support for a long time.
Can you try with a currently supported version, 2.13.x or a 2.14.x?
If the issue is still there, could you open a ticket at
https://osgeo-org.atlassian.net/projects/GEOS
with sample data/config/request and steps to reproduce?

Cheers
Andrea


On Wed, Oct 3, 2018 at 10:16 AM David Alda Fernandez de Lezea
 wrote:

> Hi,
>
> To add some information:
>
> If I combine a vector layer withe the raster layer I also get different
> results:
>
> Strange behavior (it seems not to draw some values)
>
>
> http://geo1.hazi.eus/GEOBOLIVIA/wms?SERVICE=WMS&REQUEST=GetMap&VERSION=1.1.1&LAYERS=forest_cover_2000_32720_30m,Vegetacion&STYLES=&FORMAT=image/png&TRANSPARENT=true&CONTINUOUSWORLD=true&TILED=false&INFO_FORMAT=text/html&WIDTH=1920&HEIGHT=976&SRS=EPSG:3857&BBOX=-7143174.0580492215,-2069608.9778494332,-7106484.284472336,-2050958.3429478498
>
>
> As the raster should be:
>
>
> http://geo1.hazi.eus/GEOBOLIVIA/wms?SERVICE=WMS&REQUEST=GetMap&VERSION=1.1.1&LAYERS=forest_cover_2000_32720_30m&STYLES=&FORMAT=image/png&TRANSPARENT=true&CONTINUOUSWORLD=true&TILED=false&INFO_FORMAT=text/html&WIDTH=1920&HEIGHT=976&SRS=EPSG:3857&BBOX=-7143174.0580492215,-2069608.9778494332,-7106484.284472336,-2050958.3429478498
>
>
>
> Strange, isn't it?
>
> Thanks in advance.
>
> Regards,
>
> Agur bero bat,
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> da...@hazi.eus | www.hazi.eus
> T 945 003 240 - M 627 923 170 - F 945 003 290
> Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba
>
> *  LEGE OHARRA   ***   AVISOLEGAL
> ***   DISCLAIMER   *
> Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera
> debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta
> kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
>
>
>
> ___
> 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.*
___
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, 

Re: [Geoserver-users] RV: Issues with a getMap request

2018-10-03 Thread Andrea Aime
Hi David,
that's a pity, I don't think we can be of any help then, the behavior
you're experiencing looks like a bug to me

Cheers
Andrea

On Wed, Oct 3, 2018 at 11:40 AM David Alda Fernandez de Lezea
 wrote:

> Hi Andrea,
>
> Unfortunately, in the short term I think it won’t be possible to upgrade
> GeoServer.
>
> Agur bero bat,
>
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> da...@hazi.eus | www.hazi.eus
> T 945 003 240 – M 627 923 170 – F 945 003 290
> Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba
>
> *  LEGE OHARRA   ***   AVISOLEGAL
> ***   DISCLAIMER   *
> Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera
> debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta
> kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
> De: Andrea Aime [mailto:andrea.a...@geo-solutions.it]
> Enviado el: miércoles, 03 de octubre de 2018 10:21
> Para: David Alda Fernandez de Lezea
> CC: GeoServer Mailing List List
> Asunto: Re: [Geoserver-users] RV: Issues with a getMap request
>
> In a previous mail you reported using GeoServer 2.8, which has been out of
> support for a long time.
> Can you try with a currently supported version, 2.13.x or a 2.14.x?
> If the issue is still there, could you open a ticket at
> https://osgeo-org.atlassian.net/projects/GEOS
> with sample data/config/request and steps to reproduce?
>
> Cheers
> Andrea
>
>
> On Wed, Oct 3, 2018 at 10:16 AM David Alda Fernandez de Lezea
>  wrote:
> Hi,
>
> To add some information:
>
> If I combine a vector layer withe the raster layer I also get different
> results:
>
> Strange behavior (it seems not to draw some values)
>
>
> http://geo1.hazi.eus/GEOBOLIVIA/wms?SERVICE=WMS&REQUEST=GetMap&VERSION=1.1.1&LAYERS=forest_cover_2000_32720_30m,Vegetacion&STYLES=&FORMAT=image/png&TRANSPARENT=true&CONTINUOUSWORLD=true&TILED=false&INFO_FORMAT=text/html&WIDTH=1920&HEIGHT=976&SRS=EPSG:3857&BBOX=-7143174.0580492215,-2069608.9778494332,-7106484.284472336,-2050958.3429478498
>
>
> As the raster should be:
>
>
> http://geo1.hazi.eus/GEOBOLIVIA/wms?SERVICE=WMS&REQUEST=GetMap&VERSION=1.1.1&LAYERS=forest_cover_2000_32720_30m&STYLES=&FORMAT=image/png&TRANSPARENT=true&CONTINUOUSWORLD=true&TILED=false&INFO_FORMAT=text/html&WIDTH=1920&HEIGHT=976&SRS=EPSG:3857&BBOX=-7143174.0580492215,-2069608.9778494332,-7106484.284472336,-2050958.3429478498
>
>
>
> Strange, isn't it?
>
> Thanks in advance.
>
> Regards,
>
> Agur bero bat,
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> da...@hazi.eus | www.hazi.eus
> T 945 003 240 - M 627 923 170 - F 945 003 290
> Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba
>
> *  LEGE OHARRA   ***   AVISOLEGAL
> ***   DISCLAIMER   *
> Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera
> debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta
> kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
>
>
>
> ___
> 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-feature

Re: [Geoserver-users] JAI merging granules performance

2018-10-04 Thread Andrea Aime
Hi,
do you have the "use JAI ImageRead" parameter turned on? (it is by default)
In that case the read is deferred, happens when the JAI chain starts
pulling tiles, so you see also the data reading
as part of the image processing time.

Side note, LZW decompression is awfully slow, if you want to use lossless
compression I'd suggest to switch to DEFLATE instead

Cheers
Andrea

On Thu, Oct 4, 2018 at 12:33 PM Arnaud L.  wrote:

> Hi all,
>
> I am running Geoserver 2.12.1 on Windows (Java8, 32bits, JAI & JAI
> ImageIO installed).
>
> I have set up an ImagePyramid wich works OK, but performance is not as
> good as what I expected.
>  From the logs, the time taken between the parsing of the request and
> the end of the granules collection is OK (~ 200ms to query the index
> stored in a PostGIS DB, collect 6 granules, which are 1000x1000px TIFF
> files with LZW compression).
>
> But then, it takes almost 1 second for JAI to merge these granules into
> the final PNG.
> I have enabled multithreading on this layers which helped quite a lot,
> and disabled JAI_IMAGEREAD which helped a little.
>
> The log files shows nothing special happening, so I guess it's just the
> process that is not very fast : https://pastebin.com/EH8K6tUJ
>
> I have left the defaults in JAI and Coverage Access settings.
>
> Is there anything I could try to make things faster ?
>
> Thanks a lot !
>
> --
> Arnaud
>
>
> ___
> 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.*
___
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] SLD dynamic Lable

2018-10-05 Thread Andrea Aime
Hi,
this might work (mind, untested):

 

lable

 defaultToAnExistingPropertyNameNoQuotes



Of course you have to replace defaultToAnExistingPropertyNameNoQuotes with
some existing property ;-)

Cheers
Andrea

On Fri, Oct 5, 2018 at 8:59 AM am  wrote:

> Hi,
> I want to write an sld to be able to get lable field based on dynamic
> style.
> I tried this method
>
> 
>
>
>   
>
> 
>lable
>''
> 
>
>  flow
>  flow
>
>  
>
>
>  
>
> this works fine but I must add all possible fields into Recode function, Is
> there any better method to achieve this goal?
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> 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.*
___
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] [Geoserver-devel] Recalculate Feature Bounding Box REST API

2018-10-06 Thread Andrea Aime
Hi,
I don't have much experience with the rest api module, but I'm wondering...
you're not really using "featuretypeName", verbatim, in the request,
but you are setting the actual typename that you're trying to modify, right?
Silly question I know, but if you were to use it verbatim, it would explain
the other errors you're seeing, since that request used verbatim changes the
type name from whatever it is, to "featuretypeName"

Cheers
Andrea


On Fri, Oct 5, 2018 at 8:59 PM Olyster  wrote:

> unfortunately I can't find the exact site %?$/
>
> just use postman and pass
> featuretypeNametrue
>
>
> as an xml body as text/xml with autorization and content type (text/xml)
> header
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> 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.*
___
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] [Geoserver-devel] Recalculate Feature Bounding Box REST API

2018-10-07 Thread Andrea Aime
On Sat, Oct 6, 2018 at 11:53 PM Olyster  wrote:

> Andrea,
>
> you are right : I use the actuel featuretype name and *NOT* the string
> "featuretypeName".
>
> As stated I don't have this problem with 2.12.2 so I think it may be a
> solved bug.
>

2.12.x is dead and unsupported, please upgrade to at least 2.13.x
We cannot provide help on outdated versions (not enough people here trying
to help users,
not enough developers either). With more people we could do more, but we're
restricted
to the little that we have available.

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.*
___
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] 2.14.0 GetCapabilities ConcurrentModificationException

2018-10-10 Thread Andrea Aime
Hi,
never seen it, but looking at the code, I also think it's entirely possible
to have it happen, and nothing new really,
if someone modifies the configuration of the same layer at the same time
the caps are being
generated.

I'd open a bug report

Cheers
Andrea


On Wed, Oct 10, 2018 at 2:13 PM Wilwerding, Jerry (Peraton) (US Person) via
Geoserver-users  wrote:

> Curious if anyone else sees this issue on 2.14.0 WMS GetCapabilities
> request.
>
> 2018-10-10 10:09:38,232 WARN [wms.capabilities] - Error writing metadata;
> skipping layer: EchoBottomsMosaicFlagsForPrecipLevel
> java.util.ConcurrentModificationException
> at java.util.HashMap$HashIterator.nextNode(HashMap.java:1437)
> at java.util.HashMap$KeyIterator.next(HashMap.java:1461)
> at
> org.geoserver.wms.capabilities.DimensionHelper.handleRasterLayerDimensions(DimensionHelper.java:233)
> at
> org.geoserver.wms.capabilities.Capabilities_1_3_0_Transformer$Capabilities_1_3_0_Translator.handleLayer(Capabilities_1_3_0_Transformer.java:1015)
> at
> org.geoserver.wms.capabilities.Capabilities_1_3_0_Transformer$Capabilities_1_3_0_Translator.doHandleLayer(Capabilities_1_3_0_Transformer.java:936)
> at
> org.geoserver.wms.capabilities.Capabilities_1_3_0_Transformer$Capabilities_1_3_0_Translator.handleLayerTree(Capabilities_1_3_0_Transformer.java:896)
> at
> org.geoserver.wms.capabilities.Capabilities_1_3_0_Transformer$Capabilities_1_3_0_Translator.handleLayers(Capabilities_1_3_0_Transformer.java:734)
> at
> org.geoserver.wms.capabilities.Capabilities_1_3_0_Transformer$Capabilities_1_3_0_Translator.handleCapability(Capabilities_1_3_0_Transformer.java:478)
> at
> org.geoserver.wms.capabilities.Capabilities_1_3_0_Transformer$Capabilities_1_3_0_Translator.encode(Capabilities_1_3_0_Transformer.java:288)
> at
> org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:996)
> at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:668)
> at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:737)
> at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:351)
> at
> org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:284)
> at
> org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:119)
> at
> org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:101)
> at
> org.geoserver.wms.capabilities.Capabilities_1_3_0_Response.write(Capabilities_1_3_0_Response.java:43)
> at
> org.geoserver.config.CapabilitiesCacheHeadersCallback$RevalidateTagResponse.write(CapabilitiesCacheHeadersCallback.java:144)
>
>
>
> *Jerry*
>
>
> ___
> 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 

Re: [Geoserver-users] [Label Placement] Baseline is displaced when the label's text has line breaks and descenders

2018-10-10 Thread Andrea Aime
I'd suggest to ope a report. Please remember to add a test case (sample
data + style)

Cheers
Andrea

On Wed, Oct 10, 2018 at 3:51 PM Fabian Ortega  wrote:

> Hi,
>
>
>
> I’m facing an issue related with the “Label Placement”.
>
> When a label’s text has a line break and has letters with descenders, the
> label baseline gets displaced.
>
>
>
> *NB* : In typography, a descender is the portion of a letter that extends
> below the baseline of a font, i.e.: “g”, “p”, “q”, “y”, “j”.
>
>
>
> *Examples :*
>
>
>
> *CASE 1* – The label’s text has a line break but no descenders >>> *IT
> WORKS FINE* :
>
>
>
> *CASE 2* – The label’s text has descenders but doesn’t have line breaks
> >>> *IT WORKS FINE* :
>
>
>
>
>
> *CASE 3* – The label’s text has line breaks and descenders >>> *Problem :* 
> *THE
> BASELINE IS DISPLACED* :
>
>
>
>
>
>
>
>
>
> Have you seen this behavior before? Is it “normal”? Or do you think I
> should report it as a bug?
>
>
>
> Regards,
>
>
>
>   Fabian
> ___
> 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.*
___
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] No mapping for com.vividsolutions.jts.geom.Polygon warn when creating a layer with REST

2018-10-16 Thread Andrea Aime
I think you mean 2.14.0? This kind of issue was supposed to have been fixed
before the 2.14.0 release, let's hear
Jody and Jim (cc'ed)

Cheers
Andrea


On Tue, Oct 16, 2018 at 6:07 PM Paolo Corti  wrote:

> Dear list
>
> after recently migrating to GeoServer 2.10.14 from 2.10.13, an
> application which create empty layers in GeoServer on a PostGIS
> datastore using the REST interface, and which used to work on 2.10.13
> (and previous versions) has started failing.
>
> This is the error I see in logs:
>
> 2018-10-16 15:49:25,812 WARN [catalog.impl] - Failed to load actual
> store for FeatureTypeInfoImpl[test]
> 2018-10-16 15:49:25,872 WARN [geotools.jdbc] - No mapping for
> com.vividsolutions.jts.geom.Polygon
> 2018-10-16 15:49:25,975 WARN [geotools.jdbc] - Could not find mapping
> for 'the_geom', ignoring the column and setting the feature type read
> only
>
> After I see this warn, the layer is still created, but with no geometry.
> Any hint on this?
>
> This is the xml which the application is sending to the datastore REST
> endpoint (
> http://localhost:8080/geoserver/rest/workspaces/ws_name/datastores/ds_name/featuretypes
> ):
>
> 
>   test
>   test
>   test
>   EPSG:4326
>   
> -180
> 180
> -90
> 90
> EPSG:4326
>   
>   
> 
>   the_geom
>   com.vividsolutions.jts.geom.Polygon
>   False
> 
> 
>   test_field
>   java.lang.String
>   True
> 
>   
> 
>
> thanks in advance
> Paolo
>
> --
> Paolo Corti
> Geospatial software developer
> web: http://www.paolocorti.net
> twitter: @capooti
> skype: capooti
>
>
> ___
> 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.*
___
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] Resource upload via rest API saved in a web-envelope

2018-10-19 Thread Andrea Aime
Hi,
I have not tried myself to verify, but as far as I remember, if you want to
upload multiple files (style and its
icons) you have to put everything in a zip file and then upload that. No
other multi-file approach is supported.

Cheers
Andrea


On Fri, Oct 19, 2018 at 6:09 PM Miodrag Vidanovic <
miodrag.vidano...@bridging-it.de> wrote:

> Hi!
>
> I'm using GeoServer 2.14.0 and I am trying to upload a couple of css and
> png files to the workspace. For that purpose, I'm using the /resource/ rest
> API. The files *are* uploaded - they are saved at the right place, they
> are getting the right file name, but their *content* is mangled. It seems
> that they are saved together with their multipart web-envelope:
>
> --4aeb5300728e29c5bb0af8225aa3b225
>
> Content-Disposition: form-data; name="icon2"; filename="icon2.png"
>
>
>
> .PNG
>
> {the rest of the png binary file}
>
> --4aeb5300728e29c5bb0af8225aa3b225--
>
> The same happens with css files, so none of them can be really used. If I
> edit the file and remove that leading and trailing text, the file works
> perfectly.
>
> For upload I have tried reading files as binary and as ascii, tried to set
> all sorts of content types, from mime detected, generic text/plain (for
> css) or generic application/octet-stream for binary files and, of course,
> multipart/form-data. Also without that kind of a header. I have tried
> upload with curl as well, to exclude my code. I have also tried to perform
> the same operation on GeoServer 2.13.2, but sadly, always with same
> results. What am I doing wrong, can't believe that this is a bug nobody saw
> before?
>
>
>
> Cheers!
>
>
> ___
> 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.*
___
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] Why is footprint shape file necessary in Geoserver and not in QGIS for ECW file?

2018-10-21 Thread Andrea Aime
Hi Ron,
no clue, I was under the impression that ECW files had no transparency
information... but
I haven't really looked much into it, server side usage of ECW requires an
expensive licence
to be done legally, so we normally just don't use it.

Can you run a gdalinfo on your file?

Cheers
Andrea

On Sun, Oct 21, 2018 at 9:39 AM Ron Lindhoudt via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> When I open an ECW file in QGIS then the black background of the ECW is
> automatically made transparent.
> When I add the same ECW in Geoserver via ECW plugin then the background is
> black and not transparent.
> Also if I change the footprint behavior to "Transparent". I have to make a
> shape footprint file with the same name as the ECW file to make the black
> background transparent.
> Is it possible in Geoserver to make the background of an ECW fie
> transparent
> without making a footprint shape file?
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> 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.*
___
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] WFS protect server from overcapacity by enforcing BBOX in requests + limiting max BBOX area

2018-10-21 Thread Andrea Aime
Hi,
the WFS protocol has no way to advertise limits on the bounding box, so
trying to apply them would break
any "standard" client, only clients hand-crafted to work against our
service would be able to reliably extract information
out of it.

The WFS protocol choice to avoid overloading the server is limiting the
number of features returned, and let the client
resort to paging if they cannot get all they want in one shot.
In GeoServer that setting is found under the "WFS" service configuration,
and normally set to a high value, like 10 millions
features, because the way GeoServer operaters is "streaming", meaning it
never loads the whole result in memory,
it reads a page of features, encodes them in GML and sends them out, reads
another page, and so on until the end.
Typically all you need to avoid being overwhelmed is enough database
connections, since they are kept open during
the whole output writing process.

Since you are setting up for production, I'd suggest to also have a look at
these contents:

   -
   
https://www.slideshare.net/geosolutions/geoserver-in-production-we-do-it-here-is-how-foss4g-2016
   - https://geoserver.geo-solutions.it/edu/en/adv_gsconfig/index.html
   - https://geoserver.geo-solutions.it/edu/en/enterprise/index.html

Cheers
Andrea


On Sun, Oct 21, 2018 at 5:36 PM Julien Laurenceau <
julienlaurenc...@gmail.com> wrote:

> Hi,
> I would like to protect my WFS server from overcapacity and thus I would
> like to be able to be able to tune the maximum "cost" of a single request.
> I already have a way to rate limit the number of calls so that once I'll
> be able to tune the maximum cost of a single request it will be easy to
> protect my server from overcapacity.
>
> The easiest way that I can think of would be :
> - to force users to define BBOX in their requests
> - to be able to limit a maximum BBOX area on the server.
>
> I saw that the geofence extension is able to crop the visible area to some
> regions, but this is not what I want.
> I would like everything to be visible to users, but I would like to force
> users to perform several requests when they would like to retrieve a lot of
> features with WFS.
>
> Thanks and regards
> Julien
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
>  Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
> <#m_-5174598143498235861_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> ___
> 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.*
___
Geoserver-users mailing list

Please make sure you read the followi

Re: [Geoserver-users] [QGIS-Developer] QGIS WCS is requesting FULL dataset?

2018-10-21 Thread Andrea Aime
On Sat, Oct 20, 2018 at 9:58 PM Jonathan Moules <
jonathan-li...@lightpear.com> wrote:

> Hi Lists,
>
> I'm cross posting this to GeoServer-Users over from QGIS-Dev as the
> current QGIS code seems to be trying to work around a GeoServer quirk
> based on Nyall's code-comment snippet.
>
> Is there something different QGIS can do to work around the stated issue
> in a better way given I guess requesting a 10x10 Coverage via WCS isn't
> going to be doing the host server any favours?
>

The behavior described in the comments might be actually happening...
sorry, no time to
look into it right now, we have the JDK11 code sprint incoming and all
spare time is going there.
I checked the ticket tracker, found no bug report about it.
I would be useful if someone could verify, maybe using a built-in demo
dataset.

Fixing it right now might help, but it will take many years before older
versions of GeoServer
out there are upgraded, we get a surprisingly high number  people running 5
years old versions of GeoServer
asking questions on the list just saying, even if one rushes to fix it
now, that code in QGIS might
not be lifted anytime soon (but it could be made configurable I guess?).

Also, in GeoServer WCS 1.0 normally uses overviews when available, but of
course the layer
might not have them, or be a mosaic of many files. That said, the WCS being
queried is not a GeoServer,
not sure how it might work.

Finally...  any chance QGIS could be using WCS 2.0 instead? The 1.0 and 1.1
protocols are ancient and pretty clunky,
WCS 2.0 is so much better from all points of view.
In fact, I believe that WCS 1.0 and 1.1 have received little to no
significant maintenance
in GeoServer for the longest time, I'd venture to guess very few care about
them.
WCS 2.0 is instead receiving interest and more care, likely because it has
been chosen by INSPIRE
for raster download services.

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.*
___
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] WFS protect server from overcapacity by enforcing BBOX in requests + limiting max BBOX area

2018-10-21 Thread Andrea Aime
Hi Julien,
please keep reply on list, as indicated in the list usage guidelines:
http://geoserver.org/comm/userlist-guidelines.html

About the select(*) count, indeed clients use it to support paging and
removing it will
likely break some of them. However the standard allows to return "unknown"
in the attribute
value, and GeoServer allows this configuration on a per layer basis, check
in the publishing tab:

[image: Selezione_408.png]
I'd suggest to disable count only in the tables that are so large that
counting would actually
cause a problem, to reduce downstream problems with clients.
Worst case the client can do a GetFeature with resultType=hits, and force
the return of counts,
but I doubt very many clients have this fallback behavior programmed in.

Cheers
Andrea


On Sun, Oct 21, 2018 at 9:42 PM Julien Laurenceau <
julienlaurenc...@gmail.com> wrote:

> Hi Andrea,
> Thank you for your answer.
> My problem with paging is that if I use paging of WFS2.0 with "count" and
> "startindex", I still get a "select count(*)" on the server that is very
> costly and is probably required to gives clients the number of features.
> Even if geoserver streamed the feature on his side, I think that on
> postgres side the feature are loaded first in order to be counted.
> Do you think that deactivanting the "totalFeatures" calculation would be
> an option ?
> Thanks and regards
> Julien
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
>  Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
> <#m_-1980741412624936658_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> Le dim. 21 oct. 2018 à 20:43, Andrea Aime 
> a écrit :
>
>> Hi,
>> the WFS protocol has no way to advertise limits on the bounding box, so
>> trying to apply them would break
>> any "standard" client, only clients hand-crafted to work against our
>> service would be able to reliably extract information
>> out of it.
>>
>> The WFS protocol choice to avoid overloading the server is limiting the
>> number of features returned, and let the client
>> resort to paging if they cannot get all they want in one shot.
>> In GeoServer that setting is found under the "WFS" service configuration,
>> and normally set to a high value, like 10 millions
>> features, because the way GeoServer operaters is "streaming", meaning it
>> never loads the whole result in memory,
>> it reads a page of features, encodes them in GML and sends them out,
>> reads another page, and so on until the end.
>> Typically all you need to avoid being overwhelmed is enough database
>> connections, since they are kept open during
>> the whole output writing process.
>>
>> Since you are setting up for production, I'd suggest to also have a look
>> at these contents:
>>
>>-
>>
>> https://www.slideshare.net/geosolutions/geoserver-in-production-we-do-it-here-is-how-foss4g-2016
>>- https://geoserver.geo-solutions.it/edu/en/adv_gsconfig/index.html
>>- https://geoserver.geo-solutions.it/edu/en/enterprise/index.html
>>
>> Cheers
>> Andrea
>>
>>
>> On Sun, Oct 21, 2018 at 5:36 PM Julien Laurenceau <
>> julienlaurenc...@gmail.com> wrote:
>>
>>> Hi,
>>> I would like to protect my WFS server from overcapacity and thus I would
>>> like to be able to be able to tune the maximum "cost" of a single request.
>>> I already have a way to rate limit the number of calls so that once I'll
>>> be able to tune the maximum cost of a single request it will be easy to
>>> protect my server from overcapacity.
>>>
>>> The easiest way that I can think of would be :
>>> - to force users to define BBOX in their requests
>>> - to be able to limit a maximum BBOX area on the server.
>>>
>>> I saw that the geofence extension is able to crop the visible area to
>>> some regions, but this is not what I want.
>>> I would like everything to be visible to users, but I would like to
>>> force users to perform several requests when they would like to retrieve a
>>> lot of features with WFS.
>>>
>>> Thanks and regards
>>> Julien
>>>
>>>
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
>>>  Virus-free.
>>&

<    1   2   3   4   5   6   7   8   9   10   >