| | 313 | </gml:TemporalDatum> |
| | 314 | </gml:temporalDatum> |
| | 315 | </gml:TemporalCRS> |
| | 316 | }}} |
| | 317 | |
| | 318 | === Example: ANSI date === |
| | 319 | |
| | 320 | {{{ |
| | 321 | #!text/xml |
| | 322 | <gml:TemporalCRS gml:id="ANSI-Date-CRS"> |
| | 323 | <gml:description>Continuous count of days starting from Jan 1, 1601 (00h00). Equal to floor(JulianDate−2305812.5)</gml:description> |
| | 324 | <gml:identifier codeSpace="http://www.opengeospatial.org">http://kahlua.eecs.jacobs-university.de:8080/def/crs/OGC/0.1/ANSI-Date</gml:identifier> |
| | 325 | <gml:name>ANSI date number (origin of COBOL integers dates)</gml:name> |
| | 326 | <gml:domainOfValidity> |
| | 327 | <gmd:EX_Extent> |
| | 328 | <gmd:description>Bottleneck in this case is date/time ranges accepted by current Java library (Date4j)</gmd:description> |
| | 329 | <gmd:temporalElement> |
| | 330 | <gmd:EX_TemporalExtent> |
| | 331 | <gmd:extent> |
| | 332 | <gml:TimePeriod gml:id="date4j-TP"> |
| | 333 | <gml:beginPosition>0001-01-01</gml:beginPosition> |
| | 334 | <gml:endPosition>9999-12-31</gml:endPosition> |
| | 335 | </gml:TimePeriod> |
| | 336 | </gmd:extent> |
| | 337 | </gmd:EX_TemporalExtent> |
| | 338 | </gmd:temporalElement> |
| | 339 | </gmd:EX_Extent> |
| | 340 | </gml:domainOfValidity> |
| | 341 | <gml:timeCS> |
| | 342 | <gml:TimeCS gml:id="ANSI-CS"> |
| | 343 | <gml:identifier codeSpace="http://www.opengeospatial.org">http://kahlua.eecs.jacobs-university.de:8080/def/cs/OGC/0.1/ANSI-Date</gml:identifier> |
| | 344 | <gml:axis> |
| | 345 | <gml:CoordinateSystemAxis gml:id="ansi-axis" uom="d"> |
| | 346 | <gml:identifier codeSpace="http://www.opengeospatial.org">http://kahlua.eecs.jacobs-university.de:8080/def/axis/OGC/0.1/ANSI-Date</gml:identifier> |
| | 347 | <gml:axisAbbrev>t</gml:axisAbbrev> |
| | 348 | <!-- "wikipedia" codespace is a joke but.. actually can give information of what is "future" direction"! --> |
| | 349 | <gml:axisDirection codeSpace="http://www.wikipedia.org">future</gml:axisDirection> |
| | 350 | </gml:CoordinateSystemAxis> |
| | 351 | </gml:axis> |
| | 352 | </gml:TimeCS> |
| | 353 | </gml:timeCS> |
| | 354 | <gml:temporalDatum> |
| | 355 | <gml:TemporalDatum gml:id="ANSI-TD"> |
| | 356 | <gml:identifier codeSpace="http://www.opengeospatial.org">http://kahlua.eecs.jacobs-university.de:8080/def/datum/OGC/0.1/ANSI-Date</gml:identifier> |
| | 357 | <gml:origin>1601-01-01</gml:origin> |