Skip to content

Instantly share code, notes, and snippets.

@guizmaii
Created February 19, 2018 10:08
Show Gist options
  • Select an option

  • Save guizmaii/e4bac45621f1489c78dcdb71a9cdf23a to your computer and use it in GitHub Desktop.

Select an option

Save guizmaii/e4bac45621f1489c78dcdb71a9cdf23a to your computer and use it in GitHub Desktop.
JST GeometryFactory instance
import com.vividsolutions.jts.geom.{GeometryFactory, PrecisionModel}
object GeometryFactoryInstance {
lazy val instance: GeometryFactory = new GeometryFactory(new PrecisionModel(), 4326)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment