Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-333

In GML, the second defining parameter of spheres should be <gml:isSphere>true</gml:isSphere>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.4, 0.5, 0.6, 0.7
    • 0.8
    • Referencing
    • None

    Description

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

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

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

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

      Attachments

        Issue Links

          Activity

            People

              desruisseaux Martin Desruisseaux
              desruisseaux Martin Desruisseaux
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: