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>

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.4, 0.5, 0.6, 0.7
    • Fix Version/s: 0.8
    • Component/s: Referencing
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: