Re: [Geoserver-users] GetLegend Layer group

2019-01-25 Thread Olyster
Jonathan,

Since Geoserver is able to generate a Legend using GetLegendGraphic call,
I'm wondering why it's not defined in GetCapabilities.

As stated, if I add it manually in GetCapabilities, the client program shows
a legend for a layer group. 

We will be using a script to add the  section.

Thanks



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Please remember, you're here to help each other, not just to get help

2019-01-25 Thread Jonathan Moules

To add another reason for why helping is good to Andrea's excellent post:

It's also a good way to learn new and interesting things about 
GeoServer, and/or the standards/formats etc that it uses (depending 
where your interest lies).


Cheers,

Jonathan


On 2019-01-24 13:35, Andrea Aime wrote:

HI to all users,
a gentle reminder that all open source comminuties are based on 
collaborations and are as strong as the active

members of the community itself.

When you subscribed we asked you to have a look at two documents:
- 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


In case you haven't, or have not checked them recently, I'd recommend 
you to do so.
And then please earn your keep here by trying to answer other users 
questions too it does not have
to be a definitive answer, many times one first has to ask extra 
questions to get basic info about the
server... generally speaking, if a question does not contain server 
version, request, response, styles
and the like, it's pretty hard to answer. Or you could just share your 
experience on what happened
when you faced something similar, or do a google search on archives or 
docs to see if the answer
is there. Anything counts, just don't mislead your fellow users by 
claiming you have a final answer

when you're not sure.

Thank you for your understanding!

Cheers
Andrea

PS: no need to answer this mail, save your keystrokes to answer a 
fellow user instead.


== GeoServer Professional Services from the experts! Visit 
http://goo.gl/it488V for more information. == Ing. Andrea Aime 
@geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 
55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: 
+39 339 8844549 http://www.geo-solutions.it 
http://twitter.com/geosolutions_it 
--- /Con 
riferimento alla normativa sul trattamento dei dati personali (Reg. UE 
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si 
precisa che ogni circostanza inerente alla presente email (il suo 
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è 
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il 
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra 
operazione è illecita. Le sarei comunque grato se potesse darmene 
notizia. This email is intended only for the person or entity to which 
it is addressed and may contain information that is privileged, 
confidential or otherwise protected from disclosure. We remind that - 
as provided by European Regulation 2016/679 “GDPR” - copying, 
dissemination or use of this e-mail or the information herein by 
anyone other than the intended recipient is prohibited. If you have 
received this email by mistake, please notify us immediately by 
telephone or e-mail./






___
Geoserver-users mailing list

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

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


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


___
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] GetLegend Layer group

2019-01-25 Thread Jonathan Moules

Hi,

There's a thread from 2010 that may relate to this: 
https://sourceforge.net/p/geoserver/mailman/message/24434518/ - unless 
something has changed since then, the answer appears to be - either do 
it manually, or have the code changed.


Curiously, if I'm reading the SLD/WMS specs correctly, "LegendURL" 
(defined in WMS) isn't necessarily related to GetLegendGraphic (defined 
in SLD). It *can* be, but the SLD spec says that GetLegendGraphic can be 
used to extend the LegendURL. The original LegendURL was I guess 
therefore designed for fixed images? Maybe you can create pre-rendered 
graphics (scripted?) and point GeoServer at them?


Or maybe a script to automatically add them for any layers that are 
missing them?


Just a thought, hopefully helps,
Jonathan


On 2019-01-24 21:38, Olyster wrote:

Hi,

I'm using 2.14.0.

The WMS GetCapabilities doesn't contain a section "LegendURL" for layers
group. This results in no Legend in client programs.

If you call the GetLegendGraphic explicitly for a Layer group, the legend is
returned.

For now we modify the GetCapabilities by hand to add a LegendURL section.
The client now shows a Legend for layer groups.

Is it that only way to enable Legend for layer groups ?

Thanks



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


___
Geoserver-users mailing list

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

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


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





___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] one layer two database queries

2019-01-25 Thread Peter Smythe
Hi Arnaud

Perhaps you can update the documentation at
https://docs.geoserver.org/latest/en/user/styling/sld/extensions/z-order/example.html
with the lessons that you have learnt, especially the memory impact and the
multiple queries.  Then we can all benefit from your experience.

If you are not familiar with contributing on GitHub, send me the changes in
a Word document and I will gladly help you.

Regards

Peter

On Fri, 25 Jan 2019 at 17:20, Arnaud L.  wrote:

