Hello all

Before to continue on data stores (GeoTIFF, etc.), I would need (for
another purpose) a basic support of this specification:

    ISO 19112:2003 — Spatial referencing by geographic identifiers
    
http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=26017

    Note: flagged as "International Standard to be revised".

Geographic identifiers are location descriptors such as addresses and
grid indexes. ISO 19112 describes (among other things) how to map
geographic identifiers to spatial coordinates. Some keys classes defined
by ISO 19112 are listed below (Apache SIS would not necessarily use
exactly the same names):

  * SpatialReferenceSystemUsingGeographicIdentifier
  * Gazetteer
  * LocationType
  * LocationInstance

The Gazetteer seems the most interesting part for us, since it is the
class in charge of converting a geographic identifier to something else
(e.g. a geographic coordinate). It seems to me that Gazetteer could be
compared to the MathTransform interface that we already implement in the
following package:

    org.apache.sis.referencing.operation

but working on geographic identifiers instead than coordinates. For this
reason, I propose to put an ISO 19112 implementation in the following
package:

    org.apache.sis.referencing.gazetteer

I have hesitation about whether such package should be in a separated
module (e.g. "sis-referencing-by-identifier") or not, but given that I
expect the amount of classes to be small I'm not sure it is worth
creating a new module.

An implementation of Military Grid Reference System (MGRS) [1] is under
way, so we can experiment what the API may look like. A preliminary
version (API is likely to change) is available at [2]. Despite its name,
MGRS is not used only for military purpose. It is used also as a way to
organize Earth Observation data on Amazon S3 cloud storage.

Note that Apache SIS already have (since the 0.1 version!) a class that
seems in the scope of ISO 19112: GeoHashCoder [3]. If the ISO 19112
implementation proposal is accepted, I would like to propose to also
refactor GeoHashCoder as another implementation, side-by-side with
MilitaryGridReferenceSystem. But that would be the topic of another thread.

Is there any comment on this proposal? E.g.

  * Comment about having SIS to support ISO 19112
  * About the org.apache.sis.referencing.gazetteer package name
  * About using the existing "sis-referencing" module or creating a new one

Comments can be posted as replies to this email, or as comments on the
JIRA task: https://issues.apache.org/jira/browse/SIS-352

    Martin


[1] https://en.wikipedia.org/wiki/Military_Grid_Reference_System
[2] 
https://svn.apache.org/repos/asf/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/gazetteer/
[3] http://sis.apache.org/apidocs/org/apache/sis/index/GeoHashCoder.html

Reply via email to