Package

geotrellis

slick

Permalink

package slick

Visibility
  1. Public
  2. All

Type Members

  1. trait PostGisProjectionSupport extends PgPostGISExtensions

    Permalink

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

    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

  2. trait PostGisSupport extends PgPostGISExtensions

    Permalink

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

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

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

    based on com.github.tminglei.slickpg.PgPostGISSupport

Ungrouped