Skip to content

scottbyrns/Java-Geocoder-Utilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Java Geocoder Utilities

So we don't have to build a geocoder wrapper around every new API. Here is a generic interface to geocoding services.

Repository

<repositories>
    <repository>
        <id>scottbyrns-snapshots</id>
        <url>https://github.com/scottbyrns/Scottbyrns-Maven-Repo/raw/master/snapshots</url>
    </repository>
</repositories>

Dependency

<dependency>
    <groupId>com.scottbyrns.geocoder</groupId>
    <artifactId>Utility</artifactId>
    <version>1.0.4-SNAPSHOT</version>
</dependency>

Usage

Simply create a Geocoder and ask it to getTheGeoLocationOf a PhysicalAddress.

GeoLocation location = Geocoder.getTheLocationOf(new PhysicalAddress());

This will return the location of the provided PhysicalAddress.

location.getLatitude();
location.getLongitude();

and to look up a location use NOT YET IMPLEMENTED

Geocoder.getTheAddressOf(new GeoLocation());

About

INCOMPLETE: Java Geocoder Utilities to convert addresses into geolocaitons.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages