[udig-devel] adding and modifying a new feature
Jesse Eichar
jeichar.w at gmail.com
Tue May 6 06:33:20 PDT 2008
>
> I think by keeping the reference to the feature that is first added, I
> achieve the same as the getNewFeature method. Right?
>
Nope it is not the same thing. Because the method actually creates a
request to the datastore and obtains the new feature that has the new
id. Your feature has a fid that is obsolete.
> My problem is that the added features are not visible, also if I do a
> redraw, they do not appear, even if they are present in the table
Does the feature that you first add have a full geometry. IE isn't a
singularity?
> Is this somehow related to the features sometimes not appearing
> while editing?
entirely possible... What datastore are you using for the editing?
More information about the udig-devel
mailing list