Re: [Geoserver-users] About the Geoserver data in leaflet

2020-09-10 Thread Phil Scadden
I don’t think there is a “one-size-fits-all” solution to legends. The WMS 
getlegendgraphic call does all the work of getting you the image of the style 
to display, but you have to do the work with html and js of making dynamic 
legend containers. My effort are, for example: 
https://data.gns.cri.nz/tez/index.html?map=TEZ-Geoscience, but the same code 
drives many websites and maps so code rather too complex to be much help. It 
comes down to things like:
1/ is the legend container always displayed? or is displayed on demand.
2/ is legend graphic always displayed or only when layer is turned on? (in 
which case need to link the img visibility styling to mechanism for turning 
layers on/off).
3/ is legend always meaningful for all layers?
4/ how to handle really massive legends (ie NZ geology legend on that map is 
visible only as a pop-out graphic when show legend chosen from layer context 
menu – and that is the simple version. A full page one is coming up.)

If you look around web, there are many other solutions. Leaflet has a legend 
plugin which is all config driven but not useful in my opinion for WMS legend. 
You need to make some design decisions and then start coding. The geoserver 
component is simply the GetLegendGraphic call. Client-side questions would be 
better directed to more appropriate sources.

From: Endi Soares 
Sent: Friday, 11 September 2020 00:23
To: Vera Green 
Cc: GeoServer Mailing List List 
Subject: Re: [Geoserver-users] About the Geoserver data in leaflet

Hi
I already have the layers on the WEBGIS page, the new challenge is to present 
the styles, present them in legend

I'm a little lost with that

Best Regards

Em qui., 10 de set. de 2020 às 03:14, Vera Green 
mailto:vera.green...@gmail.com>> escreveu:
In my experience figuring out this plugin is the way to go.
You can get the legend through getFeatureInfo.

https://github.com/heigeo/leaflet.wms



On Wed., Sep. 9, 2020, 5:11 p.m. Endi Soares, 
mailto:endy.soare...@gmail.com>> wrote:
Hi,

I want to consume the Geoserver data in the leaflet, someone has an example 
index.html where I can see the procedures.
If possible with presentation of the legend.

Best regards
--
Endi SoaresGeógrafo
m:(+238) 5809479
a:Praia, Cabo Verdee:
esoares.bvc.2...@gmail.com e: 
endy.soare...@gmail.com

[Image removed by sender.]
___
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


--
Endi SoaresGeógrafo
m:(+238) 5809479
a:Praia, Cabo Verdee:
esoares.bvc.2...@gmail.com e: 
endy.soare...@gmail.com

[Image removed by sender.]
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
___
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] GeoServer 2.18-RC Release Candidate released

2020-09-10 Thread Jody Garnett
Hey everyone,

GeoServer 2.18-RC Release Candidate is now available for testing, read all
about it in our blog:
http://blog.geoserver.org/2020/09/08/geoserver-2-18-rc-released/

Thanks to Jukka Rahkonen and Brad Hards for initial testing. To add your
name to the list for the 2.18 release announcement: download the release
candidate, try it out, and reply to this email thread!
--
GeoServer Project Steering Committee
___
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] libcurl, viscurl, visgs

