com.foursquare.geo.quadtree

ShapefileGeo

object ShapefileGeo

A loader for our custom shapefiles used in reverse geocoding

The shapefiles are expected to have three attributes: A geometry attribute (describes the feature's shape) A key attribute (e.g. timezone, country code, etc) An index attribute generated by our batch simplification process Which describes an shape's path in the Quadtree. The name of the index attribute explains the layout and levels of the quadtree for example, GI40_2_2_2 divides the world up into (40 x 40) At the top level, then (2 x 2), then (2 x 2), then (2 x 2). At the last level, the actual shapes are preserved.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ShapefileGeo
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class BoxBoundaryFudger extends Fudger

    Tries to fudge by drawing a bounding rectangle around each shape.

  2. class CentroidDistanceFudger extends Fudger

    Determines centroid of each shape, calculates euclid dist to coord

  3. trait Fudger extends AnyRef

    A fudger is used when no map shapes contain the point.

  4. case class GeoBounds(minLong: Double, minLat: Double, width: Double, height: Double) extends Product with Serializable

  5. trait KeyShape extends AnyRef

  6. class MultiFudger extends Fudger

  7. class MultiFudgerCC extends MultiFudger

  8. class MultiFudgerTZ extends MultiFudger

  9. class OpenOceanDefaultFudger extends Fudger

  10. class OpenOceanMeridianFudgerTZ extends Fudger

  11. class ShapeLeafNode extends KeyShape

  12. class ShapeTrieNode extends KeyShape

    A node of the Quadtree

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. val geometryFactory: GeometryFactory

  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. val indexAttributePrefix: String

  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def load(url: URL, keyAttribute: String, validValues: Option[Set[String]], defaultValue: String, alwaysCheckGeometry: Boolean): ShapeTrieNode

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped