All Projects → simonepri → is-sea

simonepri / is-sea

Licence: MIT License
🌊 Check whether a geographic coordinate is in the sea or not on the earth.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to is-sea

Country Iso
🗺 Get the ISO 3166-1 alpha-3 country code from geographic coordinates.
Stars: ✭ 141 (+314.71%)
Mutual labels:  geojson, maps
geojson-editor
A modified version of Googles Simple GeoJSON Editor
Stars: ✭ 43 (+26.47%)
Mutual labels:  geojson, maps
Geojsonify
Easily add GeoJson layers to your Maps
Stars: ✭ 141 (+314.71%)
Mutual labels:  geojson, maps
Geo Maps
🗺 High Quality GeoJSON maps programmatically generated.
Stars: ✭ 1,098 (+3129.41%)
Mutual labels:  geojson, maps
check-geojson
a checker for the geojson format. goes beyond a schema, checking semantics and producing character-level warnings.
Stars: ✭ 36 (+5.88%)
Mutual labels:  geojson, maps
Geoswift
The Swift Geometry Engine.
Stars: ✭ 1,267 (+3626.47%)
Mutual labels:  geojson, maps
echarty
Minimal R/Shiny Interface to ECharts.js
Stars: ✭ 49 (+44.12%)
Mutual labels:  geojson, maps
Mapstore2
Modern webmapping with OpenLayers, Leaflet and React
Stars: ✭ 251 (+638.24%)
Mutual labels:  geojson, maps
geofiddle
Geometric conversions between different formats and projections
Stars: ✭ 15 (-55.88%)
Mutual labels:  geojson, maps
osm-static-maps
Openstreetmap static maps is a nodejs lib, CLI and server open source inspired on google static map service
Stars: ✭ 130 (+282.35%)
Mutual labels:  geojson, maps
Mapbox Gl Native
Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
Stars: ✭ 4,091 (+11932.35%)
Mutual labels:  geojson, maps
osm-geojson
🔰 Get GeoJSON of a OpenStreetMap's relation from the API.
Stars: ✭ 42 (+23.53%)
Mutual labels:  geojson, maps
Android Maps Utils
Maps SDK for Android Utility Library
Stars: ✭ 3,330 (+9694.12%)
Mutual labels:  geojson, maps
Mapbox Gl Native Android
Interactive, thoroughly customizable maps in native Android powered by vector tiles and OpenGL
Stars: ✭ 135 (+297.06%)
Mutual labels:  geojson, maps
chilemapas
Mapas terrestres de Chile con topologias simplificadas.
Stars: ✭ 23 (-32.35%)
Mutual labels:  geojson, maps
geoJSON-Nepal
GeoJSON for Nepal. 🇳🇵
Stars: ✭ 49 (+44.12%)
Mutual labels:  geojson, maps
vaguely-rude-places
The map of Vaguely Rude Place Names
Stars: ✭ 19 (-44.12%)
Mutual labels:  geojson, maps
django-graphql-geojson
GeoJSON support for Graphene Django
Stars: ✭ 61 (+79.41%)
Mutual labels:  geojson, maps
terraformer-arcgis-parser
No description or website provided.
Stars: ✭ 30 (-11.76%)
Mutual labels:  geojson
erdapfel
Qwant Maps front-end
Stars: ✭ 84 (+147.06%)
Mutual labels:  maps

is-sea

Travis CI Codecov npm npm version npm dependencies npm dev dependencies

🌊 Check whether a geographic coordinate is in the sea or not on the earth.

Click on the map to see a live preview.

Synopsis

Given the latitude and longitude coordinates this package returns whether the point fall into a sea/ocean or not.

The package internally uses @geo-maps/earth-seas map with 10m resolution. The accuracy of the map has not been tested but the demo allows you to actually test it manually by just clicking on the map to see what it returns.

Do you believe that this is useful? If so, support us with a ⭐️!

Install

$ npm install --save is-sea

Usage

You can query any (lat,lng) pair on the earth.

const isSea = require('is-sea');

// Query a point in Italy.
isSea.get(41.9028, 12.4964);
// => false

// Query a point somewhere in Atlantic Ocean.
isSea.get(40, -40);
// => true

API

get(lat, lng) ⇒ Array.<string>

Returns wheather the given point is in the sea or not.

Returns: Array.<string> - True if the point is in the sea, false otherwise.

Param Type Description
lat number The latitude of the point.
lng number The longitude of the point.

Related

  • country-iso: 🗺 Get ISO 3166-1 alpha-3 country code from geographic coordinates.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].