Re: [Geoserver-users] Automatic refresh GeoServer

2020-05-18 Thread Jody Garnett
The WMS protocol has this covered with an update sequence number, clients
are expected to poll this value when connecting to the service to see if
any cached layer definitions they are working from have changed.

As for the contents geoserver has had an RSS feed that can be used to keep
track of any changes made via WFS.
- Initially used to keep a cluster of WFS's in sync it could be used by
clients also.
- The same hook is used to automatically truncate any tiles that have been
modified via WFS (so if your tile caching settings are set appropriately
downstream caches should pick up any changes as their contents are
refreshed)

The difficult part of you question is "automatically refreshing the URL" -
the URL remains the same in each case as it is the same data service, and
data product being published. The contents of the data have changed but the
service that accesses it remains available via the same URL.

On Thu, May 14, 2020 at 5:46 PM Jody Garnett  wrote:

> Good afternoon Diego:
>
> My employer GeoCat is one of those listed for GeoServer commercial support
>  and we would of course love an
> opportunity to work with you.
>
> If you would like to contact myself as a member of the GeoServer community
> please do so via the user list (CCed) as outlined on the GeoServer community
> support  page. As a project GeoServer likes
> to encourage community participation and you can help by asking questions
> in public where more participants have a chance to answer your question and
> learn from each others discussion.
>
> Please ensure you have read through the post guidelines
>  before sending email
> to the user list.
> --
> Jody Garnett
>
>
> On Wed, 13 May 2020 at 12:59, Diego Fernández García 
> wrote:
>
>> Hi!
>> My name is Diego Fernández and I live in Spain.
>> I use GeoServer and PostGIS to publish WMS services. I have an automatic
>> system to load points, lines and polygons. Currently, to see that new
>> information, I have to refresh the WMS url.
>> Do you know of any way to automate the refreshing of the URL every time a
>> new record is created in the database?
>> Thanks and regards,
>> Diego
>>
>
___
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] Automatic refresh GeoServer

2020-05-15 Thread Richard Duivenvoorde
Hi Diego,

just thinking out loud: depending on the WMS client you use (I would
recomment QGIS ;-) )... you could use so called 'NOTIFY' event from
withing postgres.
QGIS can use those to update a Postgis layer, but maybe you can use
something similar to update the WMS client?

Read here
http://oslandia.com/en/2017/10/07/refresh-your-maps-from-postgresql/
something about it.

Another option I can think of (if you have thousands of clients who want
their maps updated) is use this NOTIFY mechanism to call some global
message system like MQTT or so, your web clients then could maybe react
to mqtt-events?

Regards,

Richard Duivenvoorde

On 5/15/20 2:46 AM, Jody Garnett wrote:
> Good afternoon Diego:
> 
> My employer GeoCat is one of those listed for GeoServer
> commercial support  and we would of
> course love an opportunity to work with you.
> 
> If you would like to contact myself as a member of the GeoServer
> community please do so via the user list (CCed) as outlined on the
> GeoServer community support  page. As a
> project GeoServer likes to encourage community participation and you can
> help by asking questions in public where more participants have a chance
> to answer your question and learn from each others discussion.
> 
> Please ensure you have read through the post guidelines
>  before sending
> email to the user list.
> --
> Jody Garnett
> 
> 
> On Wed, 13 May 2020 at 12:59, Diego Fernández García  > wrote:
> 
> Hi!
> My name is Diego Fernández and I live in Spain.
> I use GeoServer and PostGIS to publish WMS services. I have an
> automatic system to load points, lines and polygons. Currently, to
> see that new information, I have to refresh the WMS url.
> Do you know of any way to automate the refreshing of the URL every
> time a new record is created in the database?
> Thanks and regards,
> Diego
> 
> 
> 
> ___
> 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] Automatic refresh GeoServer

2020-05-14 Thread Jody Garnett
Good afternoon Diego:

My employer GeoCat is one of those listed for GeoServer commercial support
 and we would of course love an opportunity
to work with you.

If you would like to contact myself as a member of the GeoServer community
please do so via the user list (CCed) as outlined on the GeoServer community
support  page. As a project GeoServer likes to
encourage community participation and you can help by asking questions in
public where more participants have a chance to answer your question and
learn from each others discussion.

Please ensure you have read through the post guidelines
 before sending email
to the user list.
--
Jody Garnett


On Wed, 13 May 2020 at 12:59, Diego Fernández García 
wrote:

> Hi!
> My name is Diego Fernández and I live in Spain.
> I use GeoServer and PostGIS to publish WMS services. I have an automatic
> system to load points, lines and polygons. Currently, to see that new
> information, I have to refresh the WMS url.
> Do you know of any way to automate the refreshing of the URL every time a
> new record is created in the database?
> Thanks and regards,
> Diego
>
___
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