[Geoserver-users] Fwd: GeoServer printing module fails

2021-04-09 Thread Mauro Bartolomeoli
Good morning Stephen,

Still an avid GeoServer user over here in Cleveland. It's been a long time
> since I've had a question. I've been lurking again for a few weeks, but
> know so little now that I haven't been able to be helpful again yet.
>
>
Glad to hear that!

I can confirm the issue with 2.19.0 and I have opened a jira ticket for it:
https://osgeo-org.atlassian.net/browse/GEOS-10015

It should be related to a breaking change in json-20180813.jar. We used to
depend on an older version.

-- 

Regards,

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
55054  Massarosa (LU)
Italy

mobile: +39 393 904 1756
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


Re: [Geoserver-users] JDBC authentication

2021-03-03 Thread Mauro Bartolomeoli
Hi Ian,
the JDBC Authentication Provider is meant to be used to login using the
database (e.g. postgresql) users.

If you want to store your own users on a database, the JDBC UserGroup
Service has to be used (together with the standard UsernamePassword
Authentication Provider).
I know it's confusing. This is why I usually suggest people to ignore the
JDBC Authentication Provider.

Hope this helps
Mauro


Il giorno mer 3 mar 2021 alle ore 12:31 Ian Turton  ha
scritto:

>
> Just to check before I break out the debugger:
>
> When you use JDBC Authentication can it allow any user you create in
> GeoServer (which get written in  then tables) login in or does it only
> allow the user used for the postgis connection (or other postgis users) to
> log in?
>
> It seems like this is a bug, but I may just be missing something (and I
> think I'm not the only one
> https://gis.stackexchange.com/questions/274834/geoserver-jdbc-user-group-services-problem
> )
>
> I'd be interested if any one is successfully using JDBC authentication in
> the wild?
>
> Cheers
>
> Ian
>
> --
> Ian Turton
> ___
> 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,

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
55054  Massarosa (LU)
Italy

mobile: +39 393 904 1756
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


Re: [Geoserver-users] GeoServer AD Integration

2020-03-27 Thread Mauro Bartolomeoli
Hi Vera,
the only way that comes to my mind to limit login of LDAP users, is to work
on the "filter used to lookup user", that for an AD configuration is
usually something like:

(|(userPrincipalName={0})(sAMAccountName={1}))

Only users matching this filter will be able to login, so one strategy
could be to use some user attribute to enable / disable users login and use
that attribute in the filter:

(&(|(userPrincipalName={0})(sAMAccountName={1}))(canLogin=true))

But this cannot be used to restrict based on group membership, because this
information is not in the user entity.

I don't know if you can "workaround" your scenario by adding an ad-hoc
attribute to your users.

Mauro

Il giorno dom 22 mar 2020 alle ore 03:01 Vera Green 
ha scritto:

> Hello,
> We have integrated our GeoServer with active directory (AD) as per this
> documentation
> <https://docs.geoserver.org/latest/en/user/security/tutorials/activedirectory/index.html>
> .
> We are attempting to RESTRICT GeoServer access through the use of an
> active directory GROUP.
>
> Goal:
>
>- KEEP default/basic users and local user functionality as is. These
>users are created locally on GeoServer and authenticate using the basic
>method.  (Working)
>- UPDATE the AD-LDAP authentication to:
>   - automatically synchronize users between GeoServer and AD (Working)
>   - restrict AD users to the AD group: portal_user group:
>  - Only users in this group will be available in the GeoServer
>  user list (working).
>  - Only users in this AD group can log in to GeoServer (ISSUE:
>  ALL AD Users can log in)
>
>
> *Details On Issue:*
>
> AD-LDAP has been configured to synchronize with AD and restrict to the
> portal_user group.
>
> HOWEVER ... by doing a different test I realized still any AD user can
> log in. The configuration I put in place was apparently only for setting
> roles and permissions once the user has logged in, but not to restrict or
> limit who can log in.
>
> I tested other different LDAP filters trying to restrict *Portal_User* group
> only but it was worse (I got errors when trying to log in).
>
>
> Thanks in advance for any suggestions.
>
> Please reply all.
>
> Vera
> ___
> 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,

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
55054  Massarosa (LU)
Italy

mobile: +39 393 904 1756
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 

Re: [Geoserver-users] how authkey modules actually should be setup on GeoServer

2019-12-09 Thread Mauro Bartolomeoli
Hi Deen, Peter,
thanks for investigating on this.
I will open a JIRA issue so that we can fix the docs as soon as possible.

Thanks again to both of you.

Mauro



Il giorno lun 9 dic 2019 alle ore 11:16 Deen  ha
scritto:

> My bad, I should've removed the bold font, The correct one is:
>
> ^.*?\"user\"\s*:\s*\"([^\"]+)\".*$
>
> Hope it helps those who are having the same problems in the setup of auth
> keys
>
>
>
> --
> 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,

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
55054  Massarosa (LU)
Italy

mobile: +39 393 904 1756
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


Re: [Geoserver-users] Geoserver ignoring socketTimeout setting in MapFish

2019-07-09 Thread Mauro Bartolomeoli
Hi Schalk,
I had a look at the mapfish code, and unfortunately it looks that the
version included in GeoServer print plugin (print-lib 2.1.4) ignores the
timeouts in config.yaml.
They are now set in spring application context files.
You can find the one used by the geoserver plugin in the gs-printing jar
(the file named applicationContext.xml). This means that those settings are
currently hard-coded unless you extract and change that file in the jar.

Look for this section:








Mauro


Il giorno mar 9 lug 2019 alle ore 12:23 Schalk Grobbelaar 
ha scritto:

> Hi,
>
> I have set my
>
> *socketTimeout*
>
> setting very high in my config.yaml file (Mapfish).
>
> Tiles that return within 30 seconds from geoserver to mapfish works 100%.
> Problem comes in with very large raster tiles (that takes more than 30
> seconds).  In this case mapfish reports a *Timed out* error and the PDF
> is empty.  It seems that geoserver ignores the socketTimeout setting in the
> Mapfish config.yaml file.
>
> I am using the latest Geoserver (*2.15.2)* and Mapfish extension (
> geoserver-2.15.2-printing-plugin.zip
> <https://sourceforge.net/projects/geoserver/files/GeoServer/2.15.2/extensions/geoserver-2.15.2-printing-plugin.zip/download>
> ).
>
> Regards
> Schalk
>
>
> On 08 Jul 2019 06:09, Brad Hards wrote:
>
> Hi,
>
> I have set my
>
> *socketTimeout*
>
> setting very high in my config.yaml file (Mapfish).
>
> Tiles that return within 30 seconds from geoserver to mapfish works 100%.
> Problem comes in with very large raster tiles (that takes more than 30
> seconds).  In this case mapfish reports a *Timed out* error and the PDF
> is empty.  It seems that geoserver ignores the socketTimeout setting in the
> Mapfish config.yaml file.
>
> I am using the latest Geoserver (*2.15.2)* and Mapfish extension (
> geoserver-2.15.2-printing-plugin.zip
> <https://sourceforge.net/projects/geoserver/files/GeoServer/2.15.2/extensions/geoserver-2.15.2-printing-plugin.zip/download>
> ).
>
> Regards
>
> Schalk
>
> ___
> 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,

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
55054  Massarosa (LU)
Italy

mobile: +39 393 904 1756
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


Re: [Geoserver-users] Can't run GWC S3 BlobStore plugin

2019-06-24 Thread Mauro Bartolomeoli
a.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:42)
> 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:200)
> 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:202)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
> at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
> at
> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
> at
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
> at
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
> at
> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.base/java.lang.Thread.run(Thread.java:834)
>
>
>-
>
>
>
>
>
> Thanks,
>
> *Chris Bateman*
> ___
> 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,

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
55054  Massarosa (LU)
Italy

mobile: +39 393 904 1756
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


Re: [Geoserver-users] CQL_FILTER on gwc layer issue

2019-05-06 Thread Mauro Bartolomeoli
Hi Riccardo,
did you configure CQL_FILTER in the "Parameters filter" in the Tile Caching
section of the layer?
GWC creates different caches only when you properly configure those.

Some documentation is here:
https://docs.geoserver.org/latest/en/user/geowebcache/using.html#supported-parameter-filters

Mauro


Il giorno lun 6 mag 2019 alle ore 10:11 Riccardo Mari 
ha scritto:

> Hi list,
> i have a problem with CQL_FILTER on "gwc/service/wms" layer.
>
> According to
> https://docs.geoserver.org/stable/en/user/geowebcache/using.html#supported-parameter-filters
> CQL_FILTER is supported also in gwc layer.
>
> I have also set up Enable direct integration with GeoServer WMS in Caching
> Defaults.
>
> If i make the request with standard wms all work fine:
>
>
> https://geoportale.lamma.rete.toscana.it/geoserver_sar/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng8&TRANSPARENT=true&LAYERS=sar_rt%3Aps_interf_a_giglio&SRS=EPSG%3A3857&CRS=EPSG%3A3857&TILED=true&CQL_FILTER=(%22vel%22%20%3D%20%270.3%27)&WIDTH=256&HEIGHT=256&BBOX=1213208.5129423179%2C5209947.847917613%2C1218100.4827525693%2C5214839.817727864
>
>
> but if i make the same request to gwc the filter doesn't work:
>
>
>
> https://geoportale.lamma.rete.toscana.it/geoserver_sar/gwc/service/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng8&TRANSPARENT=true&LAYERS=sar_rt%3Aps_interf_a_giglio&SRS=EPSG%3A3857&CRS=EPSG%3A3857&TILED=true&CQL_FILTER=(%22vel%22%20%3D%20%270.3%27)&WIDTH=256&HEIGHT=256&BBOX=1213208.5129423179%2C5209947.847917613%2C1218100.4827525693%2C5214839.817727864
>
> Is the operation correct or is there something wrong with the filter
> parameters?
>
> Many thanks in advance, Riccardo.
>
>
> This is my geoserver instance:
>
> Build Information
> GeoServer Version
> 2.14.3
> Git Revision
> a700a48f014f8051f98e2f3a2f9e8190e9df1c79
> Build Date
> 20-Mar-2019 19:00
> GeoTools Version
> 20.3 (rev c132dedeae6c497eb0f4d2603618989cc8745cd5)
> GeoWebCache Version
> 1.14.3 (rev 1.14.x/b0c915b3107d92ef29eb7ce9143f33fc60b9c470)
>
> ___
> 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,

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
55054  Massarosa (LU)
Italy

mobile: +39 393 904 1756
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


Re: [Geoserver-users] Printing Module

2019-02-07 Thread Mauro Bartolomeoli
Hi Polen,
here you can find one we use in our webgis:
https://github.com/geosolutions-it/MapStore2/blob/master/resources/geoserver/print/config.yaml

Mauro


Il giorno gio 7 feb 2019 alle ore 11:22 Polen Patowary <
polen.patow...@gmail.com> ha scritto:

