public class GeohashReferenceSystem extends ReferencingByIdentifiers
Defined in the sis-referencing-by-identifiers
module
Modifier and Type | Class and Description |
---|---|
class |
GeohashReferenceSystem.Coder
Conversions between direct positions and geohashes.
|
static class |
GeohashReferenceSystem.Format
The encoding format used by
GeohashReferenceSystem.Coder . |
OVERALL_OWNER_KEY, THEME_KEY
DEPRECATED_KEY, LOCALE_KEY
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Constructor and Description |
---|
GeohashReferenceSystem(GeohashReferenceSystem.Format format,
GeographicCRS crs)
Creates a new geohash reference system for the given format and coordinate reference system.
|
Modifier and Type | Method and Description |
---|---|
GeohashReferenceSystem.Coder |
createCoder()
Returns a new object performing conversions between
DirectPosition and geohashes. |
GeohashReferenceSystem.Format |
getFormat()
Returns the encoding/decoding format.
|
computeHashCode, equals, formatTo, getLocationTypes, getOverallOwner, getTheme
getDomainOfValidity, getInterface, getScope
castOrCopy, equals, getAlias, getDescription, getIdentifiers, getName, getRemarks, hashCode, isDeprecated, isHeuristicMatchForName
print, toString, toString, toWKT
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAlias, getIdentifiers, getName, getRemarks, toWKT
public GeohashReferenceSystem(GeohashReferenceSystem.Format format, GeographicCRS crs) throws GazetteerException
format
- the format used by the GeohashReferenceSystem.Coder
.crs
- the coordinate reference system. This is usually CommonCRS.defaultGeographic()
.GazetteerException
- if the reference system can not be created.public GeohashReferenceSystem.Format getFormat()
public GeohashReferenceSystem.Coder createCoder()
DirectPosition
and geohashes.
The returned object is not thread-safe; a new instance must be created
for each thread, or synchronization must be applied by the caller.DirectPosition
and geohashes.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.