sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SIS-333) In GML, the second defining parameter of spheres should be <gml:isSphere>true</gml:isSphere>
Date Fri, 04 Nov 2016 21:51:58 GMT

     [ https://issues.apache.org/jira/browse/SIS-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Desruisseaux updated SIS-333:
------------------------------------
    Description: 
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>
{code}


  was:
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}



> 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.4, 0.5, 0.6, 0.7
>            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>
> {code}



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

Mime
View raw message