Changes between Version 2 and Version 3 of AddCharacterStringSubstituteSupport


Ignore:
Timestamp:
Mar 9, 2010, 8:06:40 AM (14 years ago)
Author:
fxp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AddCharacterStringSubstituteSupport

    v2 v3  
    1717        </field>
    1818}}}
    19 It also provide by default all substitutes of an element. The proposal allows to filter substitution list.
    20 [[Image(substitution-group-all.png)]]
     19It also provide by default all substitutes of an element (see below). The proposal allows to filter these substitution lists.
     20[[Image(substition-group-all.png)]]
    2121
    22 The idea of the proposal is to be able to some elements to be able to use one or more substitutes of gco:CharacterString. Indeed, some substitute like gmx:FileName or gmx:Anchor could be useful in some situation.
    23 The proposal add :
    24  * a way configure allowed substitutes for an element
    25  * add support for gmx:FileName to be used to store a document in the catalogue
    26  * suggest only gml:Polygon for bounding polygon choice list.
     22The idea of the proposal is to be able for some elements to be able to use one or more substitutes of gco:CharacterString. Indeed, some substitute like gmx:FileName or gmx:Anchor could be useful in some situation.
     23
     24The proposal enhancements are :
     25 * Add configuration of allowed substitutes for an element
     26 * Add support for gmx:FileName to be used to store a document in the catalogue (added by default to otherCitationDetails)
     27 * Suggest only gml:Polygon for bounding polygon element.
    2728
    2829
     
    4344=== Configuration ===
    4445
     46The file schema-substitutes.xml is modified to load gco:CharacterString on startup.
     47GMX schema is imported in schema.xsd.
     48
     49=== Configuration for gmd:otherCitationDetails ===
     50In the schema-suggestion.xml, otherCitationDetails allows use of CharacterString or FileName
    4551{{{
    4652<field name="gmd:otherCitationDetails">
    47                 <suggest name="gco:CharacterString"/>
    48                 <suggest name="gmx:FileName"/>
    49         </field>
     53  <suggest name="gco:CharacterString"/>
     54  <suggest name="gmx:FileName"/>
     55</field>
    5056}}}
     57
     58This will trigger the following in the editor :
     59[[Image(substition-group-otherCitationDetails.png)]]
     60
     61Using the gmx:FileName, editors could upload document for the element using the upload panel :
     62[[Image(substition-group-otherCitationDetails-upload.png)]]
     63
     64=== Configuration for gmd:polygon ===
     65{{{
     66<field name="gmd:polygon">
     67  <suggest name="gml:Polygon"/>
     68</field>
     69}}}
     70will only suggest gmd:Polygon to editors. Furthermore, the bounding polygon extent map drawing tools only allows to draw polygons. This will make the editor more consistent.
    5171
    5272== Risks ==