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_KEYDEPRECATED_KEY, LOCALE_KEYDOMAIN_OF_VALIDITY_KEY, SCOPE_KEYALIAS_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, getThemegetDomainOfValidity, getInterface, getScopecastOrCopy, equals, getAlias, getDescription, getIdentifiers, getName, getRemarks, hashCode, isDeprecated, isHeuristicMatchForNameprint, toString, toString, toWKTclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAlias, getIdentifiers, getName, getRemarks, toWKTpublic 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.