Class OSMOfflineReverseGeocodingService

java.lang.Object
com.massifmaps.geocoding.ReverseGeocodingService
com.massifmaps.geocoding.OSMOfflineReverseGeocodingService

public class OSMOfflineReverseGeocodingService extends ReverseGeocodingService
A reverse geocoding service that uses custom geocoding database files.
Note: this class is experimental and may change or even be removed in future SDK versions.
  • Constructor Details

    • OSMOfflineReverseGeocodingService

      public OSMOfflineReverseGeocodingService(String path) throws IOException
      Constructs a new instance of the OSMOfflineReverseGeocodingService given path to the geocoding database.
      Parameters:
      path - The full path to the geocoding database file.
      Throws:
      Exception - If the database file could not be opened or read.
      IOException
  • Method Details