gnieh / geo-scala   0.4.0

Apache License 2.0 GitHub

A core AST and utilities to manipulate geographical data

Scala versions: 3.x 2.13 2.12
Scala.js versions: 1.x
Scala Native versions: 0.4

geo-scala

Maven Central Continuous Integration

A core AST and utilities for GeoJSON (RFC 7946) and more. Builds for Scala 3, 2.13, and 2.12 on JVM, JS, and Scala Native.

The project is divided in several submodules:

  • core contains the data model for geographical entities;
  • circe contains a set of circe encoders and decoders for GeoJSON data model;
  • jsoniter-scala contains a set of jsoniter-scala codecs for GeoJSON data model;
  • polyline contains utilities to convert GeoJSON line strings to and from polylines.

Quickstart

Add the following dependency in your sbt build configuration (use %%% instead of %% for JS and Native):

"org.gnieh" %% "geo-scala" % "<version from badge above>"

Note that versions up to 0.2.0 were published under com.free2move and JVM-only (2.12 and 2.13), so you need

"con.free2move" %% "geo-scala" % "0.2.0"

instead.

Code of Conduct

This project uses the Scala Code of Conduct - see here.

License

Copyright © 2019 GHM Mobile Development GmbH.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.