Coder Social home page Coder Social logo

mwundo's Introduction

mwundo

Build Status

GeoJSON object, spray-json and circe formats, and basic Geo/Geometry

Include in your project

Add the following to your SBT dependencies:

"com.monsanto.labs" %% "mwundo-core" % "0.5.0"

And then optionally add one of the provided marshalling modules:

"com.monsanto.labs" %% "mwundo-spray" % "0.5.0"

"com.monsanto.labs" %% "mwundo-crice" % "0.5.0"

For version 0.2.0 and prior, add the following to your SBT dependencies:

"com.monsanto.labs" %% "mwundo" % "0.2.0"

You may also need to add:

resolvers += Resolver.bintrayRepo("monsanto", "maven")

Since version 0.4.0, the library is also compiled for Scala.js. As with other Scala.js dependencies, you would use %%% instead of %%.

About

"mwundo" is Swahili for "shape," plus its fun to say.

We couldn't find a great set of GeoJson de/serializers for Scala. Beyond that, we found ourselves continually reaching into the antique "JTS" library for basic geometry functions and needed a common place to collect our own.

We hope to build mwundo into a general purpose Geography / GIS / Computational Geometry package for Scala, at least bit by bit. Contributions more than welcome!

mwundo's People

Contributors

bkrodgers avatar chrisshafer avatar dickwall avatar jfklingler avatar pjberry avatar ryan-richt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mwundo's Issues

Bintray 403

Since binary sunset, I have problem downloading mwundo-core and mwundo-circe
download error: Caught java.io.IOException: Server returned HTTP response code: 403 for URL: https://dl.bintray.com/monsanto/maven/com/monsanto/labs/mwundo-core_2.12/0.3.2/mwundo-core_2.12-0.3.2.pom

Can you publish elsewhere ?

Cross compile for scala 2.12

Scala 2.12 was release several months ago and a quick check shows dependencies have 2.12 versions available. The only exception was spray-testkit but it doesn't look like that's even being used.

Properties with different keys fail

Combining Features with two different property formats fails with type mismatch error

Error:(183, 56) type mismatch; found : List[GeoJson.Geometry with Product with Serializable with GeoJson.Coords[Equals], _ >: XProperties with YProperties <: Product with Serializable]] required: Seq[GeoJson.Feature[G,P]] val featureCollection = GeoJson.FeatureCollection(features,

Also combing different geometries into a single FeatureCollection fails

Status of this repo?

Just want to check if this repo is maintained by anyone at bayer/monsanto?
We use it internally and need to make some dependency upgrades in the near future.
Trying to figure out whether it's worthwhile to submit a PR or start an internal fork.
Thanks!

Typo in Readme

There is a typo in the circe dependency in the Readme.

"com.monsanto.labs" %% "mwundo-crice" % "0.5.0" should be "com.monsanto.labs" %% "mwundo-circe" % "0.5.0"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.