> Le 25/01/2019 à 14:12, Andrea Aime a écrit :
> > In if you have casing, a minimum of two groups is needed.
> > See documentation here, it shows CSS for brevity but also links to a SLD:
> >
> https://docs.geoserver.org/latest/en/user/styling/sld/extensions/z-order/example.html
>
> Yes, actually that's the example I followed for my own style .But I did
> not understand the memory impact of having many FeatureTypeStyles and I
> found it very convenient, so I went with on FTS per road class...
> A lot of SLD rewriting in perspective !
>
> Thanks a lot for these great tips Andrea !
>
> Cheers
>
> --
> Arnaud
>
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] one layer two database queries

2019-01-25 Thread Arnaud L.

Le 25/01/2019 à 14:12, Andrea Aime a écrit :

In if you have casing, a minimum of two groups is needed.
See documentation here, it shows CSS for brevity but also links to a SLD:
https://docs.geoserver.org/latest/en/user/styling/sld/extensions/z-order/example.html


Yes, actually that's the example I followed for my own style .But I did 
not understand the memory impact of having many FeatureTypeStyles and I 
found it very convenient, so I went with on FTS per road class...

A lot of SLD rewriting in perspective !

Thanks a lot for these great tips Andrea !

Cheers

--
Arnaud



___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Workspace Specific Services Security

2019-01-25 Thread Olyster
Bug report is created in JIRA.




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


Re: [Geoserver-users] cross layer geometry intersection

2019-01-25 Thread Vera Green
If your data is in PostgreSQL you can definitely do this type of query with
a view on the database side (I can provide an example) .  This is the
solution I am using and the performance is very good since the query occurs
database side.
When you say "subset of the geometry" is this subset based on an
attribute/field filter?  If not how are you selecting the subset?
I have not tried to do this in GeoServer but it would require access to the
geometry field of both layers.  Maybe someone else can comment on if the
geometry fields will be accessible between layers.  For example if you have
layerA and layerB.  Can you access the geometry of layerA when setting up a
query on layerB?
Let me know if I am understanding your question correctly.
Vera

On Fri, Jan 25, 2019 at 3:32 AM Andrea Aime 
wrote:

> On Mon, Jan 21, 2019 at 11:53 PM Matt Hakim  wrote:
>
>> hi all,
>> is it possible to write a WFS filter that intersects a subset of the
>> geometry from one layer with a subset of the geometry from another layer?
>> This is mainly for performance reasons.
>>
>> In the below query I am intersecting a subset of geometry over the whole
>> base layer. Instead, can I first select a part of the base layer?
>>
>
> You can put another filter criteria in "and" in the ogc:Filter, assuming
> that your "base layer" is ABS_States_2016_40M.
> The MMM_by_State is already filtered via CQL filter, but you can add more
> conditions in there too if necessary.
> I'm not sure I understood your question honestly, if I did not, could you
> clarify?
>
> Cheers
> Andrea
>
> ==
>
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
> Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
> (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
> http://www.geo-solutions.it http://twitter.com/geosolutions_it
> --- *Con riferimento
> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
> circostanza inerente alla presente email (il suo contenuto, gli eventuali
> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
> sarei comunque grato se potesse darmene notizia. This email is intended
> only for the person or entity to which it is addressed and may contain
> information that is privileged, confidential or otherwise protected from
> disclosure. We remind that - as provided by European Regulation 2016/679
> “GDPR” - copying, dissemination or use of this e-mail or the information
> herein by anyone other than the intended recipient is prohibited. If you
> have received this email by mistake, please notify us immediately by
> telephone or e-mail.*
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
___
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] Workspace Specific Services Security

2019-01-25 Thread Vera Green
You can get info about JIRA here:
https://docs.geoserver.org/stable/en/user/introduction/gettinginvolved.html
The JIRA site is here:
https://osgeo-org.atlassian.net/projects/GEOS/issues/GEOS-8552?filter=allopeniss
ues

Cheers,
Vera


On Fri, Jan 25, 2019 at 7:14 AM Olyster  wrote:

>
> Vera : I experience this behavior with every catalog mode.
>
> Andrea : I've never fill a JIRA bug. Can you point me to instructions ?
>
> Thanks
>
>
>
>
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
___
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] Workspace Specific Services Security

2019-01-25 Thread Andrea Aime
On Fri, Jan 25, 2019 at 3:15 PM Olyster  wrote:

> Andrea : I've never fill a JIRA bug. Can you point me to instructions ?
>

Instructions here: http://geoserver.org/issues/

Cheers
Andrea

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information. == Ing. Andrea Aime @geowolf Technical Lead
GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39
0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
http://www.geo-solutions.it http://twitter.com/geosolutions_it
--- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Workspace Specific Services Security

2019-01-25 Thread Olyster


Vera : I experience this behavior with every catalog mode.

Andrea : I've never fill a JIRA bug. Can you point me to instructions ?

Thanks







--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] one layer two database queries

