Ticket #1731 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

[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

Changed 7 years ago by tomkralidis

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?


Changed 7 years ago by jmckenna@…

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."




Changed 7 years ago by dmorissette

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?

Changed 7 years ago by assefa

yes sos first and then ows

Changed 7 years ago by tomkralidis

any update on this one?

Changed 7 years ago by tomkralidis

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.

Changed 7 years ago by tomkralidis

Fax metadata supported added to CVS.

Jeff: can the docs be updated?

Changed 7 years ago by assefa

  • owner changed from mapserverbugs to jmckenna@…
reassign for doc update.

Changed 6 years ago by tomkralidis

  • status changed from new to closed
  • resolution set to fixed

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.