Andrea Aime wrote:
Jo Walsh ha scritto:
dear Chris, thanks for your prompt and full response,
...
You don't need much of the rest of WFS, right, to do Transactions?
Like Filter support and POST queries, GML comprehension and emission,
all these non-Simple things.
Hmm... I kind of disagree here, but it may be just lack of real world
experience. Let me tackle this point by point:
* no filter support... ok, this may be, but remember you're giving
up the ability to do mass updates this way.
> Like in update mytable set myatt = value where <here is the filter>
Actually you could do a mass update with their optional regular
expression filtering.
But I think for most collaborative web stuff you don't so much need the
ability to do mass updates (and if you do we'll still provide the full
WFS-T way). You basically want to insert features and update them.
* no POST query... here you give up the ability to modify all but
a handful of features at a time (GET is no good for big sized
parameters afaik).
I think you'd have to allow POST, but that's compatible with a general
REST philosophy, and expressed in both OSM api and Atom Publishing Protocol.
And actually I think the way they handle updates is to just basically do
an insert on an existing feature, and it will overwrite it (I could be
wrong on this, Mikel? others?)
Also, why is there not featureid filtering in WFS Simple? I think this
is essential for a simple transaction protocol - so you can specify
which feature you're actually updating.
* GML comprehension and emission. Hem, you have to encode features that
need to be inserted in a way that's agreed upon between the client
and the server. How do you do that if you don't mandate a standard
format? And I don't mean it has to be GML (see my other mail about
the lack of standard format in WFS-simple).
Yes, I agree with this. You need some sort of standard way to encode
features. I'm confused about WFS simple right now, since the example
seems to be atom, but what I'm curious about is data that's not in a
natural atom format.
It'd be useful if there's an example of going from like csv or excel
spreadsheet to WFS Simple. An ideal would be a basic xml format that's
self describing - no nesting, one geometry ect. (like Peter's original
Simple Features for GML proposal, using Georss for geometries). But you
need to define what that is, and how one has to encode something to send
it to a WFS-Simple-Transactional.
http://docs.codehaus.org/display/GEOS/Versioning+WFS+-+Phase+one+implementation+proposal
Nod, i was looking earlier, the extensions are clearly documented but
what would be really helpful would be sample query strings
showing them being used in a request...
Well, I could take some from the WFS spec and modify them to show
versioning usage. Yet, a WFS extension follows its parent destiny: you
cannot just play with it "by example", you really have to code it with
an understanding of the WFS schemas. Examples are nice thought, I will
add some.
Cool.
Chris
Cheers
Andrea
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
!DSPAM:1003,456bf6db35671429667743!
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
begin:vcard
fn:Chris Holmes
n:Holmes;Chris
org:The Open Planning Project
adr:;;377 Broadway, 11th Floor;New York;NY;10013;USA
email;internet:[EMAIL PROTECTED]
title:VP, Strategic Development
x-mozilla-html:FALSE
url:http://topp.openplans.org
version:2.1
end:vcard
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel