Skip to content

A TS library that can be used to convert a GeoJSON MultiPolygon or Polygon into a list of geohashes that form it.

License

Notifications You must be signed in to change notification settings

wajeehmisbahkhan/PolygonGeohash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polygon Geohash

This library can be used to convert a GeoJSON MultiPolygon or Polygon into a list of geohashes that form it.

[![NPM Version][npm-image]][https://www.npmjs.com/package/polygongeohash] [![Downloads Stats][npm-downloads]][https://www.npmjs.com/package/polygongeohash]

This code and working for this library is stolen inspired from: https://github.com/marcelreppi/shape2geohash

The reason for its creation is that the given library was specifically made for the backend and I needed to use it in a front end project but couldn't get it to work.

Installation

To install in your project:

npm install polygongeohash --save

Usage example

A few motivating and useful examples of how your product can be used. Spice this up with code blocks and potentially more screenshots.

For more examples and usage, please refer to the [Wiki][wiki].

Development setup

Describe how to install all development dependencies and how to run an automated test-suite of some kind. Potentially do this for multiple platforms.

make install
npm test

Release History

  • 1.0.0
    • Bismillah

Contributing

  1. Fork it (https://github.com/wajeehmisbahkhan/polygongeohash/fork)
  2. Create your feature branch (git checkout -b feature/foo-bar)
  3. Commit your changes (git commit -am 'Add some foo-bar')
  4. Push to the branch (git push origin feature/foo-bar)
  5. Create a new Pull Request

About

A TS library that can be used to convert a GeoJSON MultiPolygon or Polygon into a list of geohashes that form it.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published