Opened 18 years ago

Closed 17 years ago

#1731 closed defect (fixed)

[OGC:SOS] Full list of Metadata available

Reported by: jmckenna@… Owned by: jmckenna@…
Priority: highest Milestone:
Component: SOS Server Version: unspecified
Severity: normal Keywords:
Cc:

Description

I notice that the current implementation in CVS is missing some key WEB metadata
such as:

    "ows_addresstype"
    "ows_contactfacsimiletelephone" 
    "ows_contactorganization" 
    "ows_stateorprovince"  

Tom can you specify which metadata should be included in the WEB and LAYER
objects for SOS?

Change History (9)

comment:1 by tomkralidis, 18 years ago

1./
Since sos_* metadata will first be tested with ows_* prefixes, we should include
this in the docs.

2./

- sos_addresstype is supported (if ows_addresstype is found first, it's used)
- contactfacsimiletelephone: I don't see anywhere in mapogcsos.c -- Assefa?
- sos_contactorganization is supported (if ows_contactorganization is found
first, it's used)
- sos_stateorprovince is not used.  *_administrativearea is used.  mapogcsos.c
should look for *_administrativearea, then *_stateorprovince

Assefa: can you confirm these?


comment:2 by jmckenna@…, 18 years ago

hmm so the following from the doc is totally wrong? 

"MapServer tries the 'sos_*' metadata first, and if not found it tries the
corresponding 'ows_*' name."




comment:3 by dmorissette, 18 years ago

To be consistent with how we do things elsewhere, the sos_* metadata should be
tested *first*, and if not found then we fallback on the ows_* equivalent. 
So what you (Jeff) quoted from the docs is the right behavior, is this what the
implementation does?

comment:4 by assefa, 18 years ago

yes sos first and then ows

comment:5 by tomkralidis, 17 years ago

any update on this one?

comment:6 by tomkralidis, 17 years ago

Assefa: can you add:

contactfacsimiletelephone: I don't see anywhere in mapogcsos.c -- Assefa?

to mapogcsos.c, so that the XML output would be:

<ows:Phone>
 <ows:Voice>xxx-xxx-xxxx</ows:Voice>
 <ows:Facsimile>xxx-xxx-xxxx</ows:Facsimile>
</ows:Phone>

The rest I think is a doc issue.

comment:7 by tomkralidis, 17 years ago

Fax metadata supported added to CVS.

Jeff: can the docs be updated?

comment:8 by assefa, 17 years ago

Owner: changed from mapserverbugs to jmckenna@…
reassign for doc update.

comment:9 by tomkralidis, 17 years ago

Resolution: fixed
Status: newclosed

Documentation has been updated. To clarify, note that SOS (which uses OWS Common) doesn't use _addresstype, so I have not included in the SOS docs.

Note: See TracTickets for help on using tickets.