Details
Description
I have been evaluating WFSTs for possible inclusion in our project, and have been working with geoserver's wfst to produce a demo showing what a web feature server can do and how it can help us move features around. I've run into a problem POSTing large amounts of data. When I try to insert an 11+ meg feature, I get an unhandled exception, something on the order of "Java POST exceeds limit." I was wondering if anyone besides me has come across this error, and whether it is the result of my naiveté, or an actual problem? How are other people handling this? My only solution so far has been to use an xslt to transform the xml into plain postgres INSERT INTOs, but that will not work long term for us.
Basically I am trying to insert that looks like:
<wfs:Transaction version="1.0.0" service="WFS">
<wfs:Insert>
<DC:Location></DC:Location>
</wfs:Insert>
<DC:Location></DC:Location>
<wfs:Insert>
<DC:Location></DC:Location>
</wfs:Insert>
<DC:Location></DC:Location>
<wfs:Insert>
<DC:Location></DC:Location>
</wfs:Insert>
...
<wfs:Insert> (this is the nTH insert. Some of my pseudo complex features have 10k inserts)
<DC:Location></DC:Location>
</wfs:Insert>
</wfs:Transaction:
I tried to insert 5522 features via one post, and got 8692 entries for those features in catalina.out. Somewhere on the insert it fails.
The Setup:
SERVER:Powerbook 667
geoserver
postGIS --simple featuretype—e.g one table
CLIENT: PC (though I also put geoserver on the pc to see if that would make a different)
IE on pc for inserting small features
for large posts I wrote a little client app that loads the mega features from text and posts it.
Thanks,
John Stiening
> I was wondering if anyone besides me has come across this error, and
> whether it is the result of my naiveté, or an actual problem? How are
> other people handling this?
I'm pretty sure it's an actual problem, as I've never tried a post request that large. I'll try to test it out myself and dig into the problem. If you can share your little client app that would be helpful, you can attach it to this jira task and people can download it. Otherwise I'll do what I can to make a request that large and try to replicate the problem.