case class Projected[+G <: vector.Geometry](geom: G, srid: Int) extends Product with Serializable
A case class which represents Geometry with an SRID.
import geotrellis.proj4._ val projected = Point(1,1).withSRID(4326) // LatLng, trust me val projected = projected.reproject(LatLng, WebMercator)(3857)
- Note
It is up to the application developer to ensure that the SRID parameter stays semantically consistent.
,This exists because PostGIS requires an SRID to be stored with the Geometry and the decision has been made not to encapsulate SRID semantics in the Geometry hierarchy for the moment.
Example:
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Projected
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All