• Tidak ada hasil yang ditemukan

WFS Clarify semantics for not specifying a projection clause

N/A
N/A
Protected

Academic year: 2017

Membagikan "WFS Clarify semantics for not specifying a projection clause"

Copied!
3
0
0

Teks penuh

(1)

All Fields marked with

*

are mandatory.

Name:

*

Panagiotis (Peter) A. Vretanos

Organization:

*

CubeWerx Inc.

Email:

*

pvretano@cubewerx.com

Document

Name/Version:

*

OpenGIS Web Feature Service 2.0 Interface Standard (also ISO 19142) / 2.0

OGC Project

Document:

*

09-025r1

If this is a revision of a previous submission and you have a Change Request Number, then check here:

Enter the CR number here:

Enter the Revsion Number that you are revising here:

Title:

*

[WFS 2.0] clarify semantics for not specifying a projection clause

Source:

*

johannes.echterhoff@igsi.eu

Work item code:

Category:

*

D (Editorial modification)

Reason for

change:

*

The semantics for not specifying a projection clause are ambiguous.

Summary of

change:

*

Johannes,

Actually, its (a) since the projection clause is used to enumerate the list of **optional** properties to include in the response. You get the mandatory ones automatically.

This means that it you want the complete state, you have to ask for it explicitly. However, I was never happy with this since it forces a client to parse the schema and determine what the names of the non-mandatory properties are.

I think the processing rules should have been:

1) The projection clause can enumerate the list of feature properties to present in the response.

(2)

3) However, if all mandatory properties are not listed in the projection clause the WFS shall augment the list to include all mandatory properties because they are required for validation. So, a WFS client should be prepared to receive more then they asked for.

4) If the projection clause is not specified then the entire known state of the feature is returned. That will include all mandatory properties as well as any optional properties for which the WFS has a value.

So, using this set of rules, if all you want are the mandatory fields only, then you would list them in the projection clause.

I think I will post a CR to get the processing rules changed on the grounds of simplifying the interaction for WFS clients.

Ciao.

On 07/01/2012 10:02 AM, Johannes Echterhoff wrote: > Hi Peter,

>

> What is the default behavior of a WFS (2.0) when it receives a GetFeature

> request that does not use a projection statement in its query? Does the WFS

> (a) return matching features only with their mandatory properties or does it

> (b) return matching features with their complete known state, i.e. also

> optional properties if values are stored for them? Can you point me to the

> place in the WFS 2.0 standard which defines the correct behavior, please?

>

> I have searched in the WFS 2.0 spec but could not find an answer to this

> question. Apparently if the query contains a projection clause, then only

> the mandatory feature properties together with the explicitly (via the

> projection clause) mentioned properties are returned, which is reasonable.

>

> At first glance, (b) appears to be most convenient when a client just wants

> to get complete feature data. However, if (b) is the answer then getting

> features with only their mandatory properties does not seem to be possible,

> though I may be missing something. >

> Cheers, > Johannes

Consequences if

not approved:

Let convenient for getting the entire state of a feature using the GetFeature request.

(3)

Comments:

Status:

Assigned

Assigned To:

WFS/FES SWG

Referensi

Dokumen terkait

Tenaga kependidikan sebagaimana dimaksud dalam Pasal 36 huruf b, pada satuan pendidikan menengah perikanan dan satuan pendidikan tinggi perikanan harus memiliki

Inkubator Total Coliform Gambar 2.. Inkubator

The cross-sectional study was carried out from January to May, 2015 to assess prevalence of bovine trypanosomosis and apparent density of its vectors in Yayo

Our results in table 1 show a summary of the age, height, body weight and hour of exposure distribution in exposed cement workers, [Crusher workers (CW), Kiln

The main research question is: Does organizational intervening variable including (occupational characteristics, work-life benefits and policies, management support,

Adapun tujuan penelitian ini adalah untuk mengidentifikasi Karakteristik wanita usia subur yang belum pernah melakukan pemeriksaan dini serviks dan Faktor-faktor hambatan wanita

In this paper, we describe part of a final year undergraduate project, based on the solvatochromic effect performed in the following areas of Physical Chemistry: Characterization

Therefore, the results obtained as regards an improved understanding of players' absolute and actual game time provide valuable information for planning specific