Skip to content

Instantly share code, notes, and snippets.

@moradology
Created February 13, 2015 16:48
Show Gist options
  • Save moradology/48bd1f7c5aba43b2483d to your computer and use it in GitHub Desktop.
Save moradology/48bd1f7c5aba43b2483d to your computer and use it in GitHub Desktop.

#geotrellis.vector ##Features and Geometries

In addition to working with raster data, Geotrellis provides a number of facilities for the creation, representation, and modification of vector data. The data types central to this functionality (geotrellis.vector.Feature and geotrellis.vector.Geometry) correspond - and not by accident - to certain objects found in the GeoJson spec. Features correspond to the objects listed under features in a geojson FeatureCollection. Geometrys, to geometries in a geojson Feature.

##Geometries The base geometry class can be found in Geometry.scala. Concrete geometries include:

  • geotrellis.vector.Point
  • geotrellis.vector.MultiPoint
  • geotrellis.vector.Line
  • geotrellis.vector.MultiLine
  • geotrellis.vector.Polygon
  • geotrellis.vector.MultiPolygon
  • geotrellis.vector.GeometryCollection

##Features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment