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.
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.
This project uses the Scala Code of Conduct - see here.
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.