Interface BoundaryObserver

All Known Implementing Classes:
PlaceGeocoder, PostalGeocoder

public interface BoundaryObserver
Emit a boundary event when you come across a concrete reference to a boundary, e.g., county or state, district or prefecture.
Author:
ubaldino
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    boundaryLevel1InScope(String normalizedName, org.opensextant.data.Place p)
    Given the name (lower case, strip quotes), the location candidate infers an ADMIN boundary
    void
    boundaryLevel2InScope(String normalizedName, org.opensextant.data.Place p)
    Given the name (lower case, strip quotes), the location candidate infers an ADMIN boundary
    Calculates totals and ratios for the discovered set of boundaries, inferred or explicit.
  • Method Details

    • boundaryLevel1InScope

      void boundaryLevel1InScope(String normalizedName, org.opensextant.data.Place p)
      Given the name (lower case, strip quotes), the location candidate infers an ADMIN boundary
    • boundaryLevel2InScope

      void boundaryLevel2InScope(String normalizedName, org.opensextant.data.Place p)
      Given the name (lower case, strip quotes), the location candidate infers an ADMIN boundary
    • placeMentionCount

      Map<String,PlaceCount> placeMentionCount()
      Calculates totals and ratios for the discovered set of boundaries, inferred or explicit.
      Returns:
      counts for boundary places mentioned or inferred