2019-01-25 Thread Andrea Aime
On Fri, Jan 25, 2019 at 11:41 AM Arnaud L.  wrote:

> OK, I understand the problem now, very clear.
> The problem is that I do need to order all these features the way I did
> (i.e., for instance, 'water' on top of 'wood').
>
> So, from what you say, the "right" way to do this would be to use a
> single FeatureTypeStyle for the first sortByGroup, and use a zOrder and
> add the appropriate column in my datasource ?
>

Yep


>
> For the second sortByGroup, I need to have many things ordered (i.e.
> road casing and roads going over/under buildings.
> So in this case, I believe I do need one FeatureTypeStyle per road type
> and a sortbygroup, right ?
>

In if you have casing, a minimum of two groups is needed.
See documentation here, it shows CSS for brevity but also links to a SLD:
https://docs.geoserver.org/latest/en/user/styling/sld/extensions/z-order/example.html

Cheers
Andrea

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information. == Ing. Andrea Aime @geowolf Technical Lead
GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39
0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
http://www.geo-solutions.it http://twitter.com/geosolutions_it
--- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
___
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] Workspace Specific Services Security

2019-01-25 Thread Vera Green
What is your catalogue mode? We have this issue as well but only with the
mixed or hide catalog mode.

On Fri, Jan 25, 2019, 2:56 AM Andrea Aime  Hi Olyster,
> confirmed, I believe it's a bug.
> Can you open a report in Jira?
>
> Cheers
> Andrea
>
>
> On Tue, Jan 22, 2019 at 10:25 PM Olyster 
> wrote:
>
>> HI,
>>
>> I run 2.14.1.
>>
>> Is it possible to grant a user access to Workspace Specific Services ?
>>
>> The user is granted admin rights to the workspace (Workspace.*.a = Group)
>> but when clicking the "WMS" or "WFS" link in the "Edit Workspace" page,
>> the
>> user receives :
>>
>> Access denied
>> The current user does not have sufficient privileges to access the page or
>> perform the requested operation
>>
>> Thanks
>>
>>
>>
>> --
>> Sent from:
>> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>>
>>
>> ___
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
> --
>
> Regards, Andrea Aime == GeoServer Professional Services from the experts!
> Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime
> @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054
> Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339
> 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it
> --- *Con riferimento
> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
> circostanza inerente alla presente email (il suo contenuto, gli eventuali
> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
> sarei comunque grato se potesse darmene notizia. This email is intended
> only for the person or entity to which it is addressed and may contain
> information that is privileged, confidential or otherwise protected from
> disclosure. We remind that - as provided by European Regulation 2016/679
> “GDPR” - copying, dissemination or use of this e-mail or the information
> herein by anyone other than the intended recipient is prohibited. If you
> have received this email by mistake, please notify us immediately by
> telephone or e-mail.*
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
___
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] X-Frame Options

2019-01-25 Thread Arnaud L.

Hi Wolfgang

Le 25/01/2019 à 09:09, Landratsamt AS (SG 11.2 - GIS) a écrit :
another viewer wants to display a wms from me. Unfortunately, the 
factual data does not work. Mozilla Firebug says:


"Load denied by X-Frame Options"

An adjustment in web.xml does not work:
I've had this problem some weeks ago, and the easy solution was to use 
an environment variable.


The env variable should be named "geoserver.xframe.shouldSetPolicy" and 
its value should be "false" (both without quotes of course).


You can find the discussion here : 
https://sourceforge.net/p/geoserver/mailman/message/36468205/


Cheers

--
Arnaud


___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] one layer two database queries

2019-01-25 Thread Arnaud L.

Le 25/01/2019 à 10:34, Andrea Aime a écrit :

Oh dear, now I see it... and it's truly horrible! :-D
I thought the various FeatureTypeStyle had a different FeatureTypeName, 
but it's just a different Name instead.
FeatureTypeStyles are very heavy objects rendering wise, you should not 
use them as mere classifiers.
Every time you create a FeatureTypeStyle, a new z level in the map is 
created. 


So creating a new z level for each FeatureTypeStyle is pretty much what 
was intended.



This means that even in the best of conditions, with that style 
GeoServer would be allocating tens of drawing surfaces, with an insane 
memory usage going with it (I think I see 42 FeatureTypeStyles, for a 
4x4 metatile , 1024x1024, 4 bytes per pixel, that would be 168MB of RAM 
(you don't get that high, see below, the stacks of rendering surfaces 
are actually split in two).


Now, that's indeed very bad. I do need to rewrite things.


So why is it doing two queries anyways? Because you have two different 
names for the sortGroup, which makes the various feature type styles 
un-mergeable.


Oh OK, now I see it ! Nice pick Andrea !


Do yourself a favor and, if possible, use a single FeatureTypeStyle 
instead ;-)


OK, I understand the problem now, very clear.
The problem is that I do need to order all these features the way I did 
(i.e., for instance, 'water' on top of 'wood').


So, from what you say, the "right" way to do this would be to use a 
single FeatureTypeStyle for the first sortByGroup, and use a zOrder and 
add the appropriate column in my datasource ?


For the second sortByGroup, I need to have many things ordered (i.e. 
road casing and roads going over/under buildings.
So in this case, I believe I do need one FeatureTypeStyle per road type 
and a sortbygroup, right ?



Thanks a lot for your help Andrea !

Cheers

--
Arnaud


___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] cross layer geometry intersection

2019-01-25 Thread Andrea Aime
On Mon, Jan 21, 2019 at 11:53 PM Matt Hakim  wrote:

> hi all,
> is it possible to write a WFS filter that intersects a subset of the
> geometry from one layer with a subset of the geometry from another layer?
> This is mainly for performance reasons.
>
> In the below query I am intersecting a subset of geometry over the whole
> base layer. Instead, can I first select a part of the base layer?
>

You can put another filter criteria in "and" in the ogc:Filter, assuming
that your "base layer" is ABS_States_2016_40M.
The MMM_by_State is already filtered via CQL filter, but you can add more
conditions in there too if necessary.
I'm not sure I understood your question honestly, if I did not, could you
clarify?

Cheers
Andrea

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information. == Ing. Andrea Aime @geowolf Technical Lead
GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39
0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
http://www.geo-solutions.it http://twitter.com/geosolutions_it
--- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] Workspace Specific Services Security

2019-01-25 Thread Andrea Aime
Hi Olyster,
confirmed, I believe it's a bug.
Can you open a report in Jira?

Cheers
Andrea


On Tue, Jan 22, 2019 at 10:25 PM Olyster  wrote:

> HI,
>
> I run 2.14.1.
>
> Is it possible to grant a user access to Workspace Specific Services ?
>
> The user is granted admin rights to the workspace (Workspace.*.a = Group)
> but when clicking the "WMS" or "WFS" link in the "Edit Workspace" page, the
> user receives :
>
> Access denied
> The current user does not have sufficient privileges to access the page or
> perform the requested operation
>
> Thanks
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 

Regards, Andrea Aime == GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime
@geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054
Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339
8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it
--- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
___
Geoserver-users mailing list

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

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


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


Re: [Geoserver-users] one layer two database queries

2019-01-25 Thread Andrea Aime
On Thu, Jan 24, 2019 at 2:23 PM Arnaud L.  wrote:

> What do you mean ?
> The SQL view definition is the same, since it's only one single layer.
>

Oh dear, now I see it... and it's truly horrible! :-D
I thought the various FeatureTypeStyle had a different FeatureTypeName, but
it's just a different Name instead.
FeatureTypeStyles are very heavy objects rendering wise, you should not use
them as mere classifiers.
Every time you create a FeatureTypeStyle, a new z level in the map is
created. GeoServer handles it in two ways:

   - if possible, it tries to reuse the same data source as the previous
   feature type style, but to respect the z ordering it allocates a
   transparent rendering surface, as big as the output map, where the features
   captured by the rules of this FTS will be painted, and will merge the
   various FTS rendering surfaces at the end
   - otherwise, it will execute separate requests

This means that even in the best of conditions, with that style GeoServer
would be allocating tens of drawing surfaces, with an insane memory usage
going with it (I think I see 42 FeatureTypeStyles, for a 4x4 metatile ,
1024x1024, 4 bytes per pixel, that would be 168MB of RAM (you don't get
that high, see below, the stacks of rendering surfaces are actually split
in two).
So why is it doing two queries anyways? Because you have two different
names for the sortGroup, which makes the various feature type styles
un-mergeable.

Do yourself a favor and, if possible, use a single FeatureTypeStyle instead
;-)

Cheers
Andrea

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information. == Ing. Andrea Aime @geowolf Technical Lead
GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39
0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
http://www.geo-solutions.it http://twitter.com/geosolutions_it
--- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
___
Geoserver-users mailing list

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

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


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


[Geoserver-users] X-Frame Options

2019-01-25 Thread Landratsamt AS (SG 11.2 - GIS)
Hello,

another viewer wants to display a wms from me. Unfortunately, the factual data 
does not work. Mozilla Firebug says:
"Load denied by X-Frame Options"

An adjustment in web.xml does not work:

 org.geoserver.filters.XFrameOptionsFilter 

  geoserver.xframe.policy 
  ALLOW-FROM https://example.com 
 




Many thanks for your help.


greeting
wolfgang

___
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