> Thanks Mauro!
>
> Can I have a example of config.yaml having multiple layouts.
>
>
> Regards
> - Polen
>
> On Wed, Feb 6, 2019 at 6:13 PM Mauro Bartolomeoli <
> mauro.bartolome...@geo-solutions.it> wrote:
>
>> Hi Polen,
>> currently you can only define layouts with a name in your config.yaml.
>> You can add new ones, or modify the existing ones, than in the spec JSON
>> you can specify the name of the layout you want to apply.
>> Building a new layout from the client in real-time is not supported. Your
>> layouts must be preconfigured in config.yaml
>>
>> Mauro
>>
>>
>> Il giorno mer 6 feb 2019 alle ore 13:11 Xemixal Z <
>> polen.patow...@gmail.com> ha scritto:
>>
>>> Thanks Mauro for your quick response!
>>>
>>> I have gone through the docs. My question is that how can I make
>>> different layout for different maps on the fly.
>>>
>>> How can I override the config.yaml specs on the run time?
>>>
>>>
>>> Regards
>>>
>>> - Polen
>>>
>>> On Wed, Feb 6, 2019 at 1:44 PM Mauro Bartolomeoli <
>>> mauro.bartolome...@geo-solutions.it> wrote:
>>>
>>>> Hi Polen,
>>>> to customize the layout you have to edit the config.yaml file you can
>>>> find in the printing folder of the GeoServer data dir. Documentation about
>>>> this file is available here:
>>>> http://www.mapfish.org/doc/print/configuration.html, while generic
>>>> documentation on the printing module is here:
>>>> https://docs.geoserver.org/latest/en/user/extensions/printing/index.html
>>>>
>>>> Please have a look at those and ask specific questions if you have any
>>>> doubt on configuring your layout.
>>>> Mauro
>>>>
>>>> Il giorno mer 6 feb 2019 alle ore 07:05 Xemixal Z <
>>>> polen.patow...@gmail.com> ha scritto:
>>>>
>>>>> Hi,
>>>>>
>>>>> I have installed Geoserver Printing Module extension successfully and
>>>>> trying to print a map using the following specifications using ajax
>>>>>
>>>>>
>>>>> var specs = {
>>>>> "units": "degrees",
>>>>> "srs": "EPSG:4326",
>>>>> "layout": "A4 portrait",
>>>>> "dpi": 75,
>>>>> "layers": [
>>>>> {
>>>>> "baseURL": "
>>>>> http://localhost:8080/geoserver/wms";,
>>>>> "opacity": 1,
>>>>> "singleTile": false,
>>>>> "type": "WMS",
>>>>> "layers": [
>>>>> "topp:states"
>>>>> ],
>>>>> "format": "image/jpeg",
>>>>> "styles": [
>>>>> ""
>>>>> ],
>>>>> "customParams": {
>>>>>
>>>>> }
>>>>> }
>>>>> ],
>>>>> "pages": [
>>>>> {
>>>>> "center": [
>>>>> -105.03125, //long
>>>>> 40.87890625 //lat
>>>>> ],
>>>>> "scale": 400,
>>>>> "rotation": "0",
>>>>> "mapTitle": "USA Population",
>>>>> "comment": "A custom comment"
>>>>>  

Re: [Geoserver-users] Printing Module

2019-02-06 Thread Mauro Bartolomeoli
Hi Polen,
currently you can only define layouts with a name in your config.yaml. You
can add new ones, or modify the existing ones, than in the spec JSON you
can specify the name of the layout you want to apply.
Building a new layout from the client in real-time is not supported. Your
layouts must be preconfigured in config.yaml

Mauro


Il giorno mer 6 feb 2019 alle ore 13:11 Xemixal Z 
ha scritto:

> Thanks Mauro for your quick response!
>
> I have gone through the docs. My question is that how can I make different
> layout for different maps on the fly.
>
> How can I override the config.yaml specs on the run time?
>
>
> Regards
>
> - Polen
>
> On Wed, Feb 6, 2019 at 1:44 PM Mauro Bartolomeoli <
> mauro.bartolome...@geo-solutions.it> wrote:
>
>> Hi Polen,
>> to customize the layout you have to edit the config.yaml file you can
>> find in the printing folder of the GeoServer data dir. Documentation about
>> this file is available here:
>> http://www.mapfish.org/doc/print/configuration.html, while generic
>> documentation on the printing module is here:
>> https://docs.geoserver.org/latest/en/user/extensions/printing/index.html
>>
>> Please have a look at those and ask specific questions if you have any
>> doubt on configuring your layout.
>> Mauro
>>
>> Il giorno mer 6 feb 2019 alle ore 07:05 Xemixal Z <
>> polen.patow...@gmail.com> ha scritto:
>>
>>> Hi,
>>>
>>> I have installed Geoserver Printing Module extension successfully and
>>> trying to print a map using the following specifications using ajax
>>>
>>>
>>> var specs = {
>>> "units": "degrees",
>>> "srs": "EPSG:4326",
>>> "layout": "A4 portrait",
>>> "dpi": 75,
>>> "layers": [
>>> {
>>> "baseURL": "
>>> http://localhost:8080/geoserver/wms";,
>>> "opacity": 1,
>>> "singleTile": false,
>>> "type": "WMS",
>>> "layers": [
>>> "topp:states"
>>> ],
>>> "format": "image/jpeg",
>>> "styles": [
>>> ""
>>> ],
>>> "customParams": {
>>>
>>> }
>>> }
>>> ],
>>> "pages": [
>>> {
>>> "center": [
>>> -105.03125, //long
>>> 40.87890625 //lat
>>> ],
>>> "scale": 400,
>>> "rotation": "0",
>>> "mapTitle": "USA Population",
>>> "comment": "A custom comment"
>>> }
>>> ]
>>> };
>>>
>>>
>>>
>>>
>>>
>>> $.ajax(
>>> {
>>> url: '
>>> http://localhost:8080/geoserver/pdf/print.pdf',
>>> data: 'spec=' + JSON.stringify(specs),
>>> type: 'POST',
>>> xhrFields: {
>>> responseType: 'blob'
>>> },
>>> success: function (data)
>>> {
>>> var blob = new Blob([data]);
>>> var link =
>>> document.getElementById('my-pdf');
>>> link.href =
>>> window.URL.createObjectURL(blob);
>>> link.download = "Pdf.pdf";
>>> alert("Success");
>&

Re: [Geoserver-users] Printing Module

2019-02-06 Thread Mauro Bartolomeoli
Hi Polen,
to customize the layout you have to edit the config.yaml file you can find
in the printing folder of the GeoServer data dir. Documentation about this
file is available here: http://www.mapfish.org/doc/print/configuration.html,
while generic documentation on the printing module is here:
https://docs.geoserver.org/latest/en/user/extensions/printing/index.html

Please have a look at those and ask specific questions if you have any
doubt on configuring your layout.
Mauro

Il giorno mer 6 feb 2019 alle ore 07:05 Xemixal Z 
ha scritto:

> Hi,
>
> I have installed Geoserver Printing Module extension successfully and
> trying to print a map using the following specifications using ajax
>
>
> var specs = {
> "units": "degrees",
> "srs": "EPSG:4326",
> "layout": "A4 portrait",
> "dpi": 75,
> "layers": [
> {
> "baseURL": "
> http://localhost:8080/geoserver/wms";,
> "opacity": 1,
> "singleTile": false,
> "type": "WMS",
> "layers": [
> "topp:states"
> ],
> "format": "image/jpeg",
> "styles": [
> ""
> ],
> "customParams": {
>
> }
> }
> ],
> "pages": [
> {
> "center": [
> -105.03125, //long
> 40.87890625 //lat
> ],
> "scale": 400,
> "rotation": "0",
> "mapTitle": "USA Population",
> "comment": "A custom comment"
> }
> ]
> };
>
>
>
>
>
> $.ajax(
> {
> url: '
> http://localhost:8080/geoserver/pdf/print.pdf',
> data: 'spec=' + JSON.stringify(specs),
> type: 'POST',
> xhrFields: {
> responseType: 'blob'
> },
> success: function (data)
> {
> var blob = new Blob([data]);
> var link =
> document.getElementById('my-pdf');
> link.href =
> window.URL.createObjectURL(blob);
> link.download = "Pdf.pdf";
> alert("Success");
> },
> error: function ()
> {
> alert("Failure");
> }
> });
> }
>
>
>
> What I'm getting as output is the attached pdf.
>
> And I couldn't able to customize the layout.
>
> Please guide me what I'm missing.
>
>
> Thanks
>
> - Polen
> ___
> 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,

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
55054  Massarosa (LU)
It

Re: [Geoserver-users] SLD: calculate quinitile

2019-01-17 Thread Mauro Bartolomeoli
Hi Pablo,
GeoServer has an extension called SLDService (
https://docs.geoserver.org/latest/en/user/extensions/sldservice/index.html)
that you can use for this kind of things.

I suggest you to have a look at that.

Mauro


Il giorno mer 16 gen 2019 alle ore 21:04 Pablo Schweitzer <
pablos...@gmail.com> ha scritto:

> Hello
>
> I have many tables with the same structure (obviously with different
> data). I want to make a style that classifies the records of a column into
> quintiles and applies a specified color to each quintile. In this way I
> could use the same style for all the tables. Is it possible to generate a
> sld that calculates the ranges of each quintile, or should I generate it in
> a separate column?
> Thanks
> Pablo
> ___
> 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,

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
55054  Massarosa (LU)
Italy

mobile: +39 393 904 1756
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


Re: [Geoserver-users] Possible bug with printing plugin?

2018-12-03 Thread Mauro Bartolomeoli
I think we should think about 2 different plans:
1. Short term: fix the printing plugin including old jts jars in the
extension build
2. Medium / long: decide what to do with mapfish dependency. Try switching
to mapfish 3 or commit patches to 2.1.x (official repo)?

Il giorno lun 3 dic 2018, 01:53 Andrea Aime 
ha scritto:

> Hi,
> can that be made into a release that we can depend on?
> I also see there has been a recent fix here done on the official version:
> https://osgeo-org.atlassian.net/browse/GEOS-8968
> So if we switch, we'd have to port over also the missing fixes that went
> into the official version... seems like they diverged some time ago:
> https://github.com/mapfish/mapfish-print/commits/release/2.1.3
>
> Cheers
> Andrea
>
>
> On Mon, Dec 3, 2018 at 9:38 AM Alessio Fabiani <
> alessio.fabi...@geo-solutions.it> wrote:
>
>> The following branch (2.1.3) [1] of the library, fixes the JTS
>> dependencies.
>>
>> The jars are also available through the GeoSolutions Maven Repository.
>>
>> [1] - https://github.com/geosolutions-it/mapfish-print/tree/2.1.3
>>
>>
>> Il giorno ven 30 nov 2018 alle ore 19:30 Andrea Aime <
>> andrea.a...@geo-solutions.it> ha scritto:
>>
>>> Hi Paul,
>>> this smells like a result of the JTS upgrade, unfortunately GeoServer is
>>> using an old version of
>>> mapfish (with no funds in sight to upgrade to the latest, I'm afraid,
>>> I've been told it's not an easy switch).
>>>
>>> My guess is that you might get that to work by dropping an older version
>>> of JTS in GeoServe in parallel
>>> with the current one, the new and the old ones are using different
>>> package names, so they should
>>> not conflict with each other
>>>
>>> Cheers
>>> Andrea
>>>
>>>
>>> On Fri, Nov 30, 2018 at 6:29 PM Paul Wittle via Geoserver-users <
>>> geoserver-users@lists.sourceforge.net> wrote:
>>>
 Hi,



 I’m getting two errors with the mapFish printing plugin on version
 2.14.1. Here are bits of the stack traces (I can send the rest if needed):



 ERROR: The remote server returned an error: (500) Internal Server Error.

 CONTENT: Error while generating PDF:

 java.lang.NoClassDefFoundError: com/vividsolutions/jts/geom/Geometry

 at org.mapfish.print.map.renderers.TileRenderer.(TileRenderer.java:39)

 at
 org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145)

 at
 org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180)

 For this one, could it be linked to the message here (
 https://docs.geoserver.org/stable/en/user/installation/upgrade.html)?



 Second error reads:

 ERROR: The remote server returned an error: (500) Internal Server Error.

 CONTENT: Error while generating PDF:

 java.lang.NoClassDefFoundError: Could not initialize class
 org.mapfish.print.map.renderers.TileRenderer

 at
 org.mapfish.print.map.readers.HTTPMapReader.render(HTTPMapReader.java:145)

 at
 org.mapfish.print.map.readers.WMSMapReader.render(WMSMapReader.java:180)



 Do these look like bugs with that plugin or have I missed a
 configuration step whilst upgrading?



 Thanks,

 Paul
 "This e-mail is intended for the named addressee(s) only and may
 contain information about individuals or other sensitive information and
 should be handled accordingly. Unless you are the named addressee (or
 authorised to receive it for the addressee) you may not copy or use it, or
 disclose it to anyone else. If you have received this email in error,
 kindly disregard the content of the message and notify the sender
 immediately. Please be aware that all email may be subject to recording
 and/or monitoring in accordance with relevant legislation."
 ___
 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/geos

Re: [Geoserver-users] Geoserver Print

2018-11-14 Thread Mauro Bartolomeoli
2%23FF%22%2Cstroke-width%3A%223%22%2CstrokeWidth%3A%203%2C%20strokeColor%3A%20%22%23FF%22%2CfillOpacity%3A%200.0%7D%7D%2CgeoJson%3A%7B%22type%22%3A%22FeatureCollection%22%2C%22features%22%3A%5B%5D%7D%7D],%20%22pages%22:%20[%20%7B%20%22center%22:%20[-36866.92670186,2200.51984808],%22scale%22:%2025000,%22rotation%22:%200,%20%7D],%22legends%22%20:%20[%7B%22name%22%20:%20%22%22,%22classes%22%20:%20[%7B%20%22name%22%20:%20%22%22,%20%22iconAfterName%22:%20true,%22icon%22%20:%20%20%22http://websig.cm-ourem.pt/geoserver/wms?version=1.3.0%26TRANSPARENT=TRUE%26SERVICE=WMS%26REQUEST=GetLegendGraphic%26EXCEPTIONS=application/vnd.ogc.se_xml%26LAYER=Planta_PDM_Ordenamento%26FORMAT=image/png%26LEGEND_OPTIONS=forceLabels%3Aon%3BfontName%3DHelvetica%3BfontSize%3A10%3Bdpi%3A300%26MODE=legendicon%22%7D]%7D]%7D]>
>
> Help
>
>
> Cumprimentos
> *Pedro Henriques*
> ___
> 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,

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
55054  Massarosa (LU)
Italy

mobile: +39 393 904 1756
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


Re: [Geoserver-users] geoserver pdf help - mapfish

2018-09-27 Thread Mauro Bartolomeoli
Hi Tony,
https should not be an issue.
If going through a proxy, it could be that the urls included in the
printing json are not reachable by the geoserver instance itself. Could you
send an example of request and the generated pdf?

Mauro


Il giorno gio 27 set 2018 alle ore 11:55 Tony Colarossi <
tcolaro...@outlook.com> ha scritto:

> hi guys - pls can you help or steer me in the right direction ? does the
> mapfish print plugin support printing over https ?
>
> i have our geoserver generating perfect pdfs ( with all custom layers ) on
> our on-prem box which is http internally, but when its proxy'd to azure, no
> layers print in the pdfs
>
>
>
> ive been intouch with Microsoft support and they no real issues with the
> data coming to the azure proxy app
>
>
>
> thank you tony
>
>
>
>
> ___
> 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,

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
55054  Massarosa (LU)
Italy

mobile: +39 393 904 1756
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


Re: [Geoserver-users] Geoserver Mapfish: how to print in multiple pages?

2018-08-20 Thread Mauro Bartolomeoli
>
> 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
>


-- 

Regards,

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
55054  Massarosa (LU)
Italy

mobile: +39 393 904 1756
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.
--
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] DXF plugin problem Geoserver 2.13.1

2018-08-01 Thread Mauro Bartolomeoli
Hi Chris,
maybe there is some library conflict with newer versions. I will check. Can
you open a JIRA issue in the meantime?

Thanks
Mauro


Il giorno mer 1 ago 2018 alle ore 16:21 Chris Buckmaster <
chris.buckmas...@runnymede.gov.uk> ha scritto:

> Hi
>
>
>
> I have tried to deploy the DXF plugin for Geoserver 2.13.1 installed as a
> windows service but after moving the jar files to the lib folder and
> restarting the service I am encountering the following error:
>
>
>
> *HTTP ERROR: 503*
>
>
>
> *Problem accessing /geoserver/. Reason:*
>
>
>
> *Service Unavailable*
>
>
>
> After removing the files and restarting the service my Geoserver install
> works again, so I am not sure if there are any known problems with this
> plugin for the version I am trying to use?
>
>
>
> Thanks, Chris
>
> --
> 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,

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
55054  Massarosa (LU)
Italy

mobile: +39 393 904 1756
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.
--
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] Print Plugin - Getting Started

2018-07-16 Thread Mauro Bartolomeoli
 header: !text
>  text: ID
>  backgroundColor: #A0A0A0
>cell: !text
>  text: '${id}'
>  name:
>columnWeight: 5
>header: !text
>  text: Name
>  backgroundColor: #A0A0A0
>cell: !columns
>  config:
>cells:
>  - backgroundColor: '${nameBackgroundColor}'
>borderWidth: 1
>borderColor: '${nameBorderColor}'
>  items:
>- !text
>  text: '${name}'
>  icon:
>columnWeight: 2
>header: !text
>  text: Symbol
>  backgroundColor: #A0A0A0
>    cell: !image
>  align: center
>  maxWidth: 15
>  maxHeight: 15
>  url:
> '
> http://www.mapfish.org/svn/mapfish/trunk/MapFish/client/mfbase/mapfish/img/${icon}.png
> '
>  - !text
>font: Helvetica
>fontSize: 9
>align: right
>text: '1:${scale} ${now MM.dd.}'
>footer: *commonFooter
>
>
>
>
>
>
>
>
> --
> 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,

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

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

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


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


[Geoserver-users] Fwd: MapFish Print - GeoServer

2018-07-12 Thread Mauro Bartolomeoli
Hi Jakob,
Il giorno gio 12 lug 2018 alle ore 16:58 Jakob Miksch <
jakob.mik...@sbg.ac.at> ha scritto:

> Dear list,
>
> I am evaluating MapFish Print for a project. As far as I see MapFish Print
> can be run as a standalone application [1] or it can be run within
> GeoServer [2].
>

> Could you tell me the difference between both approaches?
>

Not many differences:
 - the integrated version doesn't need a separate installation, so you only
have one web application with both services
 - the integrated version can use a printing template stored in the
geoserver data_dir


> Does the GeoServer Print Plugin also use MapFish Print version 3?
>

No, it is still stuck to version 2.1 (no funding to upgrade to version 3,
yet).

>
> [2]
> http://docs.geoserver.org/latest/en/user/extensions/printing/index.html
>

This is the only available documentation (basically a copy of mapfish 2.x
one)

-- 

Regards,

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

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

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


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


[Geoserver-users] Fwd: MapFish Print - GeoServer

2018-07-12 Thread Mauro Bartolomeoli
Hi Jakob,
Il giorno gio 12 lug 2018 alle ore 16:58 Jakob Miksch <
jakob.mik...@sbg.ac.at> ha scritto:

> Dear list,
>
> I am evaluating MapFish Print for a project. As far as I see MapFish Print
> can be run as a standalone application [1] or it can be run within
> GeoServer [2].
>

> Could you tell me the difference between both approaches?
>

Not many differences:
 - the integrated version doesn't need a separate installation, so you only
have one web application with both services
 - the integrated version can use a printing template stored in the
geoserver data_dir


> Does the GeoServer Print Plugin also use MapFish Print version 3?
>

No, it is still stuck to version 2.1 (no funding to upgrade to version 3,
yet).

>
> [2]
> http://docs.geoserver.org/latest/en/user/extensions/printing/index.html
>

This is the only available documentation (basically a copy of mapfish 2.x
one)

-- 

Regards,

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



-- 

Regards,

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
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.
--
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-25 Thread Mauro Bartolomeoli
Hi Jose,
SLDService has been recently updated to be compatible with the new
GeoServer REST infrastructure. I am currently able to build / use the one
that comes with master (2.14-SNAPSHOT) version. I am not sure if 2.13.1 has
already been migrated (probably not, if it does not work for you).
I am in the process of improving the service for master, and the plan is
also to make it build / work again for previous versions, but I cannot
promise a precise schedule for this.



Il giorno lun 25 giu 2018 alle ore 04:38 José Macchi <
jose.mac...@frontec.net> ha scritto:

> Hello ! I'm trying to upgrade our Geoserver 2.11.4  to use  the 2.13.1
> release (with the benefith of Marlin, etc). In the process I have to ensure
> that the plugin SLDService is still working as expected   ( ie.
> /rest/sldservice/  and get something, etc)
>
> When I add the plugin in the lib folder (2.13.1), and after restarting
> Geoserver, nothing happens.  Basically, I followed the applicationContext
> file in the plugin jar, and I notice that there is a  Spring
> context:component-scan (that changed compared with release 2.11.4 release -
> where it was working). I'm not sure if Spring is not recognizing/finding
> the beans, but I'm sure that the mapping between urls/beans that previously
> (release 2.11.4 of the plugin) was done by a bean ( called:
> sldServiceRestConfigMapping),  it's not working now.
>
> In the same applicationContext file I saw a mvc:annotation-driven spring
> label, but it's commented (?)
>
> Do you know if it's working ? (I tracked when the definition of beans
> changed and it seems that it happened from release 2.12.0 to 2.12.1 )
>
> Regards
>
> Jose
>
>
> --
> 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,

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
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.
--
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] Authkey module questions

2018-01-19 Thread Mauro Bartolomeoli
Hi Jim,
you will find a new authkey option in the authentication filters list (when
you create a new filter).

Authkey can work with GeoFence, expecially the embedded version, you can do
authentication with authkey and then use geofence for authorization
purposes.
Can you explain your use case in more detail? Expecially the CQL filters by
key stuff.

Mauro

2018-01-18 23:44 GMT+01:00 Jim Hughes :

> Hi all,
>
> Does the Authkey community module have a UI?  I tossed the jar(s) into a
> GeoServer 2.12.0, and I'm not seeing anything in the GeoServer admin UI.
>
> Second, does the Authkey module work with GeoFence?  I'd like to be able
> to restrict Authkey access by applying additional CQL filters by key.  (As
> an alternative, I'm thinking about trying out a custom
> ResourceAccessManager to do so...)
>
> Thanks in advance,
>
> Jim
>
>
> 
> --
> 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,

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
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:  +39 0584 1660272

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

---

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

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

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

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

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


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


Re: [Geoserver-users] Extra parameter in Key authentication module

2017-11-27 Thread Mauro Bartolomeoli
Hi,
no currently the only "variable" parameter is key, you can obviously send
constant values, but no other user-dependent properties. What kind of
values would you need?

Mauro

2017-11-22 11:00 GMT+01:00 santoshgaikwad :

> Hello, I am using GeoServer key authentication module where key provider
> using an external web service. I would like to know if it is possible to
> use
> few more extra parameters than {key} which is for authentication key. If
> yes, how?
>
>
>
> --
> 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
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 

Regards,

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
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:  +39 0584 1660272

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

---

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

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

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

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

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


Re: [Geoserver-users] GEOSERVER AND CQL FILETR

2017-10-27 Thread Mauro Bartolomeoli
Hi Annalisa,

2017-10-27 13:18 GMT+02:00 annalisa :

> Hi to everyone!
> Please can tou help me?
> I have a map populate by a layer wms loaded in geoserver, that takes points
> from a db.
> The layer regulary appears on my map, but if i set same filter (for example
> i want to see all the points that have name='anna') the layer regulary is
> refreshed, but if i clicked on the map where there are now (after filter)
> points, the description of my point appears.
> It seems like if the points stay on my map but only are hidden, meanwhile i
> want to remove them.
> I can i do?
> thank you!
>

It looks like a problem with your client. When you click on the map,
probably, a WMS GetFeatureInfo request is sent to GeoServer. If that
request does not specify the same filter used for the map you will get the
result even if you don't see anything on that point.

Mauro


-- 

Regards,

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
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:  +39 0584 1660272

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

---

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

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

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

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

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


Re: [Geoserver-users] PostGIS Connections hanging under App Schema Plugin

2017-06-08 Thread Mauro Bartolomeoli
Hi Kathi, we have a pull request pending for improving connections handling
in app-schema. If I don't get any objections from other developers, I will
merge them soon:

https://github.com/geotools/geotools/pull/1616

https://github.com/geoserver/geoserver/pull/2390

Regards,
Mauro

2017-06-08 11:32 GMT+02:00 Kathi Schleidt :

> Hiya,
>
> First off, thanks to all for your prompt and helpful responses! :) I
> haven't been following this much as the system remained semi-stable as long
> as I didn't touch it. Now it again lost the complex features (simple one
> were fine), so I decided to try the reload from the GUI as recommended.
> While it did the trick of restarting the complex features, it also doubled
> the number of connections to the PostGIS DB
>
> Guess next try will be Ben's JNDI suggestion
>
> Does seem I'm not the only one running into these problems, did get a list
> of hacks from Mauro:
>  - in case of exceptions some connection can be leaked: I have an (hacked)
> fix here: https://github.com/mbarto/geotools/commit/
> 7b928274286d4bb7286d9bc8f0e7fe611391785f
>  - also, in case many joins are used in a schema, many connections can be
> created by a single wfs query, because no shared transaction is used, and
> this limits the concurrency of app-schema usage heavily, and with
> connection leaks, can lead to the connection pool becoming unusable; I have
> an hacked fix also for this. Look here: https://github.com/
> mbarto/geotools/commit/8098a1753f519d9a57a0642f9ff31d1795f81a4a and here:
> https://github.com/mbarto/geotools/commit/fc14bf274b30405ea552a4b96f5e36
> bce9f30e62
>
> :)
>
> Kathi
>
> On 02.05.2017 18:34, Nuno Oliveira wrote:
>
> Hi,
>
> You can reload app-schema mappings by reloading GeoServer configuration,
> this can be done through GeoServer UI in the "Server Status" page:
>
>
>
>
> Configuration and catalog reload option:
>
>
>
> Another option if you don't want to reload everything is to open your
> app-schema store for edition and save it, this will force the reload of the
> mappings.
>
> Regarding the hanging connections, if app-schema is the only thing in your
> GeoServer (and in your tomcat) connecting to PostGIS this means that indeed
> something in app-schema is keeping the connections alive (probably a
> connection pool).
>
> If you don't get any more feedback on this I would open an issue
> describing how to reproduce this.
>
> Regards,
>
> Nuno Oliveira
>
>
> On 05/02/2017 03:45 PM, Kathi Schleidt wrote:
>
> Hiya,
>
> Looks like there’s a problem with App Schema and PostGIS connections,
> each time I restart GeoServer, I get new connections on my PostGIS DB
> while the old ones are retained. Interesting is that when one stops
> GeoServer on Tomcat, then restarts PostGIS, most of these hanging
> connections are reestablished (although GeoServer has yet to be
> restarted). The final effect is that after a few GeoServer restarts (btw
> – is it now possible to reload App Schema configs without restarting
> GeoServer?) all available DB connections are taken by hanging (idle)
> connections; nothing works. (can’t quite remember if just restarting
> TomCat was enough to get rid of these dead connections, at the end of
> the day we just restarted the machine to get rid of them).
>
> I’ve tried to make sense of the behavior based on the number of hanging
> connections (my GeoServer has 10 app schema workspaces as well as 5
> simple PG connections configured to the same database), but haven’t
> managed to get a clear picture of what’s really hanging. However, each
> time I restart GeoServer, at least 13 new connections are added (that
> don’t go away), a few more come when the application requests data, but
> these seem to go away again). A few restarts later everything is locked
> down again.
>
> Has anybody observed a similar behavior? Have a solution?
>
> :?
>
> Kathi
>
> DB: PostgreSQL 9.3.16 on x86_64-unknown-linux-gnu, compiled by gcc
> (Debian 4.7.2-5) 4.7.2, 64-bit
>
> GeoServer: 2.10.2
>
> Debian GNU/Linux 7 (wheezy)
>
>
>
> --
> ==
> 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 <+39%200584%20962313>
> fax:   +39 0584 1660272 <+39%200584%20166%200272>
> mob:   +39  333 8128928 <+39%20333%20812%208928>
> http://www.geo-solutions.ithttp://twitter.com/geosolutions_it
>
> ---
>
> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
> Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
> file/s allegato/i sono
> da considerarsi strettamente riservate. Il loro utilizzo è consentito 
> esclusivamente al destinatario del messaggio, per le finalità indicate
> nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il 
> destinatario, Vi preghiamo cortesemente di darcene notiz

Re: [Geoserver-users] Problem authenticating with headers using LDAP

2017-05-09 Thread Mauro Bartolomeoli
Hi,
this looks like a bug.
Could you please open a JIRA ticket?

