geotrellis.slick

PostGisProjectionSupport

class PostGisProjectionSupport extends PostGisExtensions

This class provides column types and extension methods to work with Geometry columns associated with an SRID in PostGIS.

Sample Usage: val PostGIS = new PostGisProjectionSupport(PostgresDriver) import PostGIS._ class City(tag: Tag) extends Table[(Int,String,Projected[Point])](tag, "cities") { def id = column[Int]("id", O.PrimaryKey, O.AutoInc) def name = column[String]("name") def geom = column[Projected[Point]]("geom") def * = (id, name, geom) }

based on com.github.tminglei.slickpg.PgPostGISSupport

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

Instance Constructors

  1. new PostGisProjectionSupport(driver: JdbcDriver)

Type Members

  1. type GEOMETRY = Projected[Geometry]

  2. type GEOMETRYCOLLECTION = Projected[GeometryCollection]

  3. class GeometryColumnExtensionMethods[G1 <: GEOMETRY, P1] extends ExtensionMethods[G1, P1]

    Extension methods for postgis Columns

  4. type LINESTRING = Projected[Line]

  5. type POINT = Projected[Point]

  6. type POLYGON = Projected[Polygon]

  7. trait PostGisAssistants extends AnyRef

    Definition Classes
    PostGisExtensions
  8. class ProjectedGeometryJdbcType[T <: Projected[Geometry]] extends scala.slick.driver.JdbcDriver.DriverJdbcType[T]

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. object GeomLibrary

    Definition Classes
    PostGisExtensions
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val driver: JdbcDriver

  10. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. implicit val geometryCollectionTypeMapper: ProjectedGeometryJdbcType[GEOMETRYCOLLECTION]

  14. implicit def geometryColumnExtensionMethods[G1 <: GEOMETRY](c: Column[G1]): GeometryColumnExtensionMethods[G1, G1]

  15. implicit def geometryOptionColumnExtensionMethods[G1 <: GEOMETRY](c: Column[Option[G1]]): GeometryColumnExtensionMethods[G1, Option[G1]]

  16. implicit val geometryTypeMapper: ProjectedGeometryJdbcType[GEOMETRY]

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

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

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. implicit val lineTypeMapper: ProjectedGeometryJdbcType[LINESTRING]

  21. implicit val multiLineTypeMapper: ProjectedGeometryJdbcType[Projected[MultiLine]]

  22. implicit val multiPointTypeMapper: ProjectedGeometryJdbcType[Projected[MultiPoint]]

  23. implicit val multiPolygonTypeMapper: ProjectedGeometryJdbcType[Projected[MultiPolygon]]

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

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

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

    Definition Classes
    AnyRef
  27. implicit val pointTypeMapper: ProjectedGeometryJdbcType[POINT]

  28. implicit val polygonTypeMapper: ProjectedGeometryJdbcType[POLYGON]

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PostGisExtensions

Inherited from AnyRef

Inherited from Any

Ungrouped