244 | | '''`<resolver>/def/crs/OGC/0.1/ANSI-date`'''[[BR]] |
245 | | '''`<resolver>/def/crs/OGC/0.1/2010-hh`'''[[BR]] |
246 | | ''CRSs for temporal axes mapping. They could be created for standard measurements of time/date (e.g. Julian day, ANSI date), or for custom ad-hoc ones (e.g. the hours' count from the beginning of 2010).'' |
| 244 | '''`<resolver>/def/crs/OGC/0.1/ANSI-Date`'''[[BR]] |
| 245 | '''`<resolver>/def/crs/OGC/0.1/2000-mins`'''[[BR]] |
| 246 | ''CRSs for temporal axes mapping. They could be created for standard measurements of time/date (e.g. Julian day, ANSI date), or for custom ad-hoc ones (e.g. the minutes' count from the beginning of 2000).'' |
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> |
| 341 | <gml:TimeCS gml:id="days-CS"> |
| 342 | <gml:identifier codeSpace="http://www.opengeospatial.org">http://kahlua.eecs.jacobs-university.de:8080/def/cs/OGC/0.1/days</gml:identifier> |
| 343 | <gml:axis> |
| 344 | <gml:CoordinateSystemAxis gml:id="day-axis" uom="d"> |
| 345 | <gml:identifier codeSpace="http://www.opengeospatial.org">http://kahlua.eecs.jacobs-university.de:8080/def/axis/OGC/0.1/days</gml:identifier> |
| 357 | </gml:TemporalDatum> |
| 358 | </gml:temporalDatum> |
| 359 | </gml:TemporalCRS> |
| 360 | }}} |
| 361 | |
| 362 | === Example: ANSI date === |
| 363 | {{{ |
| 364 | #!text/xml |
| 365 | <gml:TemporalCRS gml:id="2000-mins-CRS"> |
| 366 | <gml:description>Continuous count of minutes starting from Jan 1, 2000 (00h00)</gml:description> |
| 367 | <gml:identifier codeSpace="http://www.opengeospatial.org">http://kahlua.eecs.jacobs-university.de:8080/def/crs/OGC/0.1/2000-mins</gml:identifier> |
| 368 | <gml:name>Minutes from 2000</gml:name> |
| 369 | <gml:domainOfValidity> |
| 370 | <gmd:EX_Extent> |
| 371 | <gmd:description>Bottleneck in this case is time ranges accepted by current Java library Date4j (+- 0..9999) [need to find new library or manually understand e.g. how many years/days/hours/minutes are N minutes</gmd:description> |
| 372 | <gmd:temporalElement> |
| 373 | <gmd:EX_TemporalExtent> |
| 374 | <gmd:extent> |
| 375 | <gml:TimePeriod gml:id="date4j-TP"> |
| 376 | <gml:beginPosition>1999-12-25T01:21</gml:beginPosition> |
| 377 | <gml:endPosition>2000-01-07T22:39</gml:endPosition> |
| 378 | </gml:TimePeriod> |
| 379 | </gmd:extent> |
| 380 | </gmd:EX_TemporalExtent> |
| 381 | </gmd:temporalElement> |
| 382 | </gmd:EX_Extent> |
| 383 | </gml:domainOfValidity> |
| 384 | <gml:timeCS> |
| 385 | <gml:TimeCS gml:id="minutes-CS"> |
| 386 | <gml:identifier codeSpace="http://www.opengeospatial.org">http://kahlua.eecs.jacobs-university.de:8080/def/cs/OGC/0.1/minutes</gml:identifier> |
| 387 | <gml:axis> |
| 388 | <gml:CoordinateSystemAxis gml:id="minutes-axis" uom="min"> |
| 389 | <gml:identifier codeSpace="http://www.opengeospatial.org">http://kahlua.eecs.jacobs-university.de:8080/def/axis/OGC/0.1/minutes</gml:identifier> |
| 390 | <gml:axisAbbrev>t</gml:axisAbbrev> |
| 391 | <!-- "wikipedia" codespace is a joke but.. actually can give information of what is "future" direction"! --> |
| 392 | <gml:axisDirection codeSpace="http://www.wikipedia.org">future</gml:axisDirection> |
| 393 | </gml:CoordinateSystemAxis> |
| 394 | </gml:axis> |
| 395 | </gml:TimeCS> |
| 396 | </gml:timeCS> |
| 397 | <gml:temporalDatum> |
| 398 | <gml:TemporalDatum gml:id="2000-TD"> |
| 399 | <gml:identifier codeSpace="http://www.opengeospatial.org">http://kahlua.eecs.jacobs-university.de:8080/def/datum/OGC/0.1/2000</gml:identifier> |
| 400 | <gml:origin>2000-01-01T00:00</gml:origin> |