Skip to content

Commit

Permalink
update EPSG references
Browse files Browse the repository at this point in the history
  • Loading branch information
jyutzler committed Oct 19, 2023
1 parent acdf9df commit c8f4642
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions spec/core/1_base.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,13 @@ However, there is no guarantee that SRS IDs will be globally unique across organ
GeoPackage clients should not make assumptions regarding the organization or definition of any SRS ID other than those defined in <<r11>>.
====

Definition column WKT values in the `gpkg_spatial_ref_sys` table define the Spatial Reference Systems used by feature geometries and tile images, unless these SRSs are unknown and therefore undefined as specified in <<r11>>. Values are constructed per the EBNF syntax in <<I32>> clause 7. EBNF name and number values may be obtained from any specified authority, e.g. <<I13>><<I14>>. For example, see the return value in <<spatial_ref_sys_data_values_default>> Test Method step (3) used to test the definition for WGS-84 per <<r11>>:
Definition column WKT values in the `gpkg_spatial_ref_sys` table define the Spatial Reference Systems used by feature geometries and tile images, unless these SRSs are unknown and therefore undefined as specified in <<r11>>. Values are constructed per the EBNF syntax in <<I32>> clause 7. EBNF name and number values may be obtained from any specified authority, e.g., EPSG <<I13>>. For example, see the return value in <<spatial_ref_sys_data_values_default>> Test Method step (3) used to test the definition for WGS-84 per <<r11>>:

[[r11]]
[caption=""]
.Requirement 11
====
The `gpkg_spatial_ref_sys` table SHALL contain at a minimum the records listed in <<gpkg_spatial_ref_sys_records>>. The record with an `srs_id` of 4326 SHALL correspond to http://www.google.com/search?as_q=WGS-84[WGS-84] <<I15>> as defined by http://www.epsg.org/Geodetic.html[EPSG] <<B3>> in http://www.epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::4326&reportDetail=long&title=WGS%2084&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code[4326] <<I13>><<I14>>. The record with an `srs_id` of -1 SHALL be used for undefined Cartesian coordinate reference systems. The record with an `srs_id` of 0 SHALL be used for undefined geographic coordinate reference systems.
The `gpkg_spatial_ref_sys` table SHALL contain at a minimum the records listed in <<gpkg_spatial_ref_sys_records>>. The record with an `srs_id` of 4326 SHALL correspond to http://www.google.com/search?as_q=WGS-84[WGS-84] <<I15>> as defined by https://epsg.org/home.html[EPSG] in https://epsg.org/crs_4326/WGS-84.html[4326] <<I13>>. The record with an `srs_id` of -1 SHALL be used for undefined Cartesian coordinate reference systems. The record with an `srs_id` of 0 SHALL be used for undefined geographic coordinate reference systems.
====

[#gpkg_spatial_ref_sys_records,reftext='{table-caption} {counter:table-num}']
Expand Down
2 changes: 1 addition & 1 deletion spec/core/annexes/biblio.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[bibliography]
- [[[B1]]] http://developer.android.com/guide/topics/data/data-storage.html#db
- [[[B2]]] https://developer.apple.com/technologies/ios/data-management.html
- [[[B3]]] http://www.epsg.org/guides/docs/G7-1.pdf
- [[[B3]]] (This document is no longer available)
- [[[B4]]] http://en.wikipedia.org/wiki/ASCII
- [[[B5]]] http://www.sqlite.org/lang_createtable.html#rowid
- [[[B6]]] ISO 19115-2 Geographic information - - Metadata - Part 2: Metadata for imagery and gridded data
Expand Down
4 changes: 2 additions & 2 deletions spec/core/annexes/normref.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ For undated references, the latest edition of the normative document referred to
- [[[I11]]] OGC 05-134 OpenGIS® Implementation Specification for Geographic
information - Simple feature access - Part 2: SQL option Version 1.1.0 2005-11-22 http://portal.opengeospatial.org/files/?artifact_id=13228 (also known as the now withdrawn ISO 19125-2:2004)
- [[[I12]]] ISO/IEC 13249-3:2011 Information technology — SQL Multimedia and Application Packages - Part 3: Spatial (SQL/MM)
- [[[I13]]] http://www.epsg.org/Geodetic.html
- [[[I14]]] http://www.epsg-registry.org/
- [[[I13]]] https://epsg.org/home.html
- [[[I14]]] (This reference no longer exists)
- [[[I15]]] MIL_STD_2401 DoD World Geodetic System 84 (WGS84), 11 January 1994
- [[[I16]]] OGC 07-057r7 OpenGIS® Web Map Tile Service Implementation Standard Version 1.0.0 2010-04-06 (WMTS) http://portal.opengeospatial.org/files/?artifact_id=35326
- [[[I17]]] ITU-T Recommendation T.81 (09/92) with Corrigendum (JPEG)
Expand Down
1 change: 1 addition & 0 deletions spec/core/release_notes/1.4.0/annex-history.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
|2023-05-31 |0.4 |J. Yutzler | 4, 6 | Open Comment Period
|2023-09-06 |0.5 |J. Yutzler | 4, 6 | Revert #653
|2023-10-02 |0.6 |J. Yutzler | 7 | Add future work in response to #666
|2023-10-19 |0.7 |J. Yutzler | 4 | 669/670
|====================

For the complete revision history, see link:https://github.com/opengeospatial/geopackage/commits/master/spec/core/release_notes/1.4.0[the GitHub repository].
1 change: 1 addition & 0 deletions spec/core/release_notes/1.4.0/clause-4-change-log.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,5 @@ See <<Clause_Critical>> for more information on critical changes and
|[yellow-background]#Replace update1 trigger with update6 and update7 to support upsert operations#
|[yellow-background]#Correctness#
|link:https://github.com/opengeospatial/geopackage/issues/665[#665] |link:https://github.com/opengeospatial/geopackage/pull/666[#666] | A | 1.1.1.1.3, 1.1.3.1.2, Annex F.8 | Point all references to date-time formats back to Requirement #5 | Clarity
|link:https://github.com/opengeospatial/geopackage/issues/669[#669] |link:https://github.com/opengeospatial/geopackage/pull/670[#670] | A | 1.1.2.1.1, Annex I, Annex J | Update EPSG references | Correctness
|=======================================================================

0 comments on commit c8f4642

Please sign in to comment.