Hi,
The problem is that you have a reader open when you are trying to
write to a file. It is a windows issue. I'd suggest using
FeatureStore to write to the file... But again make sure that your
FeatureReaders and iterators are closed before trying to write (or
commit your transaction).
Jesse
On 25-Feb-07, at 5:38 PM, jingyuan zhang wrote:
Hi everyone,
I'm trying to update update features in shape file by geotools.
First, i use feature reader to read the feature out, then use
another method to search the feature need be update, at last,
update the feature.
Now , i have problem. i can open the shape file and read feature
out. When i want to update the feature it has problem.
Error: (The requested operation cannot be performed on a file with
a user-mapped section open)
I use feature reader to read the file, after reading i colse the
reader.
but it still has this problem.
Thanks
Michelle
----------------------------------------------------------------------
---
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-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
-------------------------------------------------------------------------
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-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users