Regards,
Mauro


2017-05-09 13:08 GMT+02:00 GIS Hallstahammar :

> Hi,
>
> First some information about our setup:
>
> GeoServer: 2.11.0
> Java:  1.8.0_92 (64 bits)
> OS: Windows Server 2012 R2
> Web server: Apache httpd 2.4.25
> Application server: Tomcat 8.5
>
> We are trying to get LDAP working with authentication through the use of
> headers. LDAP works fine when we login using the web interface, we are
> assigned the correct roles and can access layers that are secured.
> Following this guide: http://docs.geoserver.o
> rg/latest/en/user/security/tutorials/credentialsfromheaders/index.html we
> are able to get it to work with headers using local users (we can use curl
> and send authentication headers and it returns the response of
> GetCapabilities). This is the curl command used:
>
> curl -v -H "X-Credentials: private-user=admin&private-pw=geoserver" "
> http://localhost:8080/geoserver/wms?service=WMS&version=1.
> 1.1&request=GetCapabilities"
>
>
> However, if we try using an active directory user, we encounter the
> following message (from Tomcats' log):
>
> 08-May-2017 16:37:32.854 SEVERE [http-nio-8080-exec-1]
> org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service()
> for servlet [dispatcher] in context with path [/geoserver] threw exception
> at org.geoserver.security.filter.GeoServerCredentialsFromReques
> tHeaderFilter.doAuthenticate(GeoServerCredentialsFromRequest
> HeaderFilter.java:165)
>  java.lang.ClassCastException: org.springframework.security.c
> ore.authority.SimpleGrantedAuthority cannot be cast to
> org.geoserver.security.impl.GeoServerRole
>
> Full Tomcat log is available here: https://pastebin.com/hUXPSFLL
>
>
> However. in the GeoServer log it says the user was successfully logged in
> just moments before:
>
> 2017-05-08 16:37:32,839 TRACE [geoserver.security] - logged in as USER
>
>
> Any ideas on what might be causing this?
>
> Any help or input is appreciated.
>
>
> Thanks,
>
> Markus.
>
> 
> --
> 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
> 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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] PostGIS Connections hanging under App Schema Plugin

2017-05-03 Thread Mauro Bartolomeoli
Hi,
I have also experienced some connection leak in the app-schema code.
Unfortunately I didn't have time to prepare a full fix for this issue, but
I can share my (partial) work.

If anyone has time to investigate further, this is my experience:
 - in case of exceptions some connection can be leaked: I have an (hacked)
fix here:
https://github.com/mbarto/geotools/commit/7b928274286d4bb7286d9bc8f0e7fe611391785f
 - also, in case many joins are used in a schema, many connections can be
created by a single wfs query, because no shared transaction is used, and
this limits the concurrency of app-schema usage heavily, and with
connection leaks, can lead to the connection pool becoming unusable; I have
an hacked fix also for this. Look here:
https://github.com/mbarto/geotools/commit/8098a1753f519d9a57a0642f9ff31d1795f81a4a
and here:
https://github.com/mbarto/geotools/commit/fc14bf274b30405ea552a4b96f5e36bce9f30e62

Regards,
Mauro


2017-05-03 0:01 GMT+02:00 Ben Caradoc-Davies :

> Kathi,
>
> are you using JNDI? Do you have a firewall between GeoServer and PostGIS?
>
> In a simple app-schema configuration, each data source has its own
> connection pool, and they are not very configurable. Have you considered
> using JNDI? This allows connection sharing between data sources, more
> configurability, and allows you to set parameters to shut down idle
> connections to protect against firewall problems:
> http://docs.geoserver.org/latest/en/user/data/app-
> schema/data-stores.html#jndi
> http://docs.geoserver.org/latest/en/user/tutorials/
> tomcat-jndi/tomcat-jndi.html#configuring-a-postgresql-connection-pool
>
> Kind regards,
> Ben.
>
> On 03/05/17 02:45, Kathi Schleidt wrote:
> > Hiya,
> >
> > Looks like there’s a problem with App Schema and PostGIS connections,
> > each time I restart GeoServer, I get new connections on my PostGIS DB
> > while the old ones are retained. Interesting is that when one stops
> > GeoServer on Tomcat, then restarts PostGIS, most of these hanging
> > connections are reestablished (although GeoServer has yet to be
> > restarted). The final effect is that after a few GeoServer restarts (btw
> > – is it now possible to reload App Schema configs without restarting
> > GeoServer?) all available DB connections are taken by hanging (idle)
> > connections; nothing works. (can’t quite remember if just restarting
> > TomCat was enough to get rid of these dead connections, at the end of
> > the day we just restarted the machine to get rid of them).
> >
> > I’ve tried to make sense of the behavior based on the number of hanging
> > connections (my GeoServer has 10 app schema workspaces as well as 5
> > simple PG connections configured to the same database), but haven’t
> > managed to get a clear picture of what’s really hanging. However, each
> > time I restart GeoServer, at least 13 new connections are added (that
> > don’t go away), a few more come when the application requests data, but
> > these seem to go away again). A few restarts later everything is locked
> > down again.
> >
> > Has anybody observed a similar behavior? Have a solution?
> >
> > :?
> >
> > Kathi
> >
> > DB: PostgreSQL 9.3.16 on x86_64-unknown-linux-gnu, compiled by gcc
> > (Debian 4.7.2-5) 4.7.2, 64-bit
> >
> > GeoServer: 2.10.2
> >
> > Debian GNU/Linux 7 (wheezy)
> >
>
> --
> Ben Caradoc-Davies 
> Director
> Transient Software Limited 
> New Zealand
>
> 
> --
> 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
> 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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Image Map output format extension

2017-03-20 Thread Mauro Bartolomeoli
Hi Esteban,
I did a quick check with one of our datasets, and it looks to be working.
Maybe something particular with your datasets / styles is preventing the
imagemap extension to work properly. Any chance you can share your dataset
/ styles?

Regards,
Mauro

2017-03-18 5:44 GMT+01:00 Esteban Picone :

> Hello , I have an issue with Geoserver version 2.10.2 and imagemap
> extension, which is ignoring VIEWPARAMS
>
> I've been trying to use VIEWPARAMS on the following WMS query
>>
>> http://geo1.x.com.py/geoserver/wms?REQUEST=GetMap&SERVIC
>> E=WMS&VERSION=1.1.1&LAYERS=x:Referencias%20Vectorial&
>> FORMAT=text/html&TRANSPARENT=TRUE&SRS=EPSG:4326&BBOX=-57.
>> 59870052337646,-25.40463164506289,-57.55621433258
>> 0566,-25.387341012585917&WIDTH=990&HEIGHT=446&VIEWPARAMS=Perfil:
>> 
>> foo
>>
>> which is ignoring VIEWPARAMS
>>
>> while
>> http://geo1.x.com.py/geoserver/wms?REQUEST=GetMap&SERVIC
>> E=WMS&VERSION=1.1.1&LAYERS=x:Referencias%20Vectorial&
>> FORMAT=image/png&TRANSPARENT=TRUE&SRS=EPSG:4326&BBOX=-57.
>> 59870052337646,-25.40463164506289,-57.55621433258
>> 0566,-25.387341012585917&WIDTH=990&HEIGHT=446&VIEWPARAMS=Perfil:
>> 
>> foo
>>
>> is applying VIEWPARAMS filter properly.
>>
>>
>>
>> Any advice will be highly appreciated :-)
>>
>
>
> 
> --
> 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
> 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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Fwd: Overlapping labels does not display on Mapfish pdf print

2017-01-25 Thread Mauro Bartolomeoli
Hi Zsolt,
mapfish tries to merge WMS layers of the same server in a single request,
and then the label conflicts alghoritm in GeoServer is probably causing the
difference you see in printed map.

Regards,
Mauro


2017-01-25 8:36 GMT+01:00 Zsolt Magyar :

> Hi list,
>
> I have a Heron js (GeoExt, OpenLayers) map viewer, with some label layers
> in it. There are many of labels are overlapping on the Webmap. These labels
> are on separate layers. If I try to print map via MapFish print servlet
> (1.2.0) in the output pdf has only one label displays in that place where
> labels are overlap. Of course the upper one of the layer tree.
>
> It is very similar behavior than I try these layer put in a Layer group.
> So I guess the pdf creation merge the separate wms label layers into one
> layer-group somehow, and it doesn't allow to overlap.
>
> Can anybody help me to display overlapping labels on MapFish printing? Or
> how to group layers in GeoServer to let overlapping labels.
>
> Thanks for advance!
>
> Zsolt Magyar
>
> Some screenshot in attached pictures.
>
> On WebMap:
> [image: Szövegközi kép 1]
>
> in Pdf:
>
> [image: Szövegközi kép 2]
>
>
>
>
>
>
>
> 
> --
> 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
> 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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Print issues through POST method - urgent help requested pls

2016-12-15 Thread Mauro Bartolomeoli
Hi,
it looks like the following url is not reachable by the server itself:
https://www.gisdomain.com:8080/geoserver/domain/wms?BBOX=818
7100.555667659%2C655843.5302431142%2C9245433.863162776%
2C1802371.2994081532&WIDTH=1667&HEIGHT=1806&format_options=
dpi%3A100&map_resolution=100&FORMAT=image%2Fpng&REQUEST=
GetMap&SRS=EPSG%3A3857&VERSION=1.1.1&STYLES=&SERVICE=
WMS&DPI=100&transparent=true&LAYERS=domain%3Alayer1

Is this the same geoserver where the printing service is installed. Is it
reachable from the GeoServer host?

Regards,
Mauro


2016-12-15 12:00 GMT+01:00 Mahalakshmi Narayanan :

> Dear All
>
> We get 404 - Not found errors when we try to enable print option from
> OpenLayers / Leaflet on CentOS through Post method.  However, we are
> getting print through Get method.
>
> Our environment is as follows:
>
> GeoServer version is 2.8 on CentOS - Tomcat 7.0.67
> PHP - 5.5.36;  Apache with SSL
>
> Config.yaml for security / hosts related section are:
>
> --
> hosts:
>   - !localMatch
> dummy: true
>
> Security:
>   - !basicAuth
> matcher: !dnsMatch
>   host: www.gisdomain.com
>   port: 8080
> username: xyz
> password: abcd
> preemptive: true
>
> hosts:
>   - !dnsMatch
> host: www.gisdomain.com
> 
>
> Geoerver log gives the following
>
> --
> 2016-11-25 17:47:17,669 WARN [yaml.CustomBeanWrapper] - Config: unknown
> field 'Security' with value '[org.mapfish.print.config.Bas
> icAuthSecurity@55c37192]'
> 2016-11-25 17:47:17,674 WARN [yaml.CustomBeanWrapper] - ColumnsBlock:
> unknown field 'height' with value '150'
> 2016-11-25 17:47:17,681 WARN [yaml.CustomBeanWrapper] - ColumnsBlock:
> unknown field 'height' with value '100'
> 2016-11-25 17:47:17,702 WARN [servlet.PageNotFound] - No mapping found for
> HTTP request with URI [/geoserver/domain/wms] in DispatcherServlet with
> name 'dispatcher'
> 2016-11-25 17:47:17,712 WARN [servlet.PageNotFound] - No mapping found for
> HTTP request with URI [/geoserver/domain/wms] in DispatcherServlet with
> name 'dispatcher'
> 2016-11-25 17:47:17,714 ERROR [print.PDFUtils] - Server returned an error
> for https://www.gisdomain.com:8080/geoserver/domain/wms?BBOX=818
> 7100.555667659%2C655843.5302431142%2C9245433.863162776%
> 2C1802371.2994081532&WIDTH=1667&HEIGHT=1806&format_options=
> dpi%3A100&map_resolution=100&FORMAT=image%2Fpng&REQUEST=
> GetMap&SRS=EPSG%3A3857&VERSION=1.1.1&STYLES=&SERVICE=
> WMS&DPI=100&transparent=true&LAYERS=domain%3Alayer1: Error (status=404)
> while reading the image from https://www.gisdomain.com:8080
> /geoserver/domain/wms?BBOX=8187100.555667659%2C655843.530243
> 1142%2C9245433.863162776%2C1802371.2994081532&WIDTH=166
> 7&HEIGHT=1806&format_options=dpi%3A100&map_resolution=100&
> FORMAT=image%2Fpng&REQUEST=GetMap&SRS=EPSG%3A3857&
> VERSION=1.1.1&STYLES=&SERVICE=WMS&DPI=100&transparent=true&
> LAYERS=domain%3Alayer1: Not Found
> 2016-11-25 17:47:17,715 ERROR [print.PDFCustomBlocks] - Error while adding
> a PDF elementjava.io.IOException: Error (status=404) while reading the
> image from https://www.gisdomain.com:8080/geoserver/domain/wms?BBOX=818
> 7100.555667659%2C655843.5302431142%2C9245433.863162776%
> 2C1802371.2994081532&WIDTH=1667&HEIGHT=1806&format_options=
> dpi%3A100&map_resolution=100&FORMAT=image%2Fpng&REQUEST=
> GetMap&SRS=EPSG%3A3857&VERSION=1.1.1&STYLES=&SERVICE=
> WMS&DPI=100&transparent=true&LAYERS=domain%3Alayer1: Not Found
> 2016-11-25 17:47:17,835 WARN [yaml.CustomBeanWrapper] - Config: unknown
> field 'Security' with value '[org.mapfish.print.config.Bas
> icAuthSecurity@3b55c5e7]'
> 2016-11-25 17:47:17,841 WARN [yaml.CustomBeanWrapper] - ColumnsBlock:
> unknown field 'height' with value '150'
> 2016-11-25 17:47:17,852 WARN [yaml.CustomBeanWrapper] - ColumnsBlock:
> unknown field 'height' with value '100'
> 2016-11-25 17:47:30,536 WARN [servlet.PageNotFound] - No mapping found for
> HTTP request with URI [/geoserver/domain/wms] in DispatcherServlet with
> name 'dispatcher'
>
> 
>
> Chennai and adjacent districts have been devasted due to Vardha cyclone..
> Any help to resolve the error would be highly appreciated, pls.
>
>
> --
> With kind regards,
> Mahalakshmi Narayanan
>
> 
> --
> 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
> 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
Geoserver-users@lists.sourceforge

Re: [Geoserver-users] Problem with LDAP authentication

2016-11-21 Thread Mauro Bartolomeoli
Hi Ruben,
I see that you are setting both the User lookup pattern and the filter. You
should probably leave the lookup pattern empty, since they cannot be used
together and the first one has precedence.

Regards,
Mauro


2016-11-16 13:20 GMT+01:00 rubenig :

> Hi,
>
> we are trying to run geoserver authentication against our LDAP server but
> we
> are not doing right with the "user search filter", getting errors referring
> to an invalid DN related to the uniqueMember attribute.
>
> We tried with several options but we could not get it right. I attach one
> of
> these attempts if someone can help us.
>
> Thank you,
> Rubén.
>
> 
>
>
> 
>
>
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/Problem-with-LDAP-authentication-tp5296027.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> 
> --
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] SLD RasterSymbolizer: ColorMapEntry variable substitution doesn't work when there are multiple rules in the SLD

2016-06-16 Thread Mauro Bartolomeoli
Hi,
I had a look at the issue, and it is related to EnvFunction not getting
correctly filled with environment variables when rendering involveves more
threads.
I tried a quick fix transforming the related ThreadLocal in EnvFunction in
a InheritableThreadLocal, but that broke some geotools unit tests, so I
don't think that's an option.

Regards,
Mauro


2016-06-16 16:31 GMT+02:00 Andrea Aime :

> On Thu, Jun 16, 2016 at 4:16 PM, Victor.Sinceac <
> victor.sinc...@corobor.com> wrote:
>
>> I think many people uses multiple RasterSymbolyzer rules in one SLD:
>> there are many discussions on the forums about GetLegend results for such
>> an SLD.
>>
>>
>>
>
> Thinking about it... this scenario basically disables the fast raster
> rendering path just like having two layers,
> and you end up working with the generic one, which is the one where
> variables do not work.
> So the fix Mauro is making for the two layers case will also work for this
> case, but mind, but using
> this kind of styles you're setting yourself for limited performance and
> scalability.
>
> It would be possible to recognize that the other rules are not going to
> trigger and keep on using
> the fast raster rendering code, but of course that would require some
> extra work.
> In case you are interested in contributing code improvements I'òò show you
> were that would have to be done:
>
> https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/java/org/geoserver/wms/map/RenderedImageMapOutputFormat.java#L880
>
> Cheers
> Andrea
>
>
>
> --
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
>
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
> ---
>
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning
> reports.
> http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geose

Re: [Geoserver-users] Variable substitution not working if multiple layers are provided in WMS call

2016-06-10 Thread Mauro Bartolomeoli
Hi Paul,
I reproduced the bug, and the fix should be easy. Could you open a JIRA in
the meantime?

Regards,
Mauro Bartolomeoli

2016-06-10 10:41 GMT+02:00 hanshupe :

> Hello,
>
> I use cql expressions to make my color map entries dynamic as described
> here:
>
> http://docs.geoserver.org/2.8.x/en/user/styling/sld-reference/rastersymbolizer.html#cql-expressions
>
> It works basically, but as soon as I add an additional layer in my WMS call
> (&layers=layer1,layer_raster) the parameters I pass in the URL
> (&env=low:10;medium:100;...) are just ignored and the default values I
> defined with the cql expression are applied.
>
> Does anyone know about this issue? I am using GeoServer 2.8.0.
>
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Variable-substitution-not-working-if-multiple-layers-are-provided-in-WMS-call-tp5271011.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Print module

2016-04-19 Thread Mauro Bartolomeoli
Hi Paul, I had a quick look at the code and it seems that you are right:
those settings are ignored.
I don't know if they were supported in 1.2 and deprecated in 2.x.

A patch to the library would be needed to (re)implement them.

Regards,
Mauro Bartolomeoli

2016-04-19 18:14 GMT+02:00 Paul Wittle :

> Hi,
>
>
>
> We have just put that setting into the YAML as follows:
>
>
>
> connectionTimeout: 9
>
> socketTimeout: 18
>
> brokenUrlPlaceholder: default
>
>
>
> The result was that it still completes in around 30 seconds but with
> missing layers and the following error message:
>
>
>
> 2016-04-19 17:07:58,309 ERROR [print.PDFUtils] - Server returned an error
> for 
> http://{host}/aerial/wms?BBOX=367120.90931137616%2C70718.54520964148%2C369092.93715805584%2C72076.73961963497&HEIGHT=3208&WIDTH=4658&TRANSPARENT=true&map_resolution=300&VERSION=1.1.1&FORMAT=image%2Fpng&SERVICE=WMS&format_options=dpi%3A300&LAYERS=aerial%3Avap%2Caerial%3AIR_VAP_INDEX&REQUEST=GetMap&STYLES=%2C&DPI=300&SRS=EPSG%3A27700:
> Read timed out
>
>
>
> A number of these settings marked since v1.2 just don't seem to work; no
> error reading the YAML but they don't have any effect.
>
>
>
> Cheers,
>
> Paul
>
>
>
> *From:* Mauro Bartolomeoli [mailto:mauro.bartolome...@geo-solutions.it]
> *Sent:* 19 April 2016 15:56
> *To:* Paul Wittle
> *Cc:* geoserver-users@lists.sourceforge.net
> *Subject:* Re: [Geoserver-users] Print module
>
>
>
> Hi Paul,
>
> we use MapFish 2.1 in GeoServer 2.6 and above. The option you need for
> read timeouts is probably socketTimeout. Did you try with that one?
>
>
>
> Regards,
>
> Mauro Bartolomeoli
>
>
>
>
>
> 2016-04-19 15:44 GMT+02:00 Paul Wittle :
>
> Hi,
>
>
>
> Is the GeoServer printing plugin using MapFish version 1.2 in GeoServer
> version 2.6 and above because I can't find how to get it to increase the
> read time for big layers.
>
>
>
> When reading aerial photography the MapFish component is logging a Read
> Time Out error after 30 seconds even if I set the connectionTimeout option
> in the YMAL and also configure both control flow and the WMS settings to 90
> seconds.
>
>
>
> Best Regards,
>
>
>
> Paul Wittle
>
> GIS Developer
>
> Ext: 710 8473
>
> Tel: 01305 228473
>
>
>
> "This e-mail is intended for the named addressee(s) only and may contain
> information about individuals or other sensitive information and should be
> handled accordingly. Unless you are the named addressee (or authorised to
> receive it for the addressee) you may not copy or use it, or disclose it to
> anyone else. If you have received this email in error, kindly disregard the
> content of the message and notify the sender immediately. Please be aware
> that all email may be subject to recording and/or monitoring in accordance
> with relevant legislation."
>
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>
>
>
> --
>
> ==
>
> GeoServer Professional Services from the experts! Visit
>
> http://goo.gl/it488V for more information.
>
> ==
>
>
>
> Dott. Mauro Bartolomeoli
>
> @mauro_bart
>
> Senior 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
>
>
>
> ---
>
>
>
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del m

