|
From: Jody G. <jga...@re...> - 2007-08-31 16:48:35
|
gershwinou wrote: > Hi all, i was on geoserver list but i think this is more a geotools > question: > > I am using postgis-versioning datastore, and this ok for now. Wow I think you are the first user! Did you let the module maintainer know? > Issue: > - I parse myself some incoming featured (from kml format) and thanks > to the last build of geoserver, the kml contains the fid, so I know > which features are to be updated. > - I try to create features against the postgis schema. The problem is > that i can't set the fid (the method is protected). Is that a design > choice (from what i have read in the archive: yes)? Usually FID is mapped to the primary key, it should be used to locate the right row for updating. > - Somehow i have to subclass FeatureType i guess, but i have to say i > am lost at this point. Any pointer to helping me? There are two methods FetaureType.create( values ) and FeatureType.create( fid, values ). Jody |