KVP encoding Stored query identifier Stored query parameters
7.9.3.6 GetFeatureById stored query
All servers shall implement a stored query that accepts a single argument, named id of type xsd:string, and returns a single feature whose identifier is equal to the specified value of the id argument. This stored query shall have the identifier: urn:ogc:def:query:OGC-WFS::GetFeatureById EXAMPLE The following URL invokes the mandatory GetFeatureById stored query to retrieve and present a single feature from the servers data store: http:www.someserver.comwfs.cgi?SERVICE=WFS VERSION=2.0.0 REQUEST=GetFeature STOREDQUERY_ID=urn:ogc:def:query:OGC-WFS::GetFeatureById ID=INWATERA_1M.1013 8 GetCapabilities operation8.1 Introduction
The GetCapabilities operation generates a service metadata document describing a WFS service provided by a server. All web feature services shall implement the KVP-encoding of the GetCapabilities operation. A web feature service may optionally implement the XML-encoding of the GetCapabilities operation. 8.2 Request 8.2.1 Request Semantics Figure 12 describes the schema of a GetCapabilities request. GetCapabilities + service : ServiceType = WFS {frozen} GetCapabilities f rom OWS Common Figure 12 — GetCapabilities request 8.2.2 XML encoding The following XML Schema fragment defines the XML-encoding of the GetCapabilities request: xsd:element name=GetCapabilities type=wfs:GetCapabilitiesType xsd:complexType name=GetCapabilitiesType xsd:complexContent Copyright © 2010 Open Geospatial Consortium 45 xsd:extension base=ows:GetCapabilitiesType xsd:attribute name=service type=ows:ServiceType use=required fixed=WFS xsd:extension xsd:complexContent xsd:complexType The base type, ows:GetCapabilitiesType, is defined in the OWS Common Implementation Specification see OGC 06-121r3:2010, 7.2.4.8.2.3 KVP encoding
The KVP encoding of the GetCapabilities request shall be as specified in OGC 06-121r3:2009, 7.2.2. 8.3 Response 8.3.1 Response Semantics Figure 13 describes the schema of a GetCapabilities response. CapabilitiesBase from OWS Common WFS_Capabilities + WSDL [0. .1] : Any + featureTypes [ 0..1] : FeatureTypeList + filterCapabilities : FilterCapabilities FeatureTypeList + featureType [1..] : FeatureType FeatureTy pe + name : ScopedName + title [0. .] : LocalisedCharact erSt ring + abstract [0..] : LocalisedCharacterString + keywords [ 0..] : MD_Keywords + supportedCRS [ 0..1] : SupportedCRS + outputFormat s : OutputFormatList + envelope [0..] : GM_Envelope + met adat a [ 0..] : Metadata + extendedDescript ion [0..1] : ExtendedDescription SupportedCRS + defaultCRS : SC_CRS + otherCRS [0..] : SC_CRS ExtendedDescription + element [1..] : Element Output FormatList + format [1..] : CharacterString Element + metadata : Any + valueList : ValueList + name : LocalName + type : ScopedName ValueList + value [ 1..] : Any { title-isUniquelocale.language and abstract -isUniquelocale. language } Metadata + value : Any + about : Any Figure 13 — GetCapabilities responseParts
» feature identifier Change Requests | OGC
» namespace XML operation Change Requests | OGC
» response model schema Change Requests | OGC
» Uniform Resource Identifier Change Requests | OGC
» Abbreviated terms Use of examples
» State machine notation UML Notation .1 Class diagrams
» Version number form and value
» Appearance in service metadata and in requests
» Version number negotiation Introduction
» Namespaces Change Requests | OGC
» Service bindings Change Requests | OGC
» Encoding of features Change Requests | OGC
» Encoding resource identifiers Resource Identifiers .1 Assigning resource identifiers
» Version identification Resource Identifiers .1 Assigning resource identifiers
» Predicate expression encoding Change Requests | OGC
» KVP encoding Base request type .1
» handle parameter Base request type .1
» Parameter Semantics KVP encoding
» startIndex parameter count parameter
» resultType parameter Base request type .1
» outputFormat parameter Base request type .1
» KVP encoding resolve parameter
» resolveDepth parameter resolveTimeout parameter
» Unresolvable references Standard resolve parameters .1
» KVP encoding inputFormat parameter
» srsName parameter Standard input parameters .1
» XML encoding Standard response parameters .1 Parameter Semantics
» KVP encoding Standard response parameters .1 Parameter Semantics
» numberMatched parameter numberReturned parameter
» Declaring transactional consistency Transactional consistency of response paging
» Response paging with transactional consistency
» Response paging without transactional consistency
» Use of the schemaLocation attribute
» KVP encoding Ad hoc query expression .1
» typeNames parameter Parameter discussion
» schema-element function Parameter discussion
» aliases parameter Parameter discussion
» Request Semantics Projection clause
» PropertyName parameter Parameter discussion
» Standard resolve parameters Parameter discussion
» srsName parameter Resolution path
» XML Encoding Selection clause
» Shared properties KVP encoding
» Use of the schema-element function in joins
» Coordinate reference system handling
» Request Semantics Sorting clause
» KVP encoding Sort processing
» KVP encoding Stored query identifier Stored query parameters
» KVP encoding Request .1 Request Semantics
» XML encoding Response .1 Response Semantics
» Capabilities document Response .1 Response Semantics
» Introduction Parameter domains FeatureTypeList section
» Service and operation constraints
» Introduction Extension points Change Requests | OGC
» Exceptions Introduction Change Requests | OGC
» outputFormat parameter Parameter discussion .1
» Supporting multiple namespaces Response .1 Introduction
» Introduction Change Requests | OGC
» Standard resolve parameters Parameter discussion .1 Standard presentation parameters
» valueReference parameter Parameter discussion .1 Standard presentation parameters
» state parameter Response .1 Response Semantics
» Standard response parameters Response .1 Response Semantics
» Exceptions Change Requests | OGC
» state parameter Parameter discussions .1 lockId parameter
» Standard response parameters Parameter discussions .1 lockId parameter
» Single query response Parameter discussions .1 lockId parameter
» Multiple query response Parameter discussions .1 lockId parameter
» Join query response Parameter discussions .1 lockId parameter
» Introduction Introduction Change Requests | OGC
» State machine for WFS locking
» Response semantics Request .1 Request Semantics
» lockAction parameter Parameter discussion .1 expiry parameter
» resultType parameter Parameter discussion .1 expiry parameter
» Introduction Response .1 Introduction Change Requests | OGC
» Title, Abstract and Metadata parameters
» name parameter Metadata parameter
» type parameter Metadata parameter
» Declaring the returned feature types Implementation language IsPrivate parameter
» KVP encoding ListStoredQueries operation .1 Request Semantics
» Response Exceptions ListStoredQueries operation .1 Request Semantics
» Request Semantics KVP encoding
» Response .1 Response semantics ListStoredQueries operation .1 Request Semantics
» Parameter discussions ListStoredQueries operation .1 Request Semantics
» releaseAction parameter Parameter discussions .1 Locking
» srsName parameter Parameter discussions .1 Locking
» Standard input parameters Parameter discussion .1 Filter expression
» Filter expression Parameter discussions .1 typeName attribute
» TransactionSummary element Response .1 Response Semantics
» InsertResults element Response .1 Response Semantics
» UpdateResults element Response .1 Response Semantics
» ReplaceResults element Response .1 Response Semantics
Show more