2020-09-10 Thread carlo cancellieri
Hi,
 I would suggest to mount the bucket with a virtual fs as local mount path (
https://cloud.google.com/storage/docs/gcs-fuse) then use your file like
normal local files.
I would also suggest if possible to move to a google balanced attached disk
which will perform a lot better.
Regards,
C.

Il giorno gio 10 set 2020 alle ore 19:52 Arun Govind 
ha scritto:

> Hi,
> I had earlier asked about accessing files in Google Cloud Storage. My
> research suggests that I need to enable libcurl, viscurl and visgs for
> GeoServer (https://gdal.org/user/virtual_file_systems.html). Sorry I am
> very new to GeoServer and web mapping and was wondering how I can enable
> these? Are these add-ons or extensions or additional plugins or libraries?
> A detailed explanation will be very helpful.
>
> Also, can you please share some sample script showing how to code it for
> access? If it helps, I can provide the link to my GCP bucket with images.
>
> Thank you!
>
> --
> Sincerely yours,
>
> *Arun Govind, PhD*
> *Email*: arun.gov...@usask.ca
> *Ph*: +16394714525
> ___
> 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
>


-- 
Mr. Carlo Cancellieri
*skype*: ccancellieri
*Twitter*: @cancellieric
*LinkedIn*: http://it.linkedin.com/in/ccancellieri/
___
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] libcurl, viscurl, visgs

2020-09-10 Thread Arun Govind
Hi,
I had earlier asked about accessing files in Google Cloud Storage. My
research suggests that I need to enable libcurl, viscurl and visgs for
GeoServer (https://gdal.org/user/virtual_file_systems.html). Sorry I am
very new to GeoServer and web mapping and was wondering how I can enable
these? Are these add-ons or extensions or additional plugins or libraries?
A detailed explanation will be very helpful.

Also, can you please share some sample script showing how to code it for
access? If it helps, I can provide the link to my GCP bucket with images.

Thank you!

-- 
Sincerely yours,

*Arun Govind, PhD*
*Email*: arun.gov...@usask.ca
*Ph*: +16394714525
___
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] Geoserver + GeoFence in multiple cluster environment

2020-09-10 Thread carlo cancellieri
Hi all,
 not sure this is the right place to ask for GeoFence but let me try.

So I'm running multiple geserver in cluster: all having a separate replica
of the data+datadir but connected to the same database via a connection
pool configured in tomcat (one Database for each cluster).

The loadbalancer is rotating through the Geoserver and the session is not
shared for the moment.

I've several of clusters like these and all are meant to be used as read
only, update is performed rolling/updating the snapshot of the disks
(automatically by the cloud manager with no downtime).

The clusters have an external Master Geoserver (one for each cluster) used
as model for the snapshots, so ANY write operation will be performed over
those instances and the cluster will be lazily updated later (pull).

Now I'm starting looking at GeoFence to manage the authentications and to
grant permissions over layers for any write operation over Master instances
(multiple customers) and for any read operation over the clusters...

In our scenario users can be managed across different cluster so I've to
centralize the user management (federated identity provider) and possibly
permissions.

Few initial questions about geofence:

- To simplify the infrastructure I'm wondering if it is possible to install
it as embedded plugin server sharing the GeoFenceDataSource configuration
over a single postgis DB (shared across one or more clusters and the
relatives Masters instances)?

- Is GeoFence able to limit access to the Geoserver's REST api to grant
permissions to create resources via REST (f.e. w/ GeoCatBridge) this is
something that I'm currently doing with rest.properties but I'd like to
make it configurable via GUI.

- is geofence really multitenant: supporting mutiple domains and paths (not
just by workspace)

- If it's not possible to share the database, how to clusterize an
embedded/standalone geofence server?

- looking here

I
see it's possible to point to a database with an internal jdbc connection
pool, is it possible to use an external (defined in tomcat) jdbc connection
pool configuring geofence datasource via jndi? (any example is really
appreciated)

Thank you so much for any hint to address this new challenge.

Regards,
C.

-- 
Mr. Carlo Cancellieri
*skype*: ccancellieri
*Twitter*: @cancellieric
*LinkedIn*: http://it.linkedin.com/in/ccancellieri/
___
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] About the Geoserver data in leaflet

2020-09-10 Thread Vera Green
This might help you out:

""

Cheers,
Vera

On Thu, Sep 10, 2020 at 6:23 AM Endi Soares  wrote:

> Hi
> I already have the layers on the WEBGIS page, the new challenge is to
> present the styles, present them in legend
>
> I'm a little lost with that
>
> Best Regards
>
> Em qui., 10 de set. de 2020 às 03:14, Vera Green 
> escreveu:
>
>> In my experience figuring out this plugin is the way to go.
>> You can get the legend through getFeatureInfo.
>>
>> https://github.com/heigeo/leaflet.wms
>>
>>
>>
>> On Wed., Sep. 9, 2020, 5:11 p.m. Endi Soares, 
>> wrote:
>>
>>> Hi,
>>>
>>> I want to consume the Geoserver data in the leaflet, someone has an
>>> example index.html where I can see the procedures.
>>> If possible with presentation of the legend.
>>>
>>> Best regards
>>> --
>>> Endi Soares*Geógrafo *
>>> m:(+238) 5809479
>>> a:Praia, Cabo Verdee:
>>> esoares.bvc.2...@gmail.com e: endy.soare...@gmail.com
>>>
>>> 
>>> ___
>>> 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
>>>
>>
>
> --
> Endi Soares*Geógrafo *
> m:(+238) 5809479
> a:Praia, Cabo Verdee:
> esoares.bvc.2...@gmail.com e: endy.soare...@gmail.com
>
> 
>
___
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] WFS slow queries on XML attribute (not element) value

2020-09-10 Thread Stein, Michael P [US] (MS)
We are currently using Oracle 11g as our database with GeoServer 2.10.2. (We 
would like to upgrade, but 2.11.0 and above cannot seem to get our catalog set 
up correctly from the existing 2.10.2 app-schema-cache.)

