If you leave the filter out it will request all features.

The filter forms an expression, so you can select all the content meeting a
specific conduction. The ResourceId or FeatureId is a specific expression
where you are selecting a single feature.

Perhaps you are selecting a feature in your desktop GIS and it is
attempting to select the values for a single feature?

I am a bit confused by {layer} in your example as that appears to be a
mistake? Try requesting the features using the geoserver layer preview in
order to see some examples of valid feature ids for your service.

Jody


On Wed, Aug 25, 2021 at 6:41 AM Arjun Dongre via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Good morning,
> Im running into an issue with ArcGIS Pro trying to retrieve WFS data
> through http post method. The program is trying to request data from our
> geoserver instance with a filter on rid:
>
>   <fes:Filter>
>     <fes:ResourceId rid="{layer}.0"/>
>   </fes:Filter>
>
> I see in the OGC 2.0 specifications that the server should specify a
> resource id for every feature.
>
> Am I supposed to add this field myself? Is geoserver supposed to do it
> automatically? We are running 2.18.2. Is this fixed in layer versions?
>
> Any guidance would be greatly appreciated. Thanks!
>
> --
> *Arjun Dongre*
>
> Western EcoSystems Technology, Inc.
> Environmental & Statistical Consultants
> 415 W. 17th St. Suite 200
> <https://www.google.com/maps/search/415+W.+17th+St.+Suite+200+Cheyenne,+WY+82001?entry=gmail&source=g>
> Cheyenne, WY 82001
> <https://www.google.com/maps/search/415+W.+17th+St.+Suite+200+Cheyenne,+WY+82001?entry=gmail&source=g>
> adon...@west-inc.com
> www.west-inc.com
>
> *Follow WEST: *Facebook
> <http://www.facebook.com/pages/Western%E2%80%90EcoSystems%E2%80%90Technology%E2%80%90WESTInc/125604770807646>
> , Twitter <http://twitter.com/WestEcoSystems>, Linked In
> <http://www.linkedin.com/company/1458419>, Join our Mailing list
> <http://visitor.r20.constantcontact.com/manage/optin/ea?v=001qrD4A3S5xJ5KgMyelH9jyw%3D%3D>
>
> CONFIDENTIALITY NOTICE:  This message and any accompanying communications
> are covered by the Electronic Communications Privacy Act, 18 U.S.C. ยงยง
> 2510-2521, and contain information that is privileged, confidential or
> otherwise protected from disclosure.  If you are not the intended recipient
> or an agent responsible for delivering the communication to the intended
> recipient, you are hereby notified that you have received this
> communication in error.  Dissemination, distribution or copying of this
> e-mail or the information herein by anyone other than the intended
> recipient, or an employee or agent responsible for delivering the message
> to the intended recipient, is prohibited.  If you have received this
> communication in error, please notify us immediately by e-mail and delete
> the original message.  Thank you.
>
> P Please consider the environment before printing.
>
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
-- 
--
Jody Garnett
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to