Re: [Geoserver-users] Print module

2016-04-19 Thread Mauro Bartolomeoli
Hi Paul,
we use MapFish 2.1 in GeoServer 2.6 and above. The option you need for read
timeouts is probably socketTimeout. Did you try with that one?

Regards,
Mauro Bartolomeoli


2016-04-19 15:44 GMT+02:00 Paul Wittle :

> Hi,
>
>
>
> Is the GeoServer printing plugin using MapFish version 1.2 in GeoServer
> version 2.6 and above because I can't find how to get it to increase the
> read time for big layers.
>
>
>
> When reading aerial photography the MapFish component is logging a Read
> Time Out error after 30 seconds even if I set the connectionTimeout option
> in the YMAL and also configure both control flow and the WMS settings to 90
> seconds.
>
>
>
> Best Regards,
>
>
>
> Paul Wittle
>
> GIS Developer
>
> Ext: 710 8473
>
> Tel: 01305 228473
>
>
> "This e-mail is intended for the named addressee(s) only and may contain
> information about individuals or other sensitive information and should be
> handled accordingly. Unless you are the named addressee (or authorised to
> receive it for the addressee) you may not copy or use it, or disclose it to
> anyone else. If you have received this email in error, kindly disregard the
> content of the message and notify the sender immediately. Please be aware
> that all email may be subject to recording and/or monitoring in accordance
> with relevant legislation."
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior 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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Printing Module Change for units for scalebar isn't working

2016-03-29 Thread Mauro Bartolomeoli
Hi Rudiger,
I checked documentation and your yaml snippet seems to be correct. Can you
send the full config.yaml file? I don't think the error is specifically
related to the scalebar.

Regards,
Mauro Bartolomeoli

2016-03-27 18:44 GMT+02:00 Rüdiger Brand :

> Hi,
>
> has someone changed the units in the scalebar for the printing module.
>
> I tried it with GeoServer 2.8.3, printing plugin 2.8.3 and I get an error
> for reading the config.yaml.
>
> items:
> - !scalebar
>   type: bar_sub
>   maxSize: 100
>   units: km
>   barBgColor: white
>   fontSize: 8
>   align: right
>
> I got the error:
>
> 2016-03-27 18:55:17,972 ERROR [servlet.BaseMapServlet] - Error occurred
> while reading configuration file
> org.ho.yaml.exception.YamlException: Error near line 0: End of document
> expected.
> at org.ho.yaml.JYamlParserEvent.error(Unknown Source)
> at org.ho.yaml.YamlDecoder.firstDocument(Unknown Source)
> at org.ho.yaml.YamlDecoder.readObjectOfType(Unknown Source)
> at org.ho.yaml.YamlConfig.loadType(Unknown Source)
> at org.ho.yaml.YamlConfig.loadType(Unknown Source)
> at org.ho.yaml.CustomYamlConfig.loadType(CustomYamlConfig.java:107)
> at
> org.mapfish.print.config.ConfigFactory.fromYaml(ConfigFactory.java:46)
> at
> org.mapfish.print.MapPrinter.setYamlConfigFile(MapPrinter.java:105)
> at
>
> org.mapfish.print.servlet.BaseMapServlet.getMapPrinter(BaseMapServlet.java:137)
> at
>
> org.mapfish.print.servlet.MapPrinterServlet.getInfo(MapPrinterServlet.java:279)
> at
>
> org.mapfish.print.servlet.MapPrinterServlet.doGet(MapPrinterServlet.java:99)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
>
> org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
> at
>
> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
> at
>
> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
> at
>
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
> at
>
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
> at
>
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
> at
>
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
> at
>
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
> at
>
> org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
> at
>
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> at
>
> org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
> at
> org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
> at
>
> org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
> at
>
> org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
> at
>
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> at
>
> org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
> at
>
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> at
>
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
> at
>
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
> at
>
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
> at
>
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
> at
>
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
> at
>
> o

Re: [Geoserver-users] Possible to obtain groups from HTTP Headers?

2016-02-26 Thread Mauro Bartolomeoli
Hi Martin,


> In the end we're going with a custom servlet Filter which will use the
> enterprise directory service to determine the roles for the user provided
> in the request header.  The roles will be injected into a request header
> for use by the HTTP Header Authentication module [1][2] with a Role Source
> "Request Header".
>
> If you see any issues with this concept please advise!
>
> No issues. That's exactly the purpose of Role Source "Request Header".


>
> [1]
> http://docs.geoserver.org/stable/en/user/security/tutorials/httpheaderproxy/index.html#configure-the-http-header-filter
> [2]
> http://docs.geoserver.org/stable/en/user/security/usergrouprole/rolesource.html#using-an-http-header-attribute
>
> PS it wasn't totally clear to me from the docs above how to set the header
> attribute name for roles.  It would be good to mention in [1] that the role
> header name is entered by choosing "Request Header" under Role source, and
> also be a bit more explicit about the configuration UI in [2].   (I know, I
> know - make a PR for this!)
>

Yes, a PR would be awesome :-).

Regards,
Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior 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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Possible to obtain groups from HTTP Headers?

2016-02-25 Thread Mauro Bartolomeoli
Hi Martin,

2016-02-24 18:22 GMT+01:00 Martin Davis :

> Thanks, Mauro.  We are aware of the ability to pass roles as well as the
> user.  That's certainly a nice facility to have.  Unfortunately in the
> context we are in it is non-trivial to map the supplied group to roles (for
> various reasons, one of which is that the filter would essentially need to
> implement its own Role Service to access the roles defined in the GeoServer
> environment).
>

Unfortunately you need a UserGroupService to assign groups to users. You
could implement a custom one, that gets groups from an header (the
UserGroupService should be able to access current request headers through
the Dispatcher.REQUEST ThreadLocal).

Regards,
Mauro Bartolomeoli


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior 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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Possible to obtain groups from HTTP Headers?

2016-02-24 Thread Mauro Bartolomeoli
Hi Martin,

2016-02-24 2:03 GMT+01:00 Martin Davis :

> We are running GeoServer behind a HTTP security proxy which provides both
> user authentication and user group membership information (via HTTP
> Headers).
>
> Is it possible to somehow pass the user groups into GeoServer for use by
> Security subsystem, against a suitably configured Role Service?
>

What you can currently do is use the HTTP Header Authentication Filter to
extract both the username and a list of roles (not groups) from two
distinct HTTP headers.
To accomplish that you need to choose Request Header as the Role Source in
the filter configuration.

>From related help: If the *role source* is *Request header*, the name of
the HTTP header attribute has to be specified.The content of this attribute
are the roles of the principal. The default role delimiter is the semicolon
*;*.GeoServer accepts the sent roles without verification.

Since roles are used for authorization purposes, probably it's not an issue
mapping your groups to GeoServer roles.

If you need something more flexible, some customization of this filter is
needed.

Regards,
Mauro Bartolomeoli



>
> We are happy to write a custom filter to extract the HTTP headers - it's
> just not clear if there's a place to put the group information so that it
> can be utilized by the Security subsystem.
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How to implement Session based token security

2016-01-12 Thread Mauro Bartolomeoli
Hi Deepti,
with the authkey module GeoServer can use a session token like the one you
are talking about. But if you need by session tokens, expiration and other
advanced features, GeoServer is not able to do that by its own, it can use
your infrastructure and use the externally generated token to authenticate
requests, but cannot create or expire them.
When integrated this way, the client can send requests to GeoServer with an
additional parameter with the token and no other credentials.

Regards,
Mauro Bartolomeoli

2016-01-11 15:51 GMT+01:00 Deepti Puri :

> Hi  Christian and Mauro
> We are using the leaflet and Angular based client side app which
> communicates with spatial data through C# API.
> Identity server (a C# based API) matches the email id and password from
> identity storage and calls ArcGIS server get token service with a generic
> username, password and referer (essentially we are calling this  from
> server side API (used as proxy server for intial request) and generating an
> authentication token). and this token is used for all  the communication
> between user and arcgis server until token expired for the session. So we
> don't need to store any credential on client side code. In this scenario,
> tokens are unique for a user's session.
>
> Geoserver can be configured for a key or encrypted password but I am
> trying to explore an option where we can have some sort of session password
> with some sort of expiration / validation of referer. We don't want to move
> all the users to geoserver currently.
>
> Please advise if something is not clear.
>
> Thanks
>
> On Sun, Jan 10, 2016 at 9:46 AM, Christian Mueller <
> christian.muel...@os-solutions.at> wrote:
>
>> Hi
>>
>> I am a little bit confused about your architecture. Which identiy API and
>> product are you using ?
>>
>> Cheers
>> Christian
>>
>> On Wed, Jan 6, 2016 at 8:27 PM, Deepti Puri 
>> wrote:
>>
>>> Hi there
>>>
>>> Just learning about Geoserver - I have a multi-tenant web mapping
>>> application running on ArcGIS server which I am trying to replace with
>>> geoserver. Identity of the users for tenants are maintained through another
>>> identity api. After successful login Api generates the session token
>>> through get token service for a user passing the fixed credentials.
>>> Geoserver provides Digest and http header method- but is there a way to
>>> generate unique tokens for every session- so that no information related to
>>> user authentication is hard coded in client side code. Thanks
>>>
>>>
>>> --
>>>
>>> ___
>>> Geoserver-users mailing list
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>
>>
>> --
>> DI Christian Mueller MSc (GIS), MSc (IT-Security)
>> OSS Open Source Solutions GmbH
>>
>>
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How to implement Session based token security

2016-01-11 Thread Mauro Bartolomeoli
Hi,
from what I understand, you are trying to share the session token generated
by your identity API so that it can be used to authenticate requests to
GeoServer.
If this is the case, the authkey community module can be used for that
purpose, but you need a service that translates the token to a real
username. You say that you are using a get token service to authenticate
the user and get a session token. Does your identity API have a service to
get user info given a particular token?

Regards,
Mauro Bartolomeoli

2016-01-06 20:27 GMT+01:00 Deepti Puri :

> Hi there
>
> Just learning about Geoserver - I have a multi-tenant web mapping
> application running on ArcGIS server which I am trying to replace with
> geoserver. Identity of the users for tenants are maintained through another
> identity api. After successful login Api generates the session token
> through get token service for a user passing the fixed credentials.
> Geoserver provides Digest and http header method- but is there a way to
> generate unique tokens for every session- so that no information related to
> user authentication is hard coded in client side code. Thanks
>
>
> --
>
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS GetLegendGraphic i18n

2015-09-15 Thread Mauro Bartolomeoli
Hi Michael,
thank you for your feedbacks on the functionality: can you open a JIRA
issue with your observations?

Thanks
Mauro

2015-09-15 3:52 GMT+02:00 Michael Colin :

> Hello Mauro,
>
> thank you very much for the quick reply. This helped me use the built-in
> way rather than writing my own solution via an extension, though the
> extension was pretty much ready to go at that point.
>
> I noticed one rather big issue for some applications though:
> "lang" really only specifies the lang, not the country. If I try to use
> the locale instead, e.g. es_ES, it will simply not work. Or maybe I just
> tried it the wrong way, who knows. But if not, wouldn't it be an easy fix
> to allow for any kind of string as input to lang instead of the current
> solution? Luckily for my purposes this isn't an issue.
>
> A few other things that came up with my test cases:
> Localized doesn't seem to accept a namespace. In my example the following
> wouldn't work whereas the 2nd snipped worked:
>  encoding="UTF-8"?>http://www.opengis.net/sld"; xmlns:sld="http://www.opengis.net/sld";  
> Design
>   Diseño
>   Design
>   Точность
> сетки
> 
> working:
> Design
>   Diseño
>   Design
>   Точность сетки
> 
>
> When uploading a style through the GUI it is not encoded as UTF8 and the
> internationalised values are mangled. I had to upload them manually into
> the styles directory instead.
>
> Thank you once again and have a good day :)
>
> Cheers,
> Michael
>
>
>
> From:Mauro Bartolomeoli 
> To:Michael Colin 
> Cc:GeoServer Mailing List List <
> geoserver-users@lists.sourceforge.net>
> Date:11/09/2015 05:40 PM
> Subject:Re: [Geoserver-users] WMS GetLegendGraphic i18n
> --
>
>
>
> Hi Michael,
> indeed there is some support for it, but it's not well documented (I will
> try to add some documentation ASAP).
> You can use the parameter LANGUAGE to choose a particular locale, then you
> can use the following syntax in SLD to specify some of the metadata in
> several languages:
>
> Basso-Basso
>   Basso-Basso
>   Low-Low
>   Faible-Faible
>   Niedriges-Niedriges
>   
>
> The text directly inside Title is the default (when no language parameter
> is specified). The text in a Localized tag is used when LANGUAGE is equal
> to the lang attribute value.
>
> This syntax can be used for the following SLD Title and Abstract tags.
>
> Regards,
> Mauro
>
>
> 2015-09-11 0:50 GMT+02:00 Michael Colin <*colin_mich...@cat.com*
> >:
> Hello :)
>
> I recently started using GeoServer and am currently trying to learn the
> ropes. My new project has been using GeoServer for some time now. They
> currently are on version 2.5. Now I received the task to add
> internationalization to the legend drawn from the style of a layer. I could
> do it with custom functions but I would prefer a native way over building
> my own mechanism. I found this mailing list entry:
> *http://osgeo-org.1560.x6.nabble.com/SLD-and-Internationalization-td5054597.html*
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__osgeo-2Dorg.1560.x6.nabble.com_SLD-2Dand-2DInternationalization-2Dtd5054597.html&d=BQMFaQ&c=p0oa49nxxGtbbM2qgM-GB4r4m9OlGg-sEp8sXylY2aQ&r=A3KdcnVyFqLMOOqCdo2429zd-IRYbqVdYcNdu2zOiik&m=wTMfYXRqEIckVire6Wg_aRUKRgkFNUpAY2s-NrlbXic&s=LdPR017MTTPSr7z5oVDfLVfL5WtQsR5Ip_gSUnDawqQ&e=>
> which seems to address my issue exactly. But as I can find no mention of
> this in the documentation I am not sure if this made it into the
> application as of yet.
>
> Does anyone know if the SLD i18n was implemented? And if so, which
> parameter do I have to set to define the locale for the getLegendGraphic (
> *http://docs.geoserver.org/stable/en/user/services/wms/get_legend_graphic/legendgraphic.html#get-legend-graphic*
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__docs.geoserver.org_stable_en_user_services_wms_get-5Flegend-5Fgraphic_legendgraphic.html-23get-2Dlegend-2Dgraphic&d=BQMFaQ&c=p0oa49nxxGtbbM2qgM-GB4r4m9OlGg-sEp8sXylY2aQ&r=A3KdcnVyFqLMOOqCdo2429zd-IRYbqVdYcNdu2zOiik&m=wTMfYXRqEIckVire6Wg_aRUKRgkFNUpAY2s-NrlbXic&s=V7DGxUWJGJFL3YsBy-ouxaRkVNX_-wUNUyHP6cLW13I&e=>)
> request?
>
> Cheers,
> Michael
>
> --
>

Re: [Geoserver-users] WMS GetLegendGraphic i18n

2015-09-11 Thread Mauro Bartolomeoli
Hi Michael,
indeed there is some support for it, but it's not well documented (I will
try to add some documentation ASAP).
You can use the parameter LANGUAGE to choose a particular locale, then you
can use the following syntax in SLD to specify some of the metadata in
several languages:

Basso-Basso
  Basso-Basso
  Low-Low
  Faible-Faible
  Niedriges-Niedriges
  

The text directly inside Title is the default (when no language parameter
is specified). The text in a Localized tag is used when LANGUAGE is equal
to the lang attribute value.

This syntax can be used for the following SLD Title and Abstract tags.

Regards,
Mauro


2015-09-11 0:50 GMT+02:00 Michael Colin :

