Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fgdc spatial reference - resolution #147

Closed
1 of 3 tasks
stansmith907 opened this issue Oct 3, 2017 · 0 comments
Closed
1 of 3 tasks

fgdc spatial reference - resolution #147

stansmith907 opened this issue Oct 3, 2017 · 0 comments

Comments

@stansmith907
Copy link
Contributor

stansmith907 commented Oct 3, 2017

The FGDC definition for geographic is "the quantities of latitude and longitude which define the position of a point on the Earth's surface with respect to a reference spheroid". This is representative of our *spatialResolution" class. The elements within this compound structure are latitudeResolution, longitudeResolution, and coordinateUnits.

However, moving this to mdJson/mdTranslator causes a problem. The ISO implementation allows only a single measure for resolution ( one of [ scaleFactor | measure | levelOfDetail ] ). Options:

  • change measure to and array; this would be a breaking change to the schema
   def newSpatialResolution
      {
         scaleFactor: nil,
         measure: [],
         levelOfDetail: nil
      }
   end
  • add x, y, and z values to measure
   def newMeasure
      {
         type: nil,
         value: nil,
         xValue: nil,
         yValue: nil,
         zValue: nil,
         unitOfMeasure: nil
      }
   end
  • add new type geographicMeasure to spatialResolution
   def newSpatialResolution
      {
         scaleFactor: nil,
         measure: {},
         geographicResolution: {
            latitudeResolution: nil,
            longitudeResolution: nil,
            unitOfMeasure: nil
         },
         levelOfDetail: nil
      }
   end

   def newGeographicMeasure 
      {
         latitudeMeasure: nil,
         longitudeMeasure: nil,
         unitOfMeasure: nil
      }
   end
@stansmith907 stansmith907 added extension question Information is needed, includes user support requests reviewed and removed question Information is needed, includes user support requests labels Oct 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant