Giter VIP home page Giter VIP logo

s2utilities's Introduction

S2Utilities

This projects aims at providing a set of tools to make working with geospatial objects quick and painless. These tools were designed with S2 objects (Google's "geometry on a sphere" abstractions) in mind as the leading data structure to be used when working with geospatial data.

Build Status License

Getting S2Utilites

The current stable version is 1.1.0, which is cross-built against Scala 2.11.x and 2.12.x.

If you're using SBT, add the following line to your build file:

libraryDependencies += "com.github.dmarcous" %% "s2utils_2.12" % "1.1.0"

For Maven and other build tools, you can visit search.maven.org.

Quick Start

import com.github.dmarcous.s2utils._

val longitude = 34.777112
val latitude = 32.071801
val s2Level = 14
val s2CellToen = CoordinateConverters.lonLatToS2CellFullToken(longitude, latitude, s2Level)

Resources

API documents in S2Utilities Scaladocs

Packages

S2Utilities contain the following packages : converters - Tools for converting between geo measurement untis and coordinate related objects. geo - Tools for handling jts geometry objects with ease. s2 - Tools for handling S2Cells and related S2 family objects.

converters

UnitConverters - methods for converting between units like degrees-radians, angles-meters. CoordinateConverters - methods for converting between coordinate related objects like radian/polar-cartesian/degrees, lon/lat-s2cell.

geo

GeographyUtilities - methods for handling jts geometry objects with ease like WKT/WKB converters, haversina/geosphere distnace computationg, geometry simplifications.

s2

S2Utilities - methods for handling S2Cells and related S2 family objects like coordinate to cell/cellId/cellToken converters, and providing quick simple access to cell properties like center point, neighbour cells, parent cells.

Credits

Written and maintained by :

Daniel Marcous [email protected]

s2utilities's People

Contributors

dmarcous avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

mn8-technology

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.