Martin Desruisseaux created SIS-333:
---------------------------------------

             Summary: In GML, the second defining parameter of spheres should 
be <gml:isSphere>true</gml:isSphere>
                 Key: SIS-333
                 URL: https://issues.apache.org/jira/browse/SIS-333
             Project: Spatial Information Systems
          Issue Type: Bug
          Components: Referencing
    Affects Versions: 0.7, 0.6, 0.5, 0.4
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
            Priority: Minor
             Fix For: 0.8


Currently, Apache SIS marshals the XML representation of the EPSG:7048 
ellipsoid (_"GRS 1980 Authalic Sphere"_) as below (extract):

{code:xml}
<gml:semiMajorAxis uom="urn:ogc:def:uom:EPSG::9001">6371007</gml:semiMajorAxis>
<gml:secondDefiningParameter>
  <gml:SecondDefiningParameter>
    <gml:semiMinorAxis 
uom="urn:ogc:def:uom:EPSG::9001">6371007</gml:semiMinorAxis>
  </gml:SecondDefiningParameter>
</gml:secondDefiningParameter>
{code}

This is not wrong, but the GML way would rather be:

{code:xml}
<gml:semiMajorAxis uom="urn:ogc:def:uom:EPSG::9001">6371007</gml:semiMajorAxis>
  <gml:secondDefiningParameter><gml:SecondDefiningParameter>
    <gml:isSphere>true</gml:isSphere></gml:SecondDefiningParameter>
  </gml:secondDefiningParameter>
</gml:semiMajorAxis>
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to