On Wed, May 1, 2013 at 1:42 AM, Geoff Clitheroe <[email protected]> wrote:
> Hi,
>
> we have a WFS, provided using GeoServer, for earthquake information in New
> Zealand.  More details here:
>
> http://info.geonet.org.nz/display/appdata/Earthquake+Web+Feature+Service
>
> We plan to add more output to the geonet:quake layer.

When you say more output, you mean more attributes?

 I guess this is
> potential for this being a breaking change for some clients.  If I was
> changing a REST web service I would usually have a version number in the web
> service say for example:
>
> http://www.geonet.org.nz/quakes/services/all.json
>
> versus
>
> http://www.geonet.org.nz/quakes/services/2/all.json
>
> Is this sort of approach (adding a version number into the URL) recommended
> with GeoServer and if so how is it best done?

WFS does not have a notion of versioned schemas, I guess the easiest
thing, if you
want to preserve old clients, is to create a new feature type, and maybe use SQL
Views to setup a feature type with the old to the clients.

Cheers
Andrea


--
==
GeoServer training in Milan, 6th & 7th June 2013!  Visit
http://geoserver.geo-solutions.it for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

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

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

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

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to