> Hello :)
>
> I recently started using GeoServer and am currently trying to learn the
> ropes. My new project has been using GeoServer for some time now. They
> currently are on version 2.5. Now I received the task to add
> internationalization to the legend drawn from the style of a layer. I could
> do it with custom functions but I would prefer a native way over building
> my own mechanism. I found this mailing list entry:
> http://osgeo-org.1560.x6.nabble.com/SLD-and-Internationalization-td5054597.html
> which seems to address my issue exactly. But as I can find no mention of
> this in the documentation I am not sure if this made it into the
> application as of yet.
>
> Does anyone know if the SLD i18n was implemented? And if so, which
> parameter do I have to set to define the locale for the getLegendGraphic (
> http://docs.geoserver.org/stable/en/user/services/wms/get_legend_graphic/legendgraphic.html#get-legend-graphic)
> request?
>
> Cheers,
> Michael
>
> --
>
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Configuring Apache HTTPD Session Integration: Error

2015-07-29 Thread Mauro Bartolomeoli
Hi Christopher,


2015-07-29 17:40 GMT+02:00 Christopher Stocks :

> We are attempting to follow the instructions at this URL:
>
>
>
>
> http://docs.geoserver.org/stable/en/user/security/tutorials/credentialsfromheaders/index.html
>
>
>
> To set up security on our geoserver. But when we open up the command
> prompt and issue our curl command we get an error. Out curl command is as
> follows:
>
>
>
> curl  -v -H “X-Credentials: private-user=admin&private-pw=geoserver” “
> http://localhost:/geoserver/wms?service=WMS&version=1.1.1&request=GetCapabilities
> “
>
>
>

In the command line you are using the double quote chars are not correct. I
see this is a formatting error in the geoserver docs, I will fix it asap.
In the meantime, please try to use this one:

curl  -v -H "X-Credentials: private-user=admin&private-pw=geoserver" "
http://localhost:/geoserver/wms?service=WMS&version=1.1.1&request=GetCapabilities
"


Regards,
Mauro


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



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


Re: [Geoserver-users] Couldn't include Legend in GeoServer Printing Module generated PDF

2015-07-23 Thread Mauro Bartolomeoli
Uhm... I cannot see anything strange in the pdf, apart from the fact that
it does not include the legend items.

Do you have any errors / warning in GeoServer logs when you print?

Mauro


2015-07-23 9:22 GMT+02:00 Wondimagegn Tesfaye :

> Hello Mauro,
>
> Yes, it produces a valid image.
> I have attached the pdf file.
>
> Thanks!
>
> On Thu, Jul 23, 2015 at 9:59 AM, Mauro Bartolomeoli <
> maurobartolome...@gmail.com> wrote:
>
>> Hi,
>> does the legend url (
>> http://localhost:8080/geoserver/malawi_vulnerabilitytool/wms?TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&LAYER=malawi_national_vulnerability_index&FORMAT=image%2Fpng)
>> produce a valid image?
>>
>> Can you attach the produced pdf, so that I can take a look?
>>
>> Thanks
>> Mauro
>>
>>
>> 2015-07-23 8:30 GMT+02:00 Wondimagegn Tesfaye :
>>
>>> Dear Members,
>>>
>>> I was trying to include legend in the pdf file but it is not being
>>> included. I see an empty box in place of the legend. Below is my code.
>>>
>>> Spec.
>>>
>>> "legends": [
>>> {
>>> "classes": [
>>> {
>>> "icons": [
>>> 
>>> "http://localhost:8080/geoserver/malawi_vulnerabilitytool/wms?TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&LAYER=malawi_national_vulnerability_index&FORMAT=image%2Fpng";
>>> ],
>>> "name": 'icon name',
>>> "iconBeforeName": true
>>> }
>>> ],
>>> "name": 'Legend'
>>> }
>>> ],
>>>
>>>
>>> config.yaml
>>>
>>> - !columns
>>>   # columns can have an absolute position. In that case, they need the 3 
>>> following fields:
>>>   absoluteX: 50
>>>   absoluteY: 300
>>>   width: 440
>>>   items:
>>> - !legends
>>>   backgroundColor: #FF
>>>   borders: true
>>>   align: left
>>>   inline: true
>>>   maxHeight: 700
>>>   maxWidth: 200
>>>   defaultScale: 0.5
>>>   iconMaxWidth: 80
>>>   iconMaxHeight: 80
>>>   iconPadding: 3 0 0 0
>>>   columnMargin: 10
>>>   classIndentation: 3
>>>   classSpace: 5
>>>   backgroundColor: white
>>>   layerFontSize: 9
>>> - !scalebar
>>>   type: bar_sub
>>>
>>>
>>> Thanks!
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> ___
>>> Geoserver-users mailing list
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>
>
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Couldn't include Legend in GeoServer Printing Module generated PDF

2015-07-23 Thread Mauro Bartolomeoli
Hi,
does the legend url (
http://localhost:8080/geoserver/malawi_vulnerabilitytool/wms?TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&LAYER=malawi_national_vulnerability_index&FORMAT=image%2Fpng)
produce a valid image?

Can you attach the produced pdf, so that I can take a look?

Thanks
Mauro


2015-07-23 8:30 GMT+02:00 Wondimagegn Tesfaye :

> Dear Members,
>
> I was trying to include legend in the pdf file but it is not being
> included. I see an empty box in place of the legend. Below is my code.
>
> Spec.
>
> "legends": [
> {
> "classes": [
> {
> "icons": [
> 
> "http://localhost:8080/geoserver/malawi_vulnerabilitytool/wms?TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&LAYER=malawi_national_vulnerability_index&FORMAT=image%2Fpng";
> ],
> "name": 'icon name',
> "iconBeforeName": true
> }
> ],
> "name": 'Legend'
> }
> ],
>
>
> config.yaml
>
> - !columns
>   # columns can have an absolute position. In that case, they need the 3 
> following fields:
>   absoluteX: 50
>   absoluteY: 300
>   width: 440
>   items:
> - !legends
>   backgroundColor: #FF
>   borders: true
>   align: left
>   inline: true
>   maxHeight: 700
>   maxWidth: 200
>   defaultScale: 0.5
>   iconMaxWidth: 80
>   iconMaxHeight: 80
>   iconPadding: 3 0 0 0
>   columnMargin: 10
>   classIndentation: 3
>   classSpace: 5
>   backgroundColor: white
>   layerFontSize: 9
> - !scalebar
>   type: bar_sub
>
>
> Thanks!
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
>
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How to modify Geoserver GetFeatureInfo Templates in Windows?

2015-07-09 Thread Mauro Bartolomeoli
Hi,
for the location of ftl files, you can look here:
http://docs.geoserver.org/stable/en/user/tutorials/freemarker.html#template-lookup

For example if you want to use a single template for the whole workspace,
you can put it inside the workspaces/ folder.

If you don't have ftl files it means that the default one is used, to use
your own just create them and put in the right folder.

You can find some template examples here:
http://docs.geoserver.org/stable/en/user/tutorials/GetFeatureInfo/index.html

Regards,
Mauro


2015-07-09 14:48 GMT+02:00 Wondimagegn Tesfaye :

> Dear Team,
>
> I am trying to modify geoserver getFeatureInfo from WMS layers but I
> couldn't find any flt file in the layer and store created. So where could I
> find the template and how could I create one for a single workspace or
> layer?
>
>
> Thanks!
>
>
> --
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Fwd: Geoserver dxf

2015-07-08 Thread Mauro Bartolomeoli
Hi, thanks for feedbacks on the dfx extension.

Unfortunately there is no plan for new features on the extension, basically
because there is no funding for it.

If you wish these improvements, your options are:
 - code the new functionality by yourself (we can help if you have problems
doing that) and submit a pull request
 - contact one of the companies offering commercial support for GeoServer
and ask them to develop the new functionalities (see here:
http://geoserver.org/support/)
 - wait and hope until someone else will develop / fund these new features

Regards,
Mauro Bartolomeoli

2015-07-08 8:29 GMT+02:00 xmiquel :

> Hi all,
> I have just started working with the DXF  OutputFormat  for WFS.
>
> The extension works well and reasonably fast, but I wonder  if there is a
> plan to add the text output type in the dxf file.
>
> Support for Oracle oriented geometries would be also awesome.
>
> Thanks in advance.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Geoserver-dxf-tp5214782.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>




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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GetFeatureInfo render failure on 2.7.1

2015-05-22 Thread Mauro Bartolomeoli
Uhm... weird, that url works for me on 2.7.1 (Windows - standalone zip).
One question: there was a failing attempt to produce the 2.7.1 with this
bug.
I thought it was not published at all.

I will check the war distribution. Can you try to retest with the
standalone zip:
http://sourceforge.net/projects/geoserver/files/GeoServer/2.7.1/geoserver-2.7.1-bin.zip
?

Regards,
Mauro

2015-05-22 12:36 GMT+02:00 Olle Markljung :

> Yes,
> I test through the Layer Preview page.
> The error is not consistent. Sometimes it works.
>
> Here is a request that failed:
>
> http://localhost:8080/geoserver/tiger/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&FORMAT=image%2Fpng&TRANSPARENT=true&QUERY_LAYERS=tiger%3Apoly_landmarks&LAYERS=tiger%3Apoly_landmarks&STYLES&INFO_FORMAT=text%2Fhtml&FEATURE_COUNT=50&X=50&Y=50&SRS=EPSG%3A4326&WIDTH=101&HEIGHT=101&BBOX=-74.00033346313478%2C40.694517327392575%2C-73.96565786499025%2C40.729192925537106
>
> Thanks for helping out!
>
> On Fri, May 22, 2015 at 12:27 PM, Mauro Bartolomeoli <
> maurobartolome...@gmail.com> wrote:
>
>> Hi Olle,
>> I tried to reproduce your issue: do you one GetFeatureInfo request that
>> is failing?
>>
>> Thanks
>> Mauro
>>
>>
>> 2015-05-22 12:09 GMT+02:00 Olle Markljung :
>>
>>> Hi,
>>> I've just made a fresh install of 2.7.1 and I get a render error when
>>> using GetFeatureInfo.
>>> I get the same error with the example data tiger:poly_landmarks with
>>> both WMS 1.1.1 and 1.3.0.
>>>
>>> >> ServiceExceptionReport SYSTEM "
>>> http://localhost:8240/geoserver-2.7/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";>
>>>>> code="internalError">
>>>   Rendering process failed
>>> 36
>>> 
>>>
>>> The logs says this:
>>> java.lang.ArrayIndexOutOfBoundsException: 36
>>> at
>>> org.geoserver.wms.featureinfo.VectorRenderingLayerIdentifier$FeatureInfoRenderListener.featureRenderer(VectorRenderingLayerIdentifier.java:578)
>>>
>>> Is it just me or does someone else also experience this?
>>> Any ideas?
>>>
>>> Using Tomcat 7 on Windows.
>>>
>>> /Olle
>>>
>>>
>>> --
>>> One dashboard for servers and applications across Physical-Virtual-Cloud
>>> Widest out-of-the-box monitoring support with 50+ applications
>>> Performance metrics, stats and reports that give you Actionable Insights
>>> Deep dive visibility with transaction tracing using APM Insight.
>>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>> ___
>>> Geoserver-users mailing list
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GetFeatureInfo render failure on 2.7.1

2015-05-22 Thread Mauro Bartolomeoli
Hi Olle,
I tried to reproduce your issue: do you one GetFeatureInfo request that is
failing?

Thanks
Mauro


2015-05-22 12:09 GMT+02:00 Olle Markljung :

> Hi,
> I've just made a fresh install of 2.7.1 and I get a render error when
> using GetFeatureInfo.
> I get the same error with the example data tiger:poly_landmarks with both
> WMS 1.1.1 and 1.3.0.
>
>  ServiceExceptionReport SYSTEM "
> http://localhost:8240/geoserver-2.7/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";>
> code="internalError">
>   Rendering process failed
> 36
> 
>
> The logs says this:
> java.lang.ArrayIndexOutOfBoundsException: 36
> at
> org.geoserver.wms.featureinfo.VectorRenderingLayerIdentifier$FeatureInfoRenderListener.featureRenderer(VectorRenderingLayerIdentifier.java:578)
>
> Is it just me or does someone else also experience this?
> Any ideas?
>
> Using Tomcat 7 on Windows.
>
> /Olle
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ImageMosaicJDBC problem: geoserver stop waiting before postgres send the raster information

2015-04-23 Thread Mauro Bartolomeoli
Hi Andre,

2015-04-23 11:21 GMT+02:00 Mende, Andre :

> Hi Mauro,
>
>
>
> thanks for your explanation. I don´t know where to find the right JIRA bug
> forum? Do you have an URL for me?
>

You should be able to go here: https://osgeo-org.atlassian.net/projects/GEOT

>From there, click the "Log in" button, then "Create an account".


>
>
> Do you think there is an opportunity to contact the programmer of this
> plugin?
>

I don't know who is the mantainer of the imagemosaic-jdbc, if he reads the
mailing list, he will probably chime in (for this reason I moved the
discussion to the mailing list again, please don't use private messages for
this).


> Because I need this function for my gis-infrastructre and mybe I can add
> some code sniped for faster implementation?
>

If you can fix the bug yourself and submit a pull request on GitHub, it
will be included quickly in the code, I think.

Regards,
Mauro


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Questions about GetLegendGraphic

2015-04-08 Thread Mauro Bartolomeoli
Hi Arthur,

2015-04-07 20:47 GMT+02:00 Arthur F. Zanona :

>
>
> https://github.com/geoserver/geoserver/pull/253
>
>
Unfortunately this pull request was about internazionalization of Rule
labels, and did not apply to color map entries labels, so what you are
asking for is not supported yet.


>
> But i need:
>
>   
>  label="normal"/>
>  />
>  label="medio" />
>  />
>
>
>   
>  label="normal"/>
> 
>  label="medium" />
>  />
>
>
>
I would use a different syntax, to avoid unneeded replication, since we
need to differentiate only the label we could:
 - add additional attributes for localized labels (label_pt_BR or
label_en), but this could be a bit "out of standard" and difficult to parse
/ serialize
 - use an expression like syntax to express multilanguage labels,
leveraging cql functions. I was thinking of something like:
label="${Recode(env('lang','en'),'pt_BR','baixo','en','low')}"

With a recent pull request I added cql syntax support for several
ColorMapEntry attributes, but unfortunately (again) label was not one of
those, because it was a bit more difficult than for other attributes.


Regards,
Mauro
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver layers are not saved no error

2015-03-31 Thread Mauro Bartolomeoli
Hi Erik,
probably this is the issue: https://jira.codehaus.org/browse/GEOS-6426

>From the JIRA seems to solved from 2.5.4.

Mauro


2015-03-31 15:45 GMT+02:00 Erik Jan Martens :

>  I’m using IE 11 and Geoserver 2.5.2.
>
>
>
> Met vriendelijke groet,
>
>
>
> Erik-Jan Martens
>
> Geo-informatiebeheerder
>
> GRSK- SSC de Kempen
>
> Tel.: 0497551489
>
> Email: e.mart...@sscdekempen.nl
>
>
>
> *Van:* Mauro Bartolomeoli [mailto:mauro.bartolome...@geo-solutions.it]
> *Verzonden:* dinsdag 31 maart 2015 15:36
> *Aan:* Erik Jan Martens
> *CC:* Mauro Bartolomeoli; geoserver-users@lists.sourceforge.net
> *Onderwerp:* Re: [Geoserver-users] Geoserver layers are not saved no error
>
>
>
> Hi Erik,
>
>
>
>
>
> 2015-03-31 15:16 GMT+02:00 Erik Jan Martens :
>
> Hi Mauro.
>
>
>
> It was the solution. Thanks a lot. Where could I have found a
> compatibilitylist?
>
>
>
>
>
> An official list of compatible browser does not exist, but in the past I
> experienced your same symptoms (buttons, links not doing anything) and it
> was a matter of browser / wicket incompatibilities. Wicket is the library
> used to develop the GeoServer UI. These type of issues have been resolved
> by newer GeoServer versions when reported. Which version of GeoServer are
> you using and which browser is giving you problems?
>
>
>
> Regards,
>
> Mauro
>
>
>
>
>
> --
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 for more information.
> ==
>
>
>
> Dott. Mauro Bartolomeoli
>
> @mauro_bart
>
> Senior Software Engineer
>
>
>
> GeoSolutions S.A.S.
>
> Via Poggio alle Viti 1187
>
> 55054  Massarosa (LU)
>
> Italy
>
> phone: +39 0584 962313
>
> fax: +39 0584 1660272
>
>
>
> http://www.geo-solutions.it
>
> http://twitter.com/geosolutions_it
>
>
>
> ---
>
>
>
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
>
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
> --
>
> Op dit bericht is een disclaimer van toepassing. De volledige tekst vindt
> u op:
> http://www.kempengemeenten.nl/maildisclaimer
>



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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortes

Re: [Geoserver-users] Geoserver layers are not saved no error

2015-03-31 Thread Mauro Bartolomeoli
Hi Erik,


2015-03-31 15:16 GMT+02:00 Erik Jan Martens :

>  Hi Mauro.
>
>
>
> It was the solution. Thanks a lot. Where could I have found a
> compatibilitylist?
>
>
>

An official list of compatible browser does not exist, but in the past I
experienced your same symptoms (buttons, links not doing anything) and it
was a matter of browser / wicket incompatibilities. Wicket is the library
used to develop the GeoServer UI. These type of issues have been resolved
by newer GeoServer versions when reported. Which version of GeoServer are
you using and which browser is giving you problems?

Regards,
Mauro


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver layers are not saved no error

2015-03-31 Thread Mauro Bartolomeoli
 as request processing completed
>
>
>
> Met vriendelijke groet,
>
>
>
> Erik-Jan Martens
>
> Geo-informatiebeheerder
>
> GRSK- SSC de Kempen
>
> Tel.: 0497551489
>
> Email: e.mart...@sscdekempen.nl
>
>
>
> --
>
> Op dit bericht is een disclaimer van toepassing. De volledige tekst vindt
> u op:
> http://www.kempengemeenten.nl/maildisclaimer
>
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Problem with print plugin

2015-03-12 Thread Mauro Bartolomeoli
Hi Fernando,
the printing plugin distributed with 2.5 is using a default template that
referred to an online image that is not available anymore after the
GeoServer website migrated to a different platform.

You can try replacing the config.yaml in your data_dir/printing folder with
the one attached to this email.
I will open a JIRA to fix the template in old versions of the plugin.

Thanks
Mauro


2015-03-11 19:23 GMT+01:00 Fernando Javier Umaña :

>  hello try to follow the tutorial
> http://docs.geoserver.org/2.5.x/en/user/community/printing/, to add the
> plugin to print the geoserver version 2.5.2, first I do not find the file
> geoserver -2.0.2-SNAPSHOT-printing-plugin.zip, no longer exists seems,
> however Reproduce and download the version
> geoserver-2.5-SNAPSHOT-printing-plugin.zip, and I can not make it work.
> gives me
>
> The error is geoserver 03/11/2015 13: 37: 33.669 ERROR
> [servlet.BaseMapServlet] - Error while generating PDF
>
>
>
> the log of tomcat
>
> 172.21.154.68 - - [11 / Mar / 2015: 13: 52: 23 -0300]
> "/geoserver/pdf/create.json POST HTTP / 1.1" 500 1611
>
>
>
> accept, suggestions, information, trick, tips. etc etc
>
>
>
> Plataform: Ubuntu 14 LTS, geoserver, 2.5.2 tomcat7,
>
>
>
> thx
>
>
>
>
>
> fernando
>
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


config.yaml
Description: Binary data
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Fwd: LDAP authentication fails with "invalid DN"

2015-02-25 Thread Mauro Bartolomeoli
Hi Pavel,
the only particular thing I can spot in your configuration is that you use
the ldaps protocol (LDAP over SSL) but have not checked the TLS flag.
I think this can be part of the problem.

After enabling it you will probably have to deal with certificates and that
sort of stuff.

Regards,
Mauro Bartolomeoli

2015-02-24 5:06 GMT+01:00 :

> Hi Mauro,
>
> I have tried many different configurations but they all failed with same
> or very similar exceptions. I have attached a screenshot of one of the
> latest attempts that I’m made to JIRA issue
> https://jira.codehaus.org/browse/GEOS-6894. Here’s a direct link
> https://jira.codehaus.org/secure/attachment/67287/2015-02-24_120152.png
>
> I tried to follow many examples that I could find on the web, including
> geoserver docs and others like
> http://geoserver.geo-solutions.it/edu/en/security/ldap_authentication.html
>
> Thank you.
>
> Cheers,
> Pavel
>
>
> From: maurobartolome...@gmail.com [mailto:maurobartolome...@gmail.com] On
> Behalf Of Mauro Bartolomeoli
> Sent: Friday, 20 February 2015 3:56 PM
> To: Golodoniuc, Pavel (Mineral Resources, Kensington)
> Cc: GeoServer Mailing List List; Justin Deoliveira
> Subject: Re: LDAP authentication fails with "invalid DN"
>
> Hi Pavel,
>
> can you please share the configuration details for the LDAP authentication
> provider? A screenshot showing all the parameters you entered is fine.
>
> Thanks
> Mauro
>
>
> 2015-02-20 5:19 GMT+01:00 :
> Hi,
>
> I'm trying to set up a layer-based LDAP authentication in GeoServer in
> order to leverage existing infrastructure for user and group management.
> I've read
> http://docs.geoserver.org/latest/en/user/security/tutorials/ldap/index.html
> and tried many configuration options but still couldn't get it to work.
> Numerous posts in blogs and forums reporting similar issues with LDAP
> authentication didn't help much. I have seen a similar issue reported
> earlier https://jira.codehaus.org/browse/GEOS-5999 and there was one more
> that I can't find anymore..
>
> I consistently get [LDAP: error code 34 - invalid DN] error and the
> following gets logged in slapd syslog:
>
> Jan 29 10:52:05 cgsrv4 slapd[3326]: conn=8628 op=0 do_bind: invalid dn
> ((uid=Username))
>
> If I try to fully qualify the user lookup pattern
> (uid={0},ou=Users,dc=arrc,dc=csiro,dc=au) as some forum posts suggest I get
> the following with nothing logged in slapd logs (it looks like it doesn't
> even get there):
>
> 29 Jan 10:54:01 WARN [web.security] - Cannot authenticate Username
> javax.naming.AuthenticationException: Cannot authenticate Username
>
> I have logged the issue in JIRA https://jira.codehaus.org/browse/GEOS-6894
> with logs and stacktraces attached. I hope this extra bit of information
> will help identify the issue.
>
> Any help of suggestions where do I need to look at will be highly
> appreciated.
>
> Or maybe there're other ways to set up layer based authentication. Any
> experiences?
>
> CC'd the coders of this module so they'll hopefully where I've got it
> wrong.
>
> Thanks for your help!
>
> Pavel
>
>
>
>
> --
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 for more information.
> ==
>
> Dott. Mauro Bartolomeoli
> @mauro_bart
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> ---
>
> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's N

Re: [Geoserver-users] LDAP authentication fails with "invalid DN"

2015-02-19 Thread Mauro Bartolomeoli
Hi Pavel,

can you please share the configuration details for the LDAP authentication
provider? A screenshot showing all the parameters you entered is fine.

Thanks
Mauro


2015-02-20 5:19 GMT+01:00 :

> Hi,
>
> I'm trying to set up a layer-based LDAP authentication in GeoServer in
> order to leverage existing infrastructure for user and group management.
> I've read
> http://docs.geoserver.org/latest/en/user/security/tutorials/ldap/index.html
> and tried many configuration options but still couldn't get it to work.
> Numerous posts in blogs and forums reporting similar issues with LDAP
> authentication didn't help much. I have seen a similar issue reported
> earlier https://jira.codehaus.org/browse/GEOS-5999 and there was one more
> that I can't find anymore..
>
> I consistently get [LDAP: error code 34 - invalid DN] error and the
> following gets logged in slapd syslog:
>
> Jan 29 10:52:05 cgsrv4 slapd[3326]: conn=8628 op=0 do_bind: invalid dn
> ((uid=Username))
>
> If I try to fully qualify the user lookup pattern
> (uid={0},ou=Users,dc=arrc,dc=csiro,dc=au) as some forum posts suggest I get
> the following with nothing logged in slapd logs (it looks like it doesn't
> even get there):
>
> 29 Jan 10:54:01 WARN [web.security] - Cannot authenticate Username
> javax.naming.AuthenticationException: Cannot authenticate Username
>
> I have logged the issue in JIRA https://jira.codehaus.org/browse/GEOS-6894
> with logs and stacktraces attached. I hope this extra bit of information
> will help identify the issue.
>
> Any help of suggestions where do I need to look at will be highly
> appreciated.
>
> Or maybe there're other ways to set up layer based authentication. Any
> experiences?
>
> CC'd the coders of this module so they'll hopefully where I've got it
> wrong.
>
> Thanks for your help!
>
> Pavel
>



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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ldap security

2015-02-12 Thread Mauro Bartolomeoli
Hi Niels,

2015-02-12 19:11 GMT+01:00 Niels Charlier :

> Hi,
>
> Trying to wrap my head around the LDAP security configuration and I'm
> looking for someone who knows about this.
> I've read: http://docs.geoserver.org/latest/en/user/security/
> tutorials/ldap/index.html
>
> But I noticed that the following settings can be configured both in the
> authentication provider and the role service:
> 1) group base and filter
> 2) names of the ADMIN and GROUPADMIN roles;
>
> What is the difference between those different but similar looking
> settings?

They have the same meaning, but since the services are of different type,
they are available in both services.



> What additional behaviour does the role service provide?


The role service allows you to get the roles list from LDAP so that you can
bind permissions (service or layer) to a role coming from LDAP.


> I thought the role service was to map the roles to ldap groups, but the
> tutorial says that the settings in the auth.prov. do that as well.


Yes, in case of LDAP you can do roles mapping directly from the
authentication provider, so the role service is not needed for that if you
use the auth provider configuration.


> And what do you get from specifying admin and groupadmin in the role
> service on top of doing it in the auth.prov?
>

I think that in case you configured role mapping from the auth provider,
that one wins, so it is probably not mandatory to have it also in the role
service.
Take into account that, in general, the authentication provider and the
role service are independent. In theory you can use an LDAP roleservice
also with a not LDAP auth provider (I don't have a real use case at the
moment, but in theory this is possible).

At the end if you use both in a standard way, the LDAP role service is
needed to list (and use) the roles from LDAP in the authorization section.

Regards,
Mauro
-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Error with CAS pluggin

2015-02-05 Thread Mauro Bartolomeoli
Hi Kamardine,
looking at the code, I think that version contains some bugs. Newer
versions should be fixed. Remaining in the 2.4 series, could you try with
2.4.8?

Mauro


2015-02-05 15:46 GMT+01:00 Kamardine YOUSSOUFA :

>  Hi Mauro,
>
>
>
> Sorry, it's a mistake, the good version is 2.4.4.
>
>
>
> Regards,
>
> Kamardine
>
>
>
> *De :* maurobartolome...@gmail.com  de la
> part de Mauro Bartolomeoli 
> *Envoyé :* jeudi 5 février 2015 15:29
> *À :* Kamardine YOUSSOUFA
> *Cc :* geoserver-users@lists.sourceforge.net
> *Objet :* Re: [Geoserver-users] Error with CAS pluggin
>
>  Hi Kamardine,
> there is something strange in the stacktrace. The java code lines seem
> compatible with version 2.4.x of the CAS extensions, however you say that
> you are using version 2.6.1.
> Are you sure you installed the right version of the CAS extension?
>
>  I don't know if this is the cause of your issue, but I would check.
>
>  Regards,
> Mauro
>
>
>
> 2015-02-04 19:01 GMT+01:00 Kamardine YOUSSOUFA <
> kamardine.yousso...@somei.fr>:
>
>>  Hi,
>>
>>
>> I want to use Geoserver with the CAS pluggin in order to implement the
>> SSO authentication.
>>
>>
>> I followed this blog's instructions
>> http://www.geo-solutions.it/blog/geoserver-and-cas/ and when I visualize
>> a secure layer i get this error :
>>
>>
>>
>> Feb 04, 2015 6:46:56 PM org.apache.catalina.core.StandardWrapperValve
>> invoke
>> SEVERE: Servlet.service() for servlet [dispatcher] in context with path
>> [/geoserver] threw exception
>> java.lang.ArrayIndexOutOfBoundsException: 1
>>  at
>> org.geoserver.security.cas.GeoServerCasAuthenticationFilter.retrieveService(GeoServerCasAuthenticationFilter.java:118)
>>  at
>> org.geoserver.security.cas.GeoServerCasAuthenticationEntryPoint.commence(GeoServerCasAuthenticationEntryPoint.java:67)
>>  at
>> org.geoserver.security.filter.GeoServerExceptionTranslationFilter$DynamicAuthenticationEntryPoint.commence(GeoServerExceptionTranslationFilter.java:76)
>>  at
>> org.springframework.security.web.access.ExceptionTranslationFilter.sendStartAuthentication(ExceptionTranslationFilter.java:186)
>>  at
>> org.springframework.security.web.access.ExceptionTranslationFilter.handleSpringSecurityException(ExceptionTranslationFilter.java:168)
>>  at
>> org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:131)
>>  at
>> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
>>  at
>> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
>>  at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>>  at
>> org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53)
>>  at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>>  at
>> org.geoserver.security.filter.GeoServerPreAuthenticationFilter.doFilter(GeoServerPreAuthenticationFilter.java:74)
>>  at
>> org.geoserver.security.cas.GeoServerCasAuthenticationFilter.doFilter(GeoServerCasAuthenticationFilter.java:198)
>>  at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>>  at
>> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
>>  at
>> org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
>>  at
>> org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:52)
>>  at
>> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
>>  at
>> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
>>  at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>>  at
>> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
>>  at
>> org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:134)
>>  at
>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
>>  at
>> org.springframework.web

