Sort of... The namespace is really only for GML generation - it should not be part of our feature model but we needed to ship software so there it is. In the new feature model this kind of information will be stored with a putClientProperty method.
So the namespace + typeName go together to describe in a unqiue fashion the FeatureType (or schema) to which the Feature belongs. The FeatureID is supposed to define the feature based on the real world thing (rather than something silly like the shapefile row or databse ID key). The OGC Reference Model goes into details (the Fraser river should be the Fraser river regardless of what application is working on it and what information they are tracking on it etc..). - http://portal.opengeospatial.org/files/?artifact_id=3836 In GeoTools it is up to the datastore to provide a "good" Feature ID. Most of them will pick up on an "ID" column of Intergers, some of them will make use of all primary keys etc... Jody > Hi everyone, a really basic question this time: > > Looking at the documentation and source code for (Default)FeatureType > and (Default)Feature, it seems that a feature is uniquely identified by > its namespace (URI) and feature ID, Feature.getNamespace() and > Feature.getID() respectively. Is this correct? > > > Regards, > Erik Løvlie > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
