Ok, so a plain GetFeature returns me:

<vienna:GIS.FEATURE fid="GIS.FEATURE.6">

and defines the fid String for this featuretype to be used by clients - thx for 
the lesson.
(My next questions would have been why namespace is not included in fid, but is 
now obsolete)

>-----Ursprüngliche Nachricht-----
>Von: [email protected] [mailto:[email protected]] Im Auftrag von
>Andrea Aime *EXTERN*
>Gesendet: Donnerstag, 12. Mai 2011 13:59
>An: Hochmeister Rudolf
>Cc: [email protected]
>Betreff: Re: [Geoserver-users] correct usage of featureid's fid
>attribute
>
>On Thu, May 12, 2011 at 1:28 PM, Hochmeister Rudolf
><[email protected]> wrote:
>> Hi,
>>
>> What ist he correct way to specify the 'fid'-attribute in Geoserver
>WFS,
>> WFS-T requests.
>> WFS-GetFeature only accepts fid='gis.feature.2' (fully qualified) and
>> complains with 'featuretype not found'
>> if set to fid='myfeature.2' (schemaname is omited)
>>
>> But WFS-T Delete on the other hand accepts both variants.
>> Is the behaviour datastore specific, for instance I am using ArcSDE
>> datstore with Oracle geo-db as backend.
>> What would be the correct way of specifying the filter?
>
>Sounds store specific to me. As far as I know the store should react
>properly
>to a fid with the structure <typename>.<key>, but that is most of a
>common
>practice than a rule.
>
>The official rule is that you have to use the the same feature id as
>returned by
>a plain GetFeature, you cannot make assumptions on its contents if
>the WFS never generated it. With GS we have conventions that allow you
>to
>predict the fid based on whatever is used as the primary key in the
>data storage,
>but it's just an implementation detail.
>
>So the question is, when do you make a GetFeature without filters how do
>the
>feature gml:id attributes look like?
>
>Cheers
>Andrea
>
>
>--
>-------------------------------------------------------
>Ing. Andrea Aime
>GeoSolutions S.A.S.
>Tech lead
>
>Via Poggio alle Viti 1187
>55054  Massarosa (LU)
>Italy
>
>phone: +39 0584 962313
>fax:      +39 0584 962313
>
>http://www.geo-solutions.it
>http://geo-solutions.blogspot.com/
>http://www.youtube.com/user/GeoSolutionsIT
>http://www.linkedin.com/in/andreaaime
>http://twitter.com/geowolf
>
>-------------------------------------------------------

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to