global-land-mask
Check whether a lat/lon point in on land or on sea
Decision gist · record as of 2026-08-14
Yes, if you need fast land/ocean classification and can tolerate that the package is no longer maintained. The permissive MIT license and low install friction make it low-risk to add. However, verify that 1 km resolution and the specific treatment of lakes and coastlines match your accuracy requirements before committing to it in production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction installation with no runtime dependencies.
- Package is abandoned as of 2022 with no recent maintenance, so expect no bug fixes or updates.
License · maintenance · safety
permissive license (permissive) — MIT license permits commercial and private use with minimal restrictions, making it safe to integrate into most projects.
last release 2020-10-05 (2139 days) · last repo commit 2022-04-12 · 121 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 76,134 downloads/mo, #14,653 on PyPI
Alternatives
Verify before relying
pip install global-land-mask
from global_land_mask import globe
lat, lon = 40, -120
is_on_land = globe.is_land(lat, lon)
print(is_on_land)- Whether the precompiled land mask data is included in the wheel or downloaded on first use
- Current accuracy compared to other land/sea datasets or whether 1 km resolution is sufficient for your use case
- Whether numpy is actually required at runtime or only for data generation
What it is and what it does
global-land-mask provides a fast lookup function to classify any latitude/longitude point on Earth as land or ocean. It uses a precomputed binary mask derived from the GLOBE elevation dataset, which covers the entire planet at 1 km resolution and is compressed to about 2.5 MB. The package exports two main functions: globe.is_land() and globe.is_ocean(), both of which accept scalar or array inputs for batch queries.
The primary use case is rapid geolocation classification in data pipelines, geospatial analysis, or mapping applications. The documentation indicates significant performance advantages for bulk queries. The package treats lakes as land and acknowledges that resolution is not perfect, but is adequate for many practical purposes.
Use it for
- Filter geographic datasets to include only land-based or ocean-based points before further processing
- Validate or enrich location data in applications that need to classify user coordinates
- Prepare training data for geospatial analysis by labeling points as land or sea
- Generate visualizations or heatmaps that require fast land/ocean classification across grids
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need fast land/ocean classification and can tolerate that the package is no longer maintained.
The permissive MIT license and low install friction make it low-risk to add. However, verify that 1 km resolution and the specific treatment of lakes and coastlines match your accuracy requirements before committing to it in production.
Install
global-land-mask on PyPI
Before you install
Low friction installation with no runtime dependencies. Package is abandoned as of 2022 with no recent maintenance, so expect no bug fixes or updates.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it safe to integrate into most projects.
Quickstart
pip install global-land-mask
from global_land_mask import globe
lat, lon = 40, -120
is_on_land = globe.is_land(lat, lon)
print(is_on_land)
Verify before relying
- Whether the precompiled land mask data is included in the wheel or downloaded on first use
- Current accuracy compared to other land/sea datasets or whether 1 km resolution is sufficient for your use case
- Whether numpy is actually required at runtime or only for data generation
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,139 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 76,134 / month, #14,653 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: global_land_mask-1.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “lat lon land ocean check”
- global-land-maskDetermines whether geographic coordinates (latitude/longitude) fall…
- polylineEncodes and decodes geographic coordinate sequences using Google's…
- mgrsConverts between MGRS (Military Grid Reference System) coordinates…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also haversine · utide · pyGeoTile · searoute · geohash2 · tzwhere · polyline · py-geohex3 · reverse_geocoder · timezonefinder