Skip to content

Commit

Permalink
json-fg crs proposals
Browse files Browse the repository at this point in the history
  • Loading branch information
ghobona committed Jan 24, 2024
1 parent a1f989a commit 24e3371
Show file tree
Hide file tree
Showing 3 changed files with 151 additions and 0 deletions.
51 changes: 51 additions & 0 deletions incubation/json-fg/GregorianDateTime.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
== engineering-3d

Last updated: 2024-01-24

Proposed URI: http://www.opengis.net/def/crs/OGC/0/GregorianDateTime

[source,xml]
----
<gml:TemporalCRS xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" gml:id="datetime" xsi:schemaLocation="http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/gml.xsd">
<gml:identifier codeSpace="OGC">GregorianDateTime</gml:identifier>
<gml:name>DateTime in Gregorian calendar</gml:name>
<gml:remarks>This definition was derived from the example E.4.1 in OGC Abstract Specification in Topic 2 "Definition of a Temporal CRS in which axis quantity is DateTime" (https://docs.ogc.org/as/18-005r4/18-005r4.html#118). Since GML 3.2 implements an older model for coordinate reference systems, the information in Topic 2 has been mapped to the XML schema of GML 3.2. A Well-Known-Text or PROJJSON representation would support encoding the CRS definition according to the current version of Topic 2.</gml:remarks>
<gml:domainOfValidity>
<gmd:EX_Extent>
<gmd:temporalElement>
<gmd:EX_TemporalExtent>
<gmd:extent>
<gml:TimePeriod>
<gml:beginPosition>1582-10-15</gml:beginPosition>
<gml:endPosition indeterminatePosition="unknown"/>
</gml:TimePeriod>
</gmd:extent>
</gmd:EX_TemporalExtent>
</gmd:temporalElement>
</gmd:EX_Extent>
</gml:domainOfValidity>
<gml:scope>Date/time as defined in ISO 8601.</gml:scope>
<gml:timeCS>
<gml:TimeCS gml:id="DateTime">
<gml:identifier codeSpace="OGC">DateTime</gml:identifier>
<gml:name>DateTime. Axis: T. Orientation: future.</gml:name>
<gml:axis>
<gml:CoordinateSystemAxis gml:id="dateTime" uom="not-applicable">
<gml:identifier codeSpace="OGC">dateTime</gml:identifier>
<gml:axisAbbrev>T</gml:axisAbbrev>
<gml:axisDirection codeSpace="OGC">future</gml:axisDirection>
</gml:CoordinateSystemAxis>
</gml:axis>
</gml:TimeCS>
</gml:timeCS>
<gml:temporalDatum>
<gml:TemporalDatum gml:id="gregorian">
<gml:identifier codeSpace="OGC">gregorian</gml:identifier>
<gml:name>Gregorian calendar</gml:name>
<gml:scope>The Gregorian calendar has a reference point that assigns 20 May 1875 to the calendar day that the “Convention du Mètre” was signed in Paris.</gml:scope>
<gml:origin>1875-05-20T00:00:00Z</gml:origin>
</gml:TemporalDatum>
</gml:temporalDatum>
</gml:TemporalCRS>
----

46 changes: 46 additions & 0 deletions incubation/json-fg/engineering-2d.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
== engineering-2d

Last updated: 2024-01-24

Proposed URI: http://www.opengis.net/def/crs/OGC/0/Engineering2D

[source,xml]
----
<gml:EngineeringCRS xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" gml:id="engineering-2d" xsi:schemaLocation="http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/gml.xsd">
<gml:identifier codeSpace="OGC">Engineering2D</gml:identifier>
<gml:name>Engineering CRS (2D) with an unknown origin and a Cartesian CS</gml:name>
<gml:scope>
A coordinate reference system used to describe spatial location over small areas of the Earth using a flat-Earth approximation of the Earth’s surface: corrections for Earth-curvature are not applied. Typical applications are for civil engineering construction and building information management. The origin of the datum is unknown.
</gml:scope>
<gml:cartesianCS>
<gml:CartesianCS gml:id="cartesian-local-3d">
<gml:identifier codeSpace="OGC">cartesian-local-3d</gml:identifier>
<gml:name>Cartesian 2D CS (right-handed). Axes: x,y. Orientations: unspecified, unspecified. UoM: m.</gml:name>
<gml:remarks>The location of the origin is unspecified. The direction of the two axes is unspecified except that the axes form a right-handed CRS. For use in engineering coordinate reference systems.</gml:remarks>
<gml:axis>
<gml:CoordinateSystemAxis gml:id="x-local" uom="http://www.opengis.net/def/uom/UCUM/0/m">
<gml:identifier codeSpace="OGC">x-local</gml:identifier>
<gml:remarks>For use in engineering coordinate reference systems.</gml:remarks>
<gml:axisAbbrev>x</gml:axisAbbrev>
<gml:axisDirection codeSpace="OGC">unspecified</gml:axisDirection>
</gml:CoordinateSystemAxis>
</gml:axis>
<gml:axis>
<gml:CoordinateSystemAxis gml:id="y-local" uom="http://www.opengis.net/def/uom/UCUM/0/m">
<gml:identifier codeSpace="OGC">y-local</gml:identifier>
<gml:remarks>For use in engineering coordinate reference systems.</gml:remarks>
<gml:axisAbbrev>y</gml:axisAbbrev>
<gml:axisDirection codeSpace="OGC">unspecified</gml:axisDirection>
</gml:CoordinateSystemAxis>
</gml:axis>
</gml:CartesianCS>
</gml:cartesianCS>
<gml:engineeringDatum>
<gml:EngineeringDatum gml:id="engineering-unknown-origin">
<gml:identifier codeSpace="OGC">engineering-unknown-origin</gml:identifier>
<gml:name>Engineering Datum with an unknown origin</gml:name>
<gml:scope>For use in unspecified engineering coordinate reference systems.</gml:scope>
</gml:EngineeringDatum>
</gml:engineeringDatum>
</gml:EngineeringCRS>
----
54 changes: 54 additions & 0 deletions incubation/json-fg/engineering-3d.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
== engineering-3d

Last updated: 2024-01-24

Proposed URI: http://www.opengis.net/def/crs/OGC/0/Engineering3D

[source,xml]
----
<gml:EngineeringCRS xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" gml:id="engineering-3d" xsi:schemaLocation="http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/gml.xsd">
<gml:identifier codeSpace="OGC">Engineering3D</gml:identifier>
<gml:name>Engineering CRS (3D) with an unknown origin and a Cartesian CS</gml:name>
<gml:scope>
A coordinate reference system used to describe spatial location over small areas of the Earth using a flat-Earth approximation of the Earth’s surface: corrections for Earth-curvature are not applied. Typical applications are for civil engineering construction and building information management. The origin of the datum is unknown.
</gml:scope>
<gml:cartesianCS>
<gml:CartesianCS gml:id="cartesian-local-3d">
<gml:identifier codeSpace="OGC">cartesian-local-3d</gml:identifier>
<gml:name>Cartesian 3D CS (right-handed). Axes: x,y,z. Orientations: unspecified, unspecified, up. UoM: m.</gml:name>
<gml:remarks>The location of the origin is unspecified. The direction of the first two axes is unspecified except that the three axes form a right-handed CRS. For use in engineering coordinate reference systems.</gml:remarks>
<gml:axis>
<gml:CoordinateSystemAxis gml:id="x-local" uom="http://www.opengis.net/def/uom/UCUM/0/m">
<gml:identifier codeSpace="OGC">x-local</gml:identifier>
<gml:remarks>For use in engineering coordinate reference systems.</gml:remarks>
<gml:axisAbbrev>x</gml:axisAbbrev>
<gml:axisDirection codeSpace="OGC">unspecified</gml:axisDirection>
</gml:CoordinateSystemAxis>
</gml:axis>
<gml:axis>
<gml:CoordinateSystemAxis gml:id="y-local" uom="http://www.opengis.net/def/uom/UCUM/0/m">
<gml:identifier codeSpace="OGC">y-local</gml:identifier>
<gml:remarks>For use in engineering coordinate reference systems.</gml:remarks>
<gml:axisAbbrev>y</gml:axisAbbrev>
<gml:axisDirection codeSpace="OGC">unspecified</gml:axisDirection>
</gml:CoordinateSystemAxis>
</gml:axis>
<gml:axis>
<gml:CoordinateSystemAxis gml:id="z-local" uom="http://www.opengis.net/def/uom/UCUM/0/m">
<gml:identifier codeSpace="OGC">z-local</gml:identifier>
<gml:remarks>For use in engineering coordinate reference systems.</gml:remarks>
<gml:axisAbbrev>z</gml:axisAbbrev>
<gml:axisDirection codeSpace="OGC">up</gml:axisDirection>
</gml:CoordinateSystemAxis>
</gml:axis>
</gml:CartesianCS>
</gml:cartesianCS>
<gml:engineeringDatum>
<gml:EngineeringDatum gml:id="engineering-unknown-origin">
<gml:identifier codeSpace="OGC">engineering-unknown-origin</gml:identifier>
<gml:name>Engineering Datum with an unknown origin</gml:name>
<gml:scope>For use in unspecified engineering coordinate reference systems.</gml:scope>
</gml:EngineeringDatum>
</gml:engineeringDatum>
</gml:EngineeringCRS>
----

0 comments on commit 24e3371

Please sign in to comment.