I'm trying to update a property that doesn't exists in my current database, and I want that if he doesn't exist - then create it with my value and only for this specific layer. For example - I have a database of the states with their names and population, and I want to add whether this state voted republican, democratic or independent, so my request would look like that:

<?xml version="1.0" ?>
   <wfs:Update typeName="topp:states">

And since I don't have in my database the "VotedFor" parameter, I wonder if there is any way to create it "on the fly"


No, there is no way with in the WFS standards to do this. WFS assumes that you have a fixed (and unchangeable) schema (the result of describeFeature requests) underlying your features.

  • And is there any other standard that is a bit more flexible and that allows that? – Ido H Levi Apr 4 at 12:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.