We are using an externally developed XML schema (we cannot change it) that 
codes some data as attributes rather than element values. E.g., Feature2 has an 
associatedFeature1 element. The primary key for any feature is the combination 
of values from two columns, CODESPACE and UUID. In the schema, Feature2 codes 
its associatedFeature1 this way:

...



127.83
...

Both of these data elements come from non-indexed columns of the table, which 
has 20,000 rows. When we query on price, the one matching Feature2 comes back 
very quickly.
   
  
  ns1:price
 127.83
  
   

When performing a WFS query on associatedFeature1, however, the SOAP request 
filter syntax is:


  
  
ns1:associatedFeature1/@xlink:href
 
my:code:space:longhexidecimalUUIDstring
  
   

A direct SQL query for the HREF on that table is instantaneous. However, the 
WFS query takes nearly 2 minutes to return the four matching Feature2 values. 
It appears to be doing what older versions of GeoServer also do for geolocation 
searches - rather than using the WHERE clause of the SQL query, it downloads 
the complete contents of the table to GeoServer and does its own row-by-row 
search for a match. The element value search is clearly adding a WHERE clause 
in order to return so quickly.

I can find no mention of this issue in any web search. Does anyone know if this 
is fixed in a later version of GeoServer as the geolocation search has been 
improved to code it in the SQL WHERE clause? Or is this issue of searching on 
an attribute value vs. an element value so unusual that nobody has ever seen it 
before?



---
Michael Stein, Northrop Grumman Defense Systems
7555 Colshire Dr 4098S
McLean, VA 22102
703-963-6654(cell); 301-429-5468(ofc)

___
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] About the Geoserver data in leaflet

2020-09-10 Thread Endi Soares
Hi
I already have the layers on the WEBGIS page, the new challenge is to
present the styles, present them in legend

I'm a little lost with that

Best Regards

Em qui., 10 de set. de 2020 às 03:14, Vera Green 
escreveu:

> In my experience figuring out this plugin is the way to go.
> You can get the legend through getFeatureInfo.
>
> https://github.com/heigeo/leaflet.wms
>
>
>
> On Wed., Sep. 9, 2020, 5:11 p.m. Endi Soares, 
> wrote:
>
>> Hi,
>>
>> I want to consume the Geoserver data in the leaflet, someone has an
>> example index.html where I can see the procedures.
>> If possible with presentation of the legend.
>>
>> Best regards
>> --
>> Endi Soares*Geógrafo *
>> m:(+238) 5809479
>> a:Praia, Cabo Verdee:
>> esoares.bvc.2...@gmail.com e: endy.soare...@gmail.com
>>
>> 
>> ___
>> 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
>>
>

-- 
Endi Soares*Geógrafo *
m:(+238) 5809479
a:Praia, Cabo Verdee:
esoares.bvc.2...@gmail.com e: endy.soare...@gmail.com


___
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 doesn't recognize Postgis layers after copying the 'Workspaces' folder

2020-09-10 Thread Pierric de Laborie
Thanks Jean! Your solution worked out really well!

Merci encore,
Pierric

Le mer. 9 sept. 2020 à 22:47, Jean Pommier 
a écrit :

> Hi Pierric,
>
> I'd say this is related to the encryption of the postgis password. You'll
> have to redefine it. It has already happened to me.
>
> I'm doing this by memory, but I think it should work :
>
> 1) go  to the folder of your postgis datastore
>
> 2) remove, in datastore.xml the line about the password
>
> 3) reload geoserver
>
> the datastore should be visible now. Just open it and set the password. It
> should be enough to get back all your layers
>
>
> Best,
>
> Jean
>
> *Jean Pommier -- pi-Geosolutions*
>
> Ingénieur, consultant indépendant
>
> Tél. : (+33) 6 09 23 21 36
> E-mail : j...@pi-geosolutions.fr
> Web : www.pi-geosolutions.fr
> Le 09/09/2020 à 21:04, Pierric de Laborie a écrit :
>
> Hello,
>
> I installed the version 2.17.1 of Geoserver and moved my "workspaces"
> folder (from version 2.16.2) to the data folder, hoping that Geoserver
> would recognize all my layers. It did well for all the layers based on
> files (shapefiles and rasters).
> However the other vector layers based on a Postgis store were not
> recognized. The Postgis store was not recognized either. I tried to
> recreate a Postgis store with the exact same definition (name) successfully
> and restarted the Geoserver but it didn't help to recognize all the xml
> layer definitions located in the same folder as the store definition (in
> workspaces folder).
> Is there any way to avoid publishing explicitly every Postgis layer again?
>
> Thanks!
> Pierric
>
>
> ___
> 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.nethttps://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
>
___
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