Re: [Geoserver-users] Error with CAS pluggin

2015-02-05 Thread Mauro Bartolomeoli
na.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>  at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:43)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>  at
> org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>  at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>  at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>  at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>  at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>  at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
>  at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>  at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>  at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>  at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
>  at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>  at java.lang.Thread.run(Unknown Source)
>
>
>
>
> My environment is :
> • Windows 2008 R2 x64
> •Oracle 11g R2 x64
> • Geoserver 2.61
> • Apache 7.0.47 x64
> •Java 1.7
>
> Thanks for your help.
>
> Best regards,
> Kamardine
>
>
>
> --
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other

Re: [Geoserver-users] SSO by using Shibboleth infrastructure with LDAP

2015-01-23 Thread Mauro Bartolomeoli
Hi Kamardine,

2015-01-23 10:57 GMT+01:00 Kamardine YOUSSOUFA :

>
>
> Hi,
>
> I haven't a Shibboleth base SSO infrastructure, I need to create one or
> use any other solutions which allow me to implement SSO authentication with
> Geoserver.
>

Ok, so I think you can also have a look at CAS (
https://wiki.jasig.org/display/CAS/Home)  which is an SSO officially
supported in GeoServer through an extension.
You can find an article abouty CAS and GeoServer here:
http://www.geo-solutions.it/blog/geoserver-and-cas/

Regards,
Mauro


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] SSO by using Shibboleth infrastructure with LDAP

2015-01-22 Thread Mauro Bartolomeoli
Hi Kamardine,

2015-01-22 16:30 GMT+01:00 Kamardine YOUSSOUFA :

>  Hi,
>
> I want to implement a Shibboleth infrastructure in order to manage SSO
> authentication with Geoserver. It would seems that it is possible.
> I found some documentation in this link
> http://www.geo-solutions.it/blog/developers-corner-configuring-geoserver-work-shibboleth-ldap/
>

I personally wrote the blog post and participated to an integration of
Shibboleth SSO with GeoServer for one of our customers.
So I can tell you that it can be done. It's not so simple (mostly
installing and configuring Shibboleth it's the most complex part, in my
opinion, while integrating it with Geoserver was simpler).

It all depends on what are your specific requirements and your situation:
do you already have a Shibboleth base SSO infrastructure or need to create
one?

Regards,
Mauro


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Print in geoserver

2015-01-21 Thread Mauro Bartolomeoli
Hi Satya,
it's probably a network / firewall problem.

It seems that the Geoserver host doesn't have access to:
http://geoserver.org/img/geoserver-logo.png

Mauro

2015-01-21 12:23 GMT+01:00 Satya Bhargavi :

> Hi Mauro,
>
>
>
> Please find the error message text in attachments.
>
>
>
> In my html file I am giving my localhost url for reading print
> capabilities like:
>
>
>
> http://:8080/geoserver/pdf/info.json?var=printCapabilities( The
> problem persists)
>
>
>
> If I keep other url like
> http://ows.terrestris.de:8080/print/pdf/info.json?var=printCapabilities
>
> It’s working fine.
>
>
>
> Any special permissions needed for the machine to host geoserver and to
> access print functionality?
>
>
>
>
>
>
>
> Thanks
>
> Satya
>
>
>
> *From:* maurobartolome...@gmail.com [mailto:maurobartolome...@gmail.com] *On
> Behalf Of *Mauro Bartolomeoli
> *Sent:* Wednesday, January 21, 2015 4:44 PM
> *To:* Satya Bhargavi
> *Cc:* GeoServer Mailing List List
> *Subject:* Re: [Geoserver-users] Print in geoserver
>
>
>
> Hi Satya,
>
>
>
> 2015-01-21 12:07 GMT+01:00 Satya Bhargavi :
>
> Hi Mauro,
>
>
>
> Yes. The error has changed.
>
>
>
> Good, what is the new error, then?
>
>
>
> Mauro
>
>
>
>
>
>
> --
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 for more information.
> ==
>
>
>
> Dott. Mauro Bartolomeoli
>
> @mauro_bart
>
> Senior Software Engineer
>
>
>
> GeoSolutions S.A.S.
>
> Via Poggio alle Viti 1187
>
> 55054  Massarosa (LU)
>
> Italy
>
> phone: +39 0584 962313
>
> fax: +39 0584 1660272
>
>
>
> http://www.geo-solutions.it
>
> http://twitter.com/geosolutions_it
>
>
>
> ---
>
>
>
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
>
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>



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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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

Re: [Geoserver-users] Print in geoserver

2015-01-21 Thread Mauro Bartolomeoli
Hi Satya,

2015-01-21 12:07 GMT+01:00 Satya Bhargavi :

> Hi Mauro,
>
>
>
> Yes. The error has changed.
>

Good, what is the new error, then?

Mauro



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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Print in geoserver

2015-01-21 Thread Mauro Bartolomeoli
Hi Satya,
can you please send me your config.yaml file? I will have a look to see if
I can see anything strange.

Also, did the error change after changing the image url?

Mauro

2015-01-21 11:53 GMT+01:00 Satya Bhargavi :

> Hi Mauro,
>
> Thanks for your help.
>
> Sorry for troubling you again.
>
> I have changed as you said, but no luck.
> I have given image url which is existing.
>
> Is that the way? Or can you please suggest.
>
> Thanks
> Satya
>
> -Original Message-
> From: geoserver-users-requ...@lists.sourceforge.net
> [mailto:geoserver-users-requ...@lists.sourceforge.net]
> Sent: Tuesday, January 20, 2015 10:36 PM
> To: geoserver-users@lists.sourceforge.net
> Subject: Geoserver-users Digest, Vol 104, Issue 30
>
> Send Geoserver-users mailing list submissions to
> geoserver-users@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> or, via email, send a message with subject or body 'help' to
> geoserver-users-requ...@lists.sourceforge.net
>
> You can reach the person managing the list at
> geoserver-users-ow...@lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of Geoserver-users digest..."
>
>
> Today's Topics:
>
>1. Re: Print in geoserver (Mauro Bartolomeoli)
>2. Geoserver - Geowebcache Max Cache Level - NeedUrgent Help!
>   (gavin.montgomery)
>3. Re: jp2 images will not load (Daniele Romagnoli)
>
>
> --
>
> Message: 1
> Date: Tue, 20 Jan 2015 13:34:40 +0100
> From: Mauro Bartolomeoli 
> Subject: Re: [Geoserver-users] Print in geoserver
> To: Satya Bhargavi 
> Cc: GeoServer Mailing List List
> 
> Message-ID:
>  yykcf85vrriwpkx5o5tliq+k0_...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Satya,
> unfortunately your default yaml template for printing is pointing to an
> online image that doesn't exist anymore, and that makes the MapFish print
> plugin crash.
> In newest GeoServer versions (from 2.6) this should be fixed. If you want
> to
> fix the version you are using, you need to change the config.yaml file you
> will find in your geoserver data_dir printing subfolder. Look for the url
> of
> the failing image and replace it with another one (or remove the image
> block
> alltogether).
>
> Regards,
> Mauro
>
> 2015-01-20 12:49 GMT+01:00 Satya Bhargavi :
>
> > Hi,
> >
> >
> >
> > I need the functionality of ? print to pdf?  using Geoserver and GeoExt.
> >
> > I have added libraries but when I click ?createPDF?   it says:
> >
> >
> >
> > Error while generating PDF:
> >
> > org.mapfish.print.InvalidValueException: url has an invalid value:
> > http://geoserver.org/download/attachments/10158143/pbGS-Bttn228x68.png
> >
> > at org.mapfish.print.PDFUtils.createImage(PDFUtils.java:385)
> >
> > at
> > org.mapfish.print.PDFUtils.createImageChunk(PDFUtils.java:376)
> >
> > at
> > org.mapfish.print.config.layout.ImageBlock.render(ImageBlock.java:60)
> >
> > at org.mapfish.print.PDFUtils.createCell(PDFUtils.java:345)
> >
> > at org.mapfish.print.PDFUtils.buildTable(PDFUtils.java:330)
> >
> > at
> > org.mapfish.print.config.layout.ColumnsBlock.render(ColumnsBlock.java:
> > 66)
> >
> > at org.mapfish.print.PDFUtils.createCell(PDFUtils.java:345)
> >
> >
> >
> >
> >
> > can you please help me .
> >
> >
> >
> > Thanks
> >
> > Satya
> >
> >
> > --
> >  New Year. New Location. New Benefits. New Data Center in
> > Ashburn, VA.
> > GigeNET is offering a free month of service with a new server in Ashburn.
> > Choose from 2 high performing configs, both with 100TB of bandwidth.
> > Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> > http://p.sf.net/sfu/gigenet
> > ___
> > Geoserver-users mailing list
> > Geoserver-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> >
> >
> -- next part --
> An HTML attachment was scrubbed...
>
> --
>
> Message: 2
> Date: Tue, 20 Jan 2015 08:49:36 -

Re: [Geoserver-users] Print in geoserver

2015-01-20 Thread Mauro Bartolomeoli
Hi Satya,
unfortunately your default yaml template for printing is pointing to an
online image that doesn't exist anymore, and that makes the MapFish print
plugin crash.
In newest GeoServer versions (from 2.6) this should be fixed. If you want
to fix the version you are using, you need to change the config.yaml file
you will find in your geoserver data_dir printing subfolder. Look for the
url of the failing image and replace it with another one (or remove the
image block alltogether).

Regards,
Mauro

2015-01-20 12:49 GMT+01:00 Satya Bhargavi :

> Hi,
>
>
>
> I need the functionality of “ print to pdf”  using Geoserver and GeoExt.
>
> I have added libraries but when I click “createPDF”   it says:
>
>
>
> Error while generating PDF:
>
> org.mapfish.print.InvalidValueException: url has an invalid value:
> http://geoserver.org/download/attachments/10158143/pbGS-Bttn228x68.png
>
> at org.mapfish.print.PDFUtils.createImage(PDFUtils.java:385)
>
> at org.mapfish.print.PDFUtils.createImageChunk(PDFUtils.java:376)
>
> at
> org.mapfish.print.config.layout.ImageBlock.render(ImageBlock.java:60)
>
> at org.mapfish.print.PDFUtils.createCell(PDFUtils.java:345)
>
> at org.mapfish.print.PDFUtils.buildTable(PDFUtils.java:330)
>
> at
> org.mapfish.print.config.layout.ColumnsBlock.render(ColumnsBlock.java:66)
>
> at org.mapfish.print.PDFUtils.createCell(PDFUtils.java:345)
>
>
>
>
>
> can you please help me .
>
>
>
> Thanks
>
> Satya
>
>
> --
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Active Directory Authentication

2015-01-07 Thread Mauro Bartolomeoli
Hi Fran,
from my (little) experience with Shibboleth, you should be able to
configure it to pass-through some userdata as http headers (and then use
the HTTP headers filter in GeoServer to authenticate requests: did you work
this way in your previous Shibboleth configurations?).
The Shibboleth configuration of the user data to extract from ADFS and
forward through the service provider is probably the place to investigate
if you cannot get user info in GeoServer.
Have you tried to replace GeoServer with a simple Java servlet (or JSP) to
print all the http headers and see if the Shib-* prefixed ones are present
and correct?

Thanks
Mauro

2015-01-07 10:18 GMT+01:00 fhmsparkle :

> Hi Mauro,
>
> I am using a Shibboleth Service Provider, but use IIS as a web server and
> have set up Application Request Routing to ensure anything with
> "geoserver/web" in the URL is forwarded to port 8080 as part of the
> standard
> Geoserver Jetty set up.
>
> Thanks,
> Fran
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Active-Directory-Authentication-tp517p5180305.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How use impersonation with Geoserver

2015-01-07 Thread Mauro Bartolomeoli
Hi Kamardine,
I don't think you can directly use the waffle libraries with GeoServer,
without writing some wrapper codes to integrate it with the GeoServer
Security system (I see from the documentation that the libraries include
Spring filters, so it should not be that difficult). Talking about
impersonation in particular, I am curious to know what you need
impersonation for, so that I can understand if there is any way to achieve
what you need with GeoServer security.

Mauro

2015-01-05 11:29 GMT+01:00 Kamardine YOUSSOUFA :

>   Hi every body,
>
>
>
> I want to impersonate Tomcat in order to use the client request user
> authentication in Geoserver.
>
>
>
> To do it, I installed the Waffle librairies in Tomcat, then I was able to
> perform correctly the impersonation with test web application.
>
> In contrast, with Geoserver it doesn't work.
>
>
>
> Waffle documentation (
> https://github.com/dblock/waffle/blob/master/Docs/ServletSingleSignOnSecurityFilter.md)
>  indicates
> :
>
>
>
> "Note that there is no mapping between the Windows native threads, under
> which the impersonation takes place, and the Java threads. Thus you'll need
> to use Windows native APIs to perform impersonated actions. Any action done
> in Java will still be performed with the user account running the servlet
> container."
>
>
>
> I want to know, if someone has already use the impersonation with
> Geoserver by using Waffle or by an other methode.
>
>
> My environment is :
>
>-  Windows 2008 R2 x64
>- Oracle 11g R2 x64
>-  Geoserver 2.61
>-  Apache 7.0.47 x64
>- Java 1.7
>
>  Thanks for your help.
>
> Best regards,
> Kamardine
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Active Directory Authentication

2015-01-07 Thread Mauro Bartolomeoli
Hi Fran,

In the past, I have implemented a Shibboleth IDP and the HTTP header
> authentication within Geoserver to achieve this and did so successfully -
> but I cannot seem to get it working with ADFS as the IDP.  The requirement
> is still in place to have a Shibboleth Service Provider protecting the
> Geoserver instance.
>

I don't have direct experience with ADFS, but can you explain how are you
trying to integrate it with GeoServer? Using a Shibboleth Service Provider
with an Apache frontend?

Thanks
Mauro




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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] problem mapfish printing

