[ 
http://jira.codehaus.org/browse/GEOT-3183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florence Tan reopened GEOT-3183:
--------------------------------


The patch somehow do not fix the complex feature properties order for 
gsml:BoreholeDetails :

<gsml:BoreholeDetails>
  <gsml:dateOfDrilling>2004-09-17</gsml:dateOfDrilling> 
  <gsml:drillingMethod>diamond core</gsml:drillingMethod> 
  <gsml:startPoint>natural ground surface</gsml:startPoint> 
  <gsml:inclinationType>vertical</gsml:inclinationType> 
  <gsml:operator xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown"; 
xlink:role="http://www.geosciml.org/geosciml/2.0/doc/GeoSciML/Borehole/BoreholeDetails.html#operator";
 xlink:title="operator name" /> 
  <gsml:driller xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown"; /> 

gsml:operator and gsml:driller should be on top of gsml:dateOfDrilling


>  Complex feature properties are encoded in the wrong order
> ----------------------------------------------------------
>
>                 Key: GEOT-3183
>                 URL: http://jira.codehaus.org/browse/GEOT-3183
>             Project: GeoTools
>          Issue Type: Bug
>          Components: core xml
>    Affects Versions: 2.6.3
>            Reporter: Xiangtan Lin
>            Assignee: Xiangtan Lin
>             Fix For: 2.6.5
>
>         Attachments: encodingOrderPatch_v3.zip
>
>
> The encoding doesn't follow the schema order, e.g. for schema:
> <element name="azimuth" type="gsml:CGI_ValuePropertyType" minOccurs="0"/>
> <element name="convention" type="gsml:ConventionCodeType"/>
> <element name="dip" type="gsml:CGI_ValuePropertyType" minOccurs="0"/>
> <element name="polarity" type="gsml:PlanarPolarityCodeType"/>
> The properties should be encoded in the order of:
> gsml:azimuth
> gsml:convention
> gsml:dip
> gsml:polarity 
> However, at the moment, this is what's produced:
> <er:planarOrientation>
>     <gsml:CGI_PlanarOrientation>
>         <gsml:convention>dip dip direction</gsml:convention>
>         <gsml:polarity>not applicable</gsml:polarity>
>         <gsml:azimuth>
>             <gsml:CGI_NumericValue>
>                 <gsml:principalValue 
> uom="urn:ogc:def:uom:UCUM::deg">140.0</gsml:principalValue>
>             </gsml:CGI_NumericValue>
>         </gsml:azimuth>
>         <gsml:dip>
>             <gsml:CGI_TermValue>
>                 <gsml:value codeSpace="http://www.dmp.wa.gov.au/371.aspx 
> ">60-80</gsml:value>
>             </gsml:CGI_TermValue>
>         </gsml:dip>
>     </gsml:CGI_PlanarOrientation>
> </er:planarOrientation> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to