[Geoserver-users] Java OGC Web Services Client SDK

Patel, Ronak Avinash (US SSA) wrote:

Right but the plumbing to invoke and register the listener and then what
kind of URL scheme do we want to use....I would imagine that's something
the Geoserver team would want some say in...also...

You mean the url schema for the feed? Yeah I guess have a couple of options here. But I am thinking maybe something like:

http://localhost:8080/geoserver/rest/catalog.rss

Besides publishing the bounding box for coverages, which is pretty much
what I need, do we want to expand this to features as well?

We could pretty easily i think. The GeoServer catalog model abstracts the idea of a coverage and a feature type into a "resource". Every resource has a bounding box so it would be no extra work.

I'm thinking I would also just publish the wms url of the layer out the
GeoRSS feed so external services can just hit that url to pull the exact
layer.

Good idea. Simply tagging the feed entry with an atom:link which points back to the wms call should be relatively easy as well.

-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com] Sent: Tuesday, June 16, 2009 3:39 PM
To: Patel, Ronak Avinash (US SSA)
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Java OGC Web Services Client SDK

Well.. .there is the CatalogListener interface, which can be used to listen to catalog events. However, on 1.7.x it will the tricky. The way things work is that when something in the catalog gets changed, everything gets updated. So tracking what changed is hard. I guess your listener could maintain an internal list, to see what changed on an event, but it would be a pain.

On trunk however, the events are granular, so you only get an event for what changed.

In both cases, once your listener knows what changed, it would be relatively easy to simply write the result to out a rss feed.

-Justin

Patel, Ronak Avinash (US SSA) wrote:

Thanks Justin...as is usual with me I found the answer right after I
posted to the mailing list...

I'm going to try to write that GeoRSS feed for changes to the wms/wfs
catalogs so interested clients can learn of changes to the catalog
(add/remove layers and layer groups).

I'm trying to determine an estimate on that now so I can determine
whether I should go down this path. Otherwise, I'll have to generate a
custom GeoRSS external to geoserver using a cron job...grrrr

-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com] Sent: Tuesday, June 16, 2009 2:37 PM
To: Patel, Ronak Avinash (US SSA)
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Java OGC Web Services Client SDK

GeoTools has both a WFS and WMS client:

http://docs.codehaus.org/display/GEOTDOC/WMS
http://docs.codehaus.org/display/GEOTDOC/WFS+Plugin

-Justin

Patel, Ronak Avinash (US SSA) wrote:

Hi all,

I had a quick question where I was wondering if anyone knew of a Java

OGC Web Services Client SDK. I figure this has been done to death and

must exist out there.

Can anyone point me to an SDK I can use in my program to extract

layers,

features, etc. from Geoserver?

Thanks!!

Ronak Patel

------------------------------------------------------------------------

------

Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects

------------------------------------------------------------------------

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

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.