2014-12-12 Thread Mauro Bartolomeoli
Hi Roberto,

2014-12-12 13:29 GMT+01:00 Roberto Marzocchi :
>
>  Hi Mauro,
>
> Many thanks for your help.
>
> Attached the specification json (i hope) extracted from firebug
>

The spec is correct.
The only url I can see for WMS is http://195.31.128.31/geoserver/vicenza/wms
and that is probably the one that cannot be reached.
Are you sure that the url is reachable by the GeoServer host itself and it
is not blocked by proxy / firewall rules?


>
> Concerning the mapfish image we have tried to remove, but I do not know
> exactly how give as url of an YAML file a local folder and not a complete
> url that I do not know
>
>
> To use a local image file, you can use this kind of syntax:

url: 'file://${configDir}/Arrow_North_CFCF.svg'

${configDir} will be replaced by the local path to your config.yaml file.

Mauro

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

Please, notice that GeoSolutions will be closed for seasonal holidays
from December the 24th to January the 6th
==

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] problem mapfish printing

2014-12-12 Thread Mauro Bartolomeoli
Hi Roberto,

2014-12-12 13:02 GMT+01:00 Roberto Marzocchi :
>
>  Dear Mauro,
>
> - the server of mapfish and geoserver is the same..
> - we use Geoext printing module and the request sent from the client is:
> http://IP_address/geoserver/pdf/create.json
>

With this request (an HTTP POST) a specification json is sent in the body
with the details of the requested print. Do you have any chance to extract
that json using browser tools that allow you to inspect network traffic
from the browser to the server (Developer Tools for Chrome or Firebug for
Firefox) ?


> - the IP address need to be generic (internet/intranet service) so we use
> the path of the
> WMS with a proxy (from apache tomcat to apache)
>

Ok, that's the url that I would like to see in the spec mentioned above.


>
> Attached the config.yaml file
>

Something strange I see in the yaml: a reference to an image with the
following url:
http://www.mapfish.org/svn/mapfish/trunk/MapFish/client/mfbase/mapfish/img/${icon}.png,
I don't think the url is reachable anymore.

Is the geoserver host IP/name included in the lists of specified hosts?

Mauro

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

Please, notice that GeoSolutions will be closed for seasonal holidays
from December the 24th to January the 6th
==

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] problem mapfish printing

2014-12-12 Thread Mauro Bartolomeoli
Hi Roberto,

2014-12-12 11:48 GMT+01:00 Roberto Marzocchi :
>
>  Dear all,
>
> I try to print WMS with geoserver (mapfish extension) using version 2.60
> but also 2.5.9.
> I do not see any result..(only the OSM base map) the error is the
> following:
> "*java.io.IOException: The host did not accept the connection within
> timeout of 3 ms*"
>
>
The error suggests a connection problem to some resource (probably the wms
service producing the map, which I suppose is the same geoserver hosting
MapFish). The problem can be an access problem (the url used by the client
is for some reason not reachable by the geoserver host itself, or it is too
slow to produce the map, more than 30 seconds).

To give you a smarter advice, the request sent from the client to mapfish
for printing would be useful, together with the config.yaml used to
configure MapFish.
Thanks

Mauro


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

Please, notice that GeoSolutions will be closed for seasonal holidays
from December the 24th to January the 6th
==

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer 2.6.1 JDBC Authentication

2014-12-10 Thread Mauro Bartolomeoli
Hi Danny,

2014-12-10 1:23 GMT+01:00 Danny Cheng :

>  Hi All,
>
>
>
> I noticed that after upgrading from 2.5.2 to 2.6.1 that my JDBC
> authentication doesn’t work anymore. This is how I made my JDBC
> authentication provider. I first make a new JDBC user group service and
> then I make a new authentication provider using that service.
>
What kind of authentication provider is using the JDBC usergroup service?



> This was fine for 2.5.2, but in 2.6.1 none of the users I created with the
> JDBC service worked. What’s weird is that if I used my database connection
> username and password, GeoServer accepted that.
>

Probably something is different in your authentication configuration from
2.5.2 to 2.6.1.
The behaviour you are describing is not an issue, is the way the JDBC
Authentication Provider is meant to work: the JDBC Authentication Provider
authenticates you using the database username and password, while the JDBC
UserGroup Services stores users/groups information on database tables, but
needs to be bound to an AuthenticationProvider such as the UserNamePassword
one.


Mauro



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

Please, notice that GeoSolutions will be closed for seasonal holidays
from December the 24th to January the 6th
==

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver print module

2014-11-19 Thread Mauro Bartolomeoli
Hi Monica,


2014-11-19 14:10 GMT+01:00 Zorraquin Saez Monica <
monica.zorraquin.s...@lm.se>:

>  Hi,
> we are using the printing module of Geoserver to print maps in our
> application. This is working fine.
> After the security penetrationtests in our application an issue connected
> to this module has shown up. We have to solve this and we wonder if you
> have already a fix that we can use.
>
>  When you go to this URL  http://host/geoserver/pdf/print.pdf?spec=1 an
> stacktrace message shows in the screen. Instead of this stacktrace an
> general error page should be shown. Do you know if it is possible to
> configure this module in Geoserver to achieve this?
>
> I don't think this is actually possible. Could you open a Jira issue, so
that we can try to solve it for the next release?

Mauro



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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Filter Chain Problem

2014-11-07 Thread Mauro Bartolomeoli
Hi Frances,
after hitting Close on the filter page, have you also clicked Save on the
main Authentication page?

If you don't do both changes are not saved, usually.

Mauro


2014-11-07 16:23 GMT+01:00 Moore, Frances (FCS - KAS) <
moo...@wales.gsi.gov.uk>:

>  Hi all,
>
> I am currently running version 2.6 of Geoserver, and have been trying to
> follow the tutorial on configuring HTTP Header Proxy Authentication (
> *http://www.docs.geoserver.org/stable/en/user/security/tutorials/httpheaderproxy/index.html*
> <http://www.docs.geoserver.org/stable/en/user/security/tutorials/httpheaderproxy/index.html>)
> but when I try to save the information for the default filter chain it does
> not save any changes I make.
>
> I have noticed that this is the same for any change I make to any of the
> filter chains.  Is there a problem in the software or can I manually
> configure this in a config file somewhere?
>
> Any help you can provide would be appreciated.
>
> Thanks,
> Fran
>
>
>
>
> On leaving the Government Secure Intranet this email was certified virus
> free. Communications via the GSi may be automatically logged, monitored
> and/or recorded for legal purposes.
> Wrth adael Mewnrwyd Ddiogel y Llywodraeth nid oedd unrhyw feirws yn
> gysylltiedig â’r neges hon. Mae’n ddigon posibl y bydd unrhyw ohebiaeth
> drwy’r GSi yn cael ei logio, ei monitro a/neu ei chofnodi yn awtomatig am
> resymau cyfreithiol.
>
>
> --
>
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



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


Re: [Geoserver-users] GeoServer REST API Authentication

2014-11-06 Thread Mauro Bartolomeoli
Hi Benito,

2014-11-06 15:44 GMT+01:00 Cosme Benito :

> Hi Mauro,
>
> Yes you are correct, I made that exact mistake and realized soon after
> that the Authentication did not work as I thought it would J
>
>
>
> I just tried the UserGroupService with a PostGIS database and it seems to
> work great. I didn’t  actually try using the REST API but the users I
> create in the database seem to be immediately available on GeoServer.
> However when trying with a SQLite database it simply crashes L
>
>
>
> java.lang.RuntimeException: java.io.IOException:
> org.apache.commons.dbcp.SQLNestedException: Cannot create
> PoolableConnectionFactory (SQLite supports only TRANSACTION_SERIALIZABLE
> and TRANSACTION_READ_UNCOMMITTED.)
>

As you say, I think SQLLite is not currently supported (or tested by
someone).


>
>
> I don’t mind this being the only Authentication Provider in GeoServer,
> this is acceptable and perfectly fine. I already have User/Role tables and
> being able to configure them on XML files would be a pretty good solution
> for me, can you point me into the correct file(s)? I can’t seem to be able
> to find them.
>

The standard xml files are automatically created in the GeoServer data_dir,
in the security/usergroup/ subfolder when you create
a JDBC UserGroup service with standard options (from my experience they
seem to be created after the first attempt of usage, so not exactly when
you create the service). I include the standard ones as attachments. To
customize it for your needs you have to change the users_dml.xml file (the
other one is for tables creation, but in your case the tables are already
there). You have to restart Geoserver after updating the file.
You may have problems with passwords, because you need to store them in one
of the encryption formats supported by GeoServer (or in plain text) to work
correctly.


>
>
> Thanks a lot, you have already helped a ton!
>
> Cosme Benito
>

You are welcome.

Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



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

http://java.sun.com/dtd/properties.dtd";>

  DDL statements for user database
  user_props
  
	create table users(name varchar(128) not null,password varchar(254), enabled char(1) not null, primary key(name))
  
  
	create table user_props(username varchar(128) not null,propname varchar(64) not null, propvalue varchar(2048),primary key (username,propname))
  

  
	create table groups(name varchar(128) not null, enabled char(1) not null, primary key(name))
  
  
	create table group_members(groupname varchar(128) not null, username varchar(128) not null, primary key(groupname,username))
  
  
	create index group_members_idx on group_members(username,groupname)
  

  drop table users
  drop table user_props
  drop table groups
  drop table group_members


  
	create index user_prop

Re: [Geoserver-users] GeoServer REST API Authentication

2014-11-06 Thread Mauro Bartolomeoli
Hi Benito,

2014-11-06 12:55 GMT+01:00 Cosme Benito :

>
> I don’t want to have use a master password, I’d rather if each user had
> their own authentication. The problem is that I don’t want to use
> GeoServer’s users, I want to use my application’s users. I would like to
> use the credentials stored in my database table, and even restrict PUT/POST
> operations to users who do not have the Admin role . I tried creating a
> JDBC Authentication Provider, but it doesn’t seem to do what I intend for
> it to do.
>

A little bit of confusion here (but it's not your fault). the JDBC
Authentication Provider can be used to authenticate users against the
database users, not against a set of users stored on database tables.
To use database tables for storing users and groups information you have to
use a JDBC UserGroup Service.
You can configure it to use your own tables changing a couple of xml files
with the SQL queries needed by GeoServer.
Then you can configure an Authentication Provider (the Username Password,
the same used by the default auth provide is good) to use your new service
as a storage.

The problem is: I don't think you can actually choose which authentication
providers are used by which chain, you can only do that for filters (so for
example you can say that REST can only authenticate using Basic, but not
which authentication provider to use, they will be all be used in
sequence). Christian can correct me if I am wrong.

Mauro


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



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


Re: [Geoserver-users] GeoServer w/ CAS & GeoFence

2014-10-30 Thread Mauro Bartolomeoli
Hi Danny,

2014-10-28 17:43 GMT+01:00 Danny Cheng :

>  Hi Mauro,
>
>
>
> I am currently using the basic XML user/group for prototyping purposes,
> but in the future I’ll be switching to either JDBC or LDAP. I’ll try the
> second option to only specify the user groups in Geofence, it sounds like
> it will suit my needs.
>
>
>
> Does Geofence currently only accept basic HTTP authentication?
>

If you don't enable the Geofence Authentication provider, the
authentication phase is entirely delegated to the standard Geoserver chains
- filters - providers mechanism, so you can use basic or any other of the
available filters/providers for that (form, header, etc.). The only aspect
Geofence is involved in "authentication" is matching the Geoserver
user/group with its internal list (that currently can be stored in its
internal database or fetched from an LDAP repository). So the real issue is
that if you don't use the Geofence Authentication Provider or LDAP, you
have to synchronize Geoserver users/groups with Geofence ones "manually".

Mauro




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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



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


Re: [Geoserver-users] GeoServer w/ CAS & GeoFence

2014-10-28 Thread Mauro Bartolomeoli
Hi Danny,
currently the authentication is not completely independent and pluggable as
the GeoServer one, but you have a couple of options to customize it to
specific needs:
 - if you store authentication credentials in an LDAP repository, you can
enable Geofence to use the same repository for user/groups configuration
instead of the internal database (currently LDAP is supported in read-only
mode, so you cannot manage your users/groups directly from the Geofence UI
if you use LDAP). Some documentation on enabling LDAP support can be found
here: https://github.com/geosolutions-it/geofence/wiki/LDAP-module
 - you have the option to only use groups in GeoFence and match them with
the GeoServer roles, so that you don't need to specifically configure each
user twice in GeoServer and GeoFence, but you only need to do that for
groups; you can find some info on this functionality here:
https://github.com/geosolutions-it/geofence/pull/78

In the future we would like to make GeoFence more pluggable for
authentication purposes and possibly, let it use GeoServer authentication
as an option, instead of implementing its own.

Do you need to support a particular authentication mechanism, or are you
using the basic XML user/group service in GeoServer?

Thanks
Mauro Bartolomeoli


2014-10-28 1:42 GMT+01:00 Danny Cheng :

>  From the Advanced Security With GeoServer presentation at FOSS4G last
> month, it mentioned that Geofence’s authentication is optional. How is that
> achieved? I can’t find any documentations regarding that. It would be great
> if I can just use Geofence for authorization instead of both authentication
> and authorization.
>
>
>
> Thanks!
>
> Danny
>
>
>
> *From:* Danny Cheng
> *Sent:* Thursday, October 23, 2014 5:08 PM
> *To:* geoserver-users@lists.sourceforge.net
> *Subject:* GeoServer w/ CAS & GeoFence
>
>
>
> Hi Everyone:
>
>
>
> I am attempting to integrate GeoServer with CAS and GeoFence. I noticed
> that while on the surface I am logged in as the user I provided to CAS, but
> on GeoFence’s side, it thinks I am logged in as “admin” user. In addition,
> how does GeoServer determine if an authenticated CAS user is of ADMIN_ROLE
> or USER_ROLE? My CAS is setup with LDAP and configured to use authenticated
> search method. When I log into GeoServer with any user I defined in CAS,
> I’m always given the ADMIN_ROLE privilege.
>
>
>
> To reproduce this, just install CAS and GeoFence plug-ins to GeoServer.
> Add an user to CAS and when you log into GeoServer’s WEB UI using CAS, you
> will notice that in GeoFence’s log it will always say “User not found
> admin”.
>
>
>
> Thanks,
> Danny
>
>
>
>
> --
>
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver's zipped shapefile corrupted

2014-10-15 Thread Mauro Bartolomeoli
Hi,
probably the file is an error from geoserver in xml format. Have you tried
opening the file with a text editor and see if it contains the description
of the error?

Regards,
Mauro

2014-10-15 8:35 GMT+02:00 Hakala Oiva (MTT) :

>  For some reason I cannot download data from our Geoserver as a zipped
> shapefile. The file I get, is always only 397 bytes, and it cannot be
> opened. Any idea what has been gone wrong. Downloading worked well at least
> 5-6 months ago, and Geoserver version is still the same, old 2.3.1. We
> don't update it, until we get a new server. Booting Geoserver does not
> help. Java version is Oracle 1.7.0_01 64-bit.
>
> Any ideas? Which file is responsible for producing a zipped shape?
>
> Oiva
>
>
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Update repository

2014-10-08 Thread Mauro Bartolomeoli
Hi Javier,
personally I would create a new local 2.6.x branch from the official 2.6.x
and eventually forward port customizations you did on your 2.5.x, if you
have any.

Merging  2.6.x on your custom (and customized?) 2.5.x could be more
complicated and lead to strange results.

Mauro


2014-10-07 19:19 GMT+02:00 Javier Avalos :

> Can I make a pull version of 2.6.x from a custom repository with version
> 2.5.x of geoserver?
> Does would update my custom repository version 2.5.x to version 2.6.x?
>
> Thanks.
>
> --
> Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
> Francisco Javier Avalos Zapata
> Ciudad Victoria, Tamaulipas
> java...@asesoriaensig.com.mx
>
>
> --
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Pink Tiles- Raster

2014-09-28 Thread Mauro Bartolomeoli
Hi,
your problem could be a bug of the 2.4.0 release you are using. Have you
tried upgrading to a newer version?

Regards,
Mauro Bartolomeoli

2014-09-23 7:29 GMT+02:00 jkumar :

> Dear All,
>
> May I know the issue behind the pink tiles loading and what are the steps
> need to take.
>
> Regards,
> K.Jayakumar
>
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Pink-Tiles-Raster-tp5162869p5163396.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer Active Clustering Extension issues

2014-09-24 Thread Mauro Bartolomeoli
Hi,
first of all, can you specify which Geoserver version and which active
cluster extension are you using?

Then, which kind of issues are you experiencing in particular?

Thanks
Mauro


2014-09-23 19:50 GMT+02:00 nly :

> I'm still having these issues with the extension. Can anyone help me?
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-Active-Clustering-Extension-issues-tp5162742p5163566.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Pink Tiles- Raster

2014-09-24 Thread Mauro Bartolomeoli
Hi,
can you please share the full stacktrace of the error you get? You should
be able to find it in the geoserver.log file, in the logs subfolder of the
data dir.

Mauro

2014-09-19 12:39 GMT+02:00 jkumar :

> Dear All,
>
> I have used Imagemosaic to load the raster into geoserver (approx 140
> TIFF's
> - 6.5 GB) . While displaying into our portal some tiles display pink in
> color (ref the attached screenshot) .I have use pageinfo option in firefox
> to know the exact reason of the issue I have got the following WMS error.
>
> * ServiceExceptionReport SYSTEM
> "
> http://54.187.234.74:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd"
> ;>
>
>   Error rendering coverage on the fast path
> org.geotools.data.DataSourceException: Unable to create this mosaic
> Unable to create this mosaic
> null
> *
>
>
> Kindly let me what may be issue ASAP.
>
> Thanks in advance,
> K.Jayakumar
>
> 
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Pink-Tiles-Raster-tp5162869.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS GetFeatureInfo with Polygon

2014-09-24 Thread Mauro Bartolomeoli
Hi,
Which version of GeoServer are you using?
In recent versions the WMS GetFeatureInfo behaviour changed to only respond
on clicks done on pixels that are rendered on the map, so what you describe
can probably happen if you are using a linear style (no fill) to draw your
polygons.

Cheers,
Mauro

2014-09-23 12:07 GMT+02:00 astrony :

> Dear All,
>
> May i have some question about WMS GetFeatureInfo on the polygon geometry.
> I
> have no idea that when i tried to click on my polygon (exactly polygon in
> database) for get information through Layer Preview in Geoserver, i cant
> get
> it when click inside but it is work when i click on its bound. I am so
> confusing. Did i do something incorrect in my data or Geoserver?
>
> Thanks in advance to enlighten in this issue
>
> Br,
> astrony
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/WMS-GetFeatureInfo-with-Polygon-tp5163455.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Wms getmap-when layers num more than 2, fault occurs.

2014-09-24 Thread Mauro Bartolomeoli
Hi,
are you also specifying other parameters such as styles or cql_filter in
the wms getmap request? These usually requires that the number of values
match the ones used in layers.
You are probably adding a new layer, without supplying the needed values
for one of those. Could you share the complete url with 3 layers you are
using?

Thanks
Mauro

2014-09-24 8:38 GMT+02:00 邓冲 :

> Hello, I met a problem when i use wms to get map. As there are multiple
> layers in server, when i create URL, i give layers three or more values,
> then server return "indexoutofboundsexception: Index:2, size:2
> index:2,size:2". Then i just give layers two values, like
> this"layers=SM:road,SM:poi", the result is good as a png picture.
> So, i wanna ask two questions here:  How can i use wms to get multi-layer
> map? Is the fault above result from wms limitation?
> Any help is appreciated, thanks a lot!
>
> 发自我的 Windows Phone
>
>
> --
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Python - automatic import of PostGIS tables into GeoServer

2014-09-24 Thread Mauro Bartolomeoli
Hi,
I am not a Python developer, but I think you can:
 - use one of the many http client libraries available for Python to
directly call GeoServer API rest url endpoints
 - have a look at gsconfig.py (https://github.com/boundlessgeo/gsconfig/wiki)
to see if it works in your use case

Regards,
Mauro

2014-09-02 18:08 GMT+02:00 Dimo :

> for example:
>
> how can I embed such a command in Python (with subprocess.call?):
>
> curl -v -u admin:geoserver -X POST -H "Content-type: text/xml" -d
> "lakes"
>
> http://localhost:8080/geoserver/rest/workspaces/opengeo/datastores/pgstore/featuretypes
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Python-automatic-import-of-PostGIS-tables-into-GeoServer-tp5159690p5159700.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geoserver .fix problem

2014-09-24 Thread Mauro Bartolomeoli
Hi,
it could be a bug in the Shapefile DataStore.
Could you try the latest nightly (
http://ares.boundlessgeo.com/geoserver/master/geoserver-master-latest-bin.zip)
to check if the issue is still unresolved?
If it is, could you please open a jira (instructions here:
http://geoserver.org/comm/)?

Regards,
Mauro Bartolomeoli

2014-09-23 5:03 GMT+02:00 fanxing926 :

> Dear friends:
> I find a problem in geoserver2.4.x and geoserver2.5.x. When I post the
> request of transaction-delete operation, the .fix file is not updated. So
> the problem has affected my transaction operation using the geoserver. Who
> has met the same problem, and how to resolve it?
>
>
>
>
> --
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Problems with legend image in geoserver 2.6

2014-09-16 Thread Mauro Bartolomeoli
Hi,
sorry for the delay in answering.
Yes, that's the place for 2.6.x nightlies.

Regards,
Mauro


2014-09-09 20:51 GMT+02:00 Макс Кливер :

> Hi Mauro,
>
> Nightly build it's means this http://geoserver.org/release/2.6.x/ ?
>
> Max
>
> On Mon, Sep 8, 2014 at 2:50 AM, Mauro Bartolomeoli <
> maurobartolome...@gmail.com> wrote:
>
>> Hi,
>> yes it's a bug, should be fixed in latest nightly.
>>
>> Mauro
>>
>>
>> 2014-09-07 18:14 GMT+02:00 Макс Кливер :
>>
>>> Hi
>>>
>>> I just download geoserver 2.6 RC-1. And have a some problems with
>>> legend. When style have a several Rule blocks i get a legend image in wrong
>>> scale. Example in attach.
>>> Here legend request:
>>>
>>>
>>>> http://localhost:8080/geoserver/wms?request=GetLegendGraphic&width=77&height=40&layer=tasmania_roads&style=simple_roads&FORMAT=image%2Fpng&SCALE=2183910.7257279875
>>>>
>>>
>>> What can be wrong?
>>>
>>>
>>> --
>>> Slashdot TV.
>>> Video for Nerds.  Stuff that matters.
>>> http://tv.slashdot.org/
>>> ___
>>> Geoserver-users mailing list
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>
>
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Rendering a GeometryCollection with SLD

2014-09-16 Thread Mauro Bartolomeoli
Hi Fernando,
you can follow several approaches, some of them requires optimizing your
database, but you can also use the geometryType function in SLD to filter
your geometries by type creating 3 distinct rules.
You can find some documentation here:
http://docs.geoserver.org/stable/en/user/styling/sld-tipstricks/mixed-geometries.html

Mauro


2014-09-16 19:50 GMT+02:00 Fernando Silveira de Quadro <
fernando.silve...@neoway.com.br>:

> Hi All,
>
> I am trying to use sld to style a GeometryCollection. The collection
> contains a point, a line and a polygon. Its possible?
>
> Anybody have a example of SLD with GeometryCollection?
>
> Best Regards,
>
> Fernando Silveira de Quadro
> Neoway Business Solutions
> http://www.neoway.com.br
> +55 48 -2030
> R. Patrício Farias, 131 - 3o andar | 88034-132 |Itacorubi |  Florianópolis
> | Santa Catarina| Brasil
>
>
>
> --
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce.
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WFS-T and Oracle Views

2014-09-16 Thread Mauro Bartolomeoli
Hi Robert,
in general, they should be usable. You could have some issues with metadata
recognition by Geoserver on those views, mainly the type of Geometry and
primary key will not be set correctly. If you need them to work with WFS-T
you will probably need to create and populate correcly the geotools
metadata tables for primary keys as explained here:
http://docs.geoserver.org/latest/en/user/data/database/primarykey.html

You could also need to create and fill the geotools specific geometry
metadata table, explained here:
http://docs.geoserver.org/latest/en/user/data/database/oracle.html#using-the-geometry-metadata-table


Regards,
Mauro Bartolomeoli

2014-09-15 22:24 GMT+02:00 Price, Robert C. :

>  Earlier, GeoServer did not support wfs-t on top of Oracle views. Does
> anyone know if this is still the case or if this has been added as a
> feature. I have tried to do use WFS-T with a  view and have not been
> successful thus far.
>
>
>
> Thanks
>
> Robert
>
>
> This message and any enclosures are intended only for the addressee.
> Please
> notify the sender by email if you are not the intended recipient. If you
> are
> not the intended recipient, you may not use, copy, disclose, or distribute
> this
> message or its contents or enclosures to any other person and any such
> actions
> may be unlawful. Ball reserves the right to monitor and review all
> messages
> and enclosures sent to or from this email address.
>
>
> --
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

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



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Problems with legend image in geoserver 2.6

2014-09-07 Thread Mauro Bartolomeoli
Hi,
yes it's a bug, should be fixed in latest nightly.

Mauro


2014-09-07 18:14 GMT+02:00 Макс Кливер :

> Hi
>
> I just download geoserver 2.6 RC-1. And have a some problems with legend.
> When style have a several Rule blocks i get a legend image in wrong scale.
> Example in attach.
> Here legend request:
>
>
>> http://localhost:8080/geoserver/wms?request=GetLegendGraphic&width=77&height=40&layer=tasmania_roads&style=simple_roads&FORMAT=image%2Fpng&SCALE=2183910.7257279875
>>
>
> What can be wrong?
>
>
> --
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] A question about Geoserver Print Module

2014-09-04 Thread Mauro Bartolomeoli
Hi haktan, can you share the config.yaml you are using?

Thanks
Mauro



2014-09-04 18:51 GMT+02:00 Jody Garnett :

> Please email the user list haktan, if you are interested in direct email
> or phone support GeoServer has a page for commercial support.
>
> * http://geoserver.org/support/
>
> The GeoServer project simply repackages the map fish printing module, any
> questions about use are best directed there.
>
> Jody Garnett
>
>
> On Thu, Sep 4, 2014 at 9:19 AM, haktan aydın 
> wrote:
>
>> Hello Jody, How are doing ? It's me again  :)
>>
>> I have some problem about geoserver print plugin. I wrote to
>> StackOverflow, the link is here
>>
>> http://stackoverflow.com/questions/25669980/mapfish-or-geoserver-printing-module-error
>>
>>
>> What do you think about this problem ? How can I fix it?
>>
>>
>>
>
>
> --
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How to print legend in two columns?

2014-08-28 Thread Mauro Bartolomeoli
Hi,
multi columns legends should be supported by mapfish-print 2.0 and 2.1.
Unfortunately Geoserver 2.5 is still based on mapfish-print 1.2, but the
upcoming 2.6 has been upgraded to 2.1, so you should be able to get what
you are asking for.

Note that the yaml you are referring to is compatible with our internal
experimental version, but some functionality has not been ported to the
official release yet, so probably you will need to change a bit your
configuration to make it work.
You can find the official configuration documentation for 2.6 print plugin
here:
http://docs.geoserver.org/latest/en/user/extensions/printing/configuration.html




2014-08-25 20:03 GMT+02:00 Макс Кливер :

> Hi
>
> I have a legend block in my config:
>
> - !columns
>>#This line determines if the legend is shown in the
>> template.
>>condition: legends
>>absoluteX: 56
>>absoluteY: 764
>>width: 280
>>config:
>> borderWidth: 1
>> borderColor: black
>> cells:
>>   - padding: 5
>> backgroundColor: white
>>items:
>> - !legends
>> failOnBrokenUrl: false
>> horizontalAlignment: left
>> iconMaxWidth: 0
>> iconMaxHeight: 500
>> maxHeight: 535
>> maxColumns: 2
>> maxWidth: 780
>> layerSpace: 5
>> layerFontSize: 12
>> classIndentation: 5
>> classFontSize: 8
>> classSpace: 4
>> backgroundColor: #ff
>> reorderColumns: true
>> dontBreakItems: true
>> overflow: true
>> maxIconHeight: 0
>>
>
> And i exepect that it print legend in two columns but it do not do it.  I
> take this gonfig here  http://cageyjames.webfactional.com/?cat=1276 and
> on example i see that this legend configuration generate legend in two
> columns.
> What can be wrong?
>
>
> --
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How to set height to legend block?

2014-08-28 Thread Mauro Bartolomeoli
Hi,

first of all note that the print module for 2.5.2 is still based on the old
mapfish-print 1.2 library.
In the upcoming 2.6 we have upgraded to 2.1, which has many new options,
but from what I remember it still doesn't support what you are asking for.

We have an experimental release of mapfish-print we use internally for our
customers projects that supports this (look here:
https://github.com/geosolutions-it/mapfish-print/wiki/Legend-fitting).
Unfortunately this functionality has not been ported to the official
release yet due to lack of funding.

If you want to give it a try, here you can find some documentation on
installing the experimental version:
https://github.com/geosolutions-it/mapfish-print/wiki

Mauro

2014-08-24 13:24 GMT+02:00 Макс Кливер :

> Hi.
>
>
> I have a Geoserver 2.5.2 with print module.
> I have a problem with legend block becouse in my application a lot of
> layers. It's mean that height of legend block is too much to show it in A4
> or A3 page formats.
> So how can i set fixed height to legend block?
> Here is my legend config:
>
> - !legends
> backgroundColor: #FF
> borders: true
> horizontalAlignment: left
> inline: true
> maxHeight: 50
> maxWidth: 550
> defaultScale: 0.5
> iconMaxWidth: 80
> iconMaxHeight: 80
> iconPadding: 3 0 0 0
> columnMargin: 10
> classIndentation: 3
> classSpace: 5
> backgroundColor: white
> layerFontSize: 9
> font: FreeSans
> fontEncoding: UTF-8
> maxIconHeight: 0
>
>
>
>
> --
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Printing module sample page

2014-08-06 Thread Mauro Bartolomeoli
Hi Jonathan,
we are aware of the issue, there is already a JIRA for this:
https://jira.codehaus.org/browse/GEOS-6566

We are thinking of the best way to replace that page, probably by a link to
the local print demo page, or something similar.

Thanks
Mauro


2014-08-06 12:48 GMT+02:00 Jonathan Moules <
jonathanmou...@warwickshire.gov.uk>:

> Hi List,
> This page:
> http://docs.geoserver.org/latest/en/user/extensions/printing/index.html
>
> Has a links to a "sample page" where the module can be printed, the URL is:
> http://docs.geoserver.org/latest/en/user/_downloads/print-example.html
>
> However this page doesn't seem to actually do anything - there's no map or
> anything. It seems that the GeoExt stuff has moved from the URL it's
> expecting it to be at.
>
> There are instances of most of the javascript libraries on cloudflare,
> i.e.:
> http://cdnjs.cloudflare.com/ajax/libs/geoext/1.1/script/GeoExt.js
>
> Cheers,
> Jonathan
>
> This transmission is intended for the named addressee(s) only and may
> contain confidential, sensitive or personal information and should be
> handled accordingly. Unless you are the named addressee (or authorised to
> receive it for the addressee) you may not copy or use it, or disclose it to
> anyone else. If you have received this transmission in error please notify
> the sender immediately. All email traffic sent to or from us, including
> without limitation all GCSX traffic, may be subject to recording and/or
> monitoring in accordance with relevant legislation.
>
> --
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How to print legend image?

2014-07-22 Thread Mauro Bartolomeoli
Hi Макс,

depending on the mapfish print-lib version you are using you need to use a
different property in you !legends block:

maxIconHeight: 0 for print-lib 1.2
iconMaxHeight:0 for print-lib 2.x

I see you are using the second version, but you are probably still using
print-lib version 1.2 (this is the default on Geoserver 2.5.x and previous
versions, the 2.1 version will instead be used on 2.6.x).

Mauro

Mauro


2014-07-22 17:48 GMT+02:00 Макс Кливер :

> Hi.
>
> I trying to print legend image using print module. In my config.yaml i
> have:
>
>
> - !legends
>>   backgroundColor: #FF
>>   horizontalAlignment: left
>>   inline: false
>>   defaultScale: 0.5
>>   iconMaxWidth: 0
>>   iconMaxHeight: 0
>>   iconPadding: 3 0 0 0
>>   textMaxWidth: 300
>>   textMaxHeight: 0
>>   textPadding: 0 10 0 10
>>   columnMaxWidth: 0
>>   classIndentation: 20
>>   layerSpaceBefore: 10
>>   layerSpace: 25
>>   classSpace: 10
>>   layerFont: Arial
>>   layerFontSize: 14
>>   classFont: Arial
>>   classFontSize: 12
>>   fontEncoding: Cp1252
>>
>
> But when i tried print a style with multiple rules image was too smal to
> read it. Like as in atached example.  What can i do with this problem?
>
>
> --
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Ghosts in the machine, errors in the log.

2014-07-11 Thread Mauro Bartolomeoli
Hi Fletcher,

502 Bad Gateway could be more a problem of some proxy / firewall between
 and Geoserver, than a Geoserver issue.

How is access to Geoserver configured, do you have some frontend proxy
(Apache or something else) at serveraddress?

Mauro


2014-07-11 14:57 GMT+02:00 fbumpus :

> Hi Mauro,
>
> I do indeed have the logs set to Max Verbosity.  It's good news to hear
> that's likely not the issue!
>
> I'm able to access the Geoserver Admin page.  The workspaces are set up,
> along with the myriad other things (layers, users, roles, etc) in
> accordance
> to how it is set up in our production environment.
>
> When our software is attempting to get map features from Geoserver, we are
> getting an error 502 (Bad Gateway) returned.  It is attempting to access
> the
> following URL:
>
> http:///geoserver/MapData/
>
> where  is our Geoserver's IP address.  I attempt to access
> that same link via my web browser, and of course I get a 404.  The problem
> is, I'm such a neophyte at this I'm not certain what it's trying to reach
> to
> correct this problem.  I assumed it getting "Bad Gateway" error because of
> GeoServer's errors I posted earlier.  Since that's NOT the case, I'm at a
> loss.
>
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Ghosts-in-the-machine-errors-in-the-log-tp5150650p5150657.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Ghosts in the machine, errors in the log.

2014-07-11 Thread Mauro Bartolomeoli
Hi Fletcher,
those does not seem to be errors, just debug messages.
You probably have set the log level of Geoserver to verbose. At this level
you will get many debugging messages, useful when you have some problem in
Geoserver, to understand what is going on, but with too much detail in any
other case.
You should only worry of SEVERE or WARN messages.
Is Geoserver working, apart from showing those messages in the log?

Regards,
Mauro


2014-07-11 14:26 GMT+02:00 fbumpus :

> Greetings everyone,
>
> I've been given the great task of setting up a GeoServer development
> environment that mirrors our production environment.  I think I'm pretty
> close to finishing, but I'm as yet not able to extract data from Geoserver.
>
> We're using version 2.4.6.  Both Geoserver and PostgreSQL 9.2.8 are on the
> same server.  When I attempt to contact Geoserver through our application
> (as a developer I have the source code) Geoserver is giving us the
> following
> error in the log file:
>
>
> 2014-07-10 17:38:10,605 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No
> handler mapping found for [/web/]
> 2014-07-10 17:38:10,605 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No
> handler mapping found for [/web/]
> 2014-07-10 17:38:10,605 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No
> handler mapping found for [/web/]
> 2014-07-10 17:38:10,605 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No
> handler mapping found for [/web/]
> 2014-07-10 17:38:10,605 DEBUG [org.geoserver] - Thread 21 locking in mode
> WRITE
> 2014-07-10 17:38:10,605 DEBUG [org.geoserver] - Thread 21 got the lock in
> mode WRITE
> 2014-07-10 17:38:10,621 DEBUG [org.geoserver.web] - cannot convert url:
>
> jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.4.6/webapps/geoserver/WEB-INF/lib/web-core-2.4.6.jar!/org/geoserver/web/admin/LogPage.html
> to file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2014-07-10 17:38:10,621 DEBUG [org.geoserver.web] - cannot convert url:
>
> jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.4.6/webapps/geoserver/WEB-INF/lib/web-core-2.4.6.jar!/org/geoserver/web/css/blueprint/screen.css
> to file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2014-07-10 17:38:10,621 DEBUG [org.geoserver.web] - cannot convert url:
>
> jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.4.6/webapps/geoserver/WEB-INF/lib/web-core-2.4.6.jar!/org/geoserver/web/css/blueprint/print.css
> to file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2014-07-10 17:38:10,636 DEBUG [org.geoserver.web] - cannot convert url:
>
> jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.4.6/webapps/geoserver/WEB-INF/lib/web-core-2.4.6.jar!/org/geoserver/web/css/geoserver.css
> to file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2014-07-10 17:38:10,636 DEBUG [org.geoserver.web] - cannot convert url:
>
> jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.4.6/webapps/geoserver/WEB-INF/lib/web-core-2.4.6.jar!/org/geoserver/web/css/blueprint/ie.css
> to file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2014-07-10 17:38:10,636 DEBUG [org.geoserver.web] - cannot convert url:
>
> jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.4.6/webapps/geoserver/WEB-INF/lib/web-core-2.4.6.jar!/org/geoserver/web/js/jquery-1.2.6.min.js
> to file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2014-07-10 17:38:10,636 DEBUG [org.geoserver.web] - cannot convert url:
>
> jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.4.6/webapps/geoserver/WEB-INF/lib/web-core-2.4.6.jar!/org/geoserver/web/js/jquery.inline-info.js
> to file (URI is not hierarchical), falling back to the inputstream for
> polling
>
> I've Googled my heart out, but haven't found anything that would explain
> this.  I'm hoping one of you fine members of this forum/mailing list could
> provide information on what Geoserver is trying to tell me, and what I may
> have missed when setting this puppy up.
>
> If more information is needed, I'll gladly provide it!
>
> Thanks in advance,
> Fletcher
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Ghosts-in-the-machine-errors-in-the-log-tp5150650.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Open source business p

Re: [Geoserver-users] Printing in Geoserver

2014-07-09 Thread Mauro Bartolomeoli
Hi Jonathan,


2014-07-08 18:40 GMT+02:00 Jonathan Moules <
jonathanmou...@warwickshire.gov.uk>:

> Hi Mauro,
>   Is there a simple way to do printing with the print module? As in, just
> use a simple URL (as can be done with decorations) which will then provide
> a nice print - similar to what Steve expresses an interest in with his
> question 3.
>

As Andrea already answered, currently there is no way.
I can think of some ways to add this functionality:
 - a REST API for the printing plugin
 - a specific outputformat leveraging the printing plugin, able to create a
printing spec from standard wms requests (with some format_options to
specify layout and so on)
 - an extension to the existing application/pdf outputFormat to use the
printing plugin if it is installed

Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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

---
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


  1   2   3   >