mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
graphics/py-contextily: Add py-contextily 1.6.0
contextily is a small Python 3 package to retrieve tile maps from the internet. It can add those tiles as basemap to matplotlib figures or write tile maps to disk into geospatial raster files. Bounding boxes can be passed in both WGS84 (EPSG:4326) and Spheric Mercator (EPSG:3857). See the notebook contextily_guide.ipynb for usage. The current tile providers that are available in contextily are the providers defined in the xyzservices package. This includes some popular tile maps, such as: - The standard OpenStreetMap map tiles - Toner, Terrain and Watercolor map tiles by Stamen Design
This commit is contained in:
parent
a9619e5670
commit
8bb0e2808e
@ -885,6 +885,7 @@
|
||||
SUBDIR += py-colorthief
|
||||
SUBDIR += py-colorz
|
||||
SUBDIR += py-colour
|
||||
SUBDIR += py-contextily
|
||||
SUBDIR += py-descartes
|
||||
SUBDIR += py-diplib
|
||||
SUBDIR += py-django-easy-thumbnails
|
||||
|
32
graphics/py-contextily/Makefile
Normal file
32
graphics/py-contextily/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
PORTNAME= contextily
|
||||
PORTVERSION= 1.6.0
|
||||
CATEGORIES= graphics python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Context geo-tiles in Python
|
||||
WWW= https://contextily.readthedocs.io/en/latest/ \
|
||||
https://github.com/geopandas/contextily
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}geopy>=0:net/py-geopy@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}joblib>=0:devel/py-joblib@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}mercantile>=0:science/py-mercantile@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}rasterio>=0:graphics/py-rasterio@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}xyzservices>=0:www/py-xyzservices@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/py-contextily/distinfo
Normal file
3
graphics/py-contextily/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1722711127
|
||||
SHA256 (contextily-1.6.0.tar.gz) = 8ab8ea9ec427c07960fae4964cfa6964b88c87546b97896422dbefc9fa8457f3
|
||||
SIZE (contextily-1.6.0.tar.gz) = 22461455
|
11
graphics/py-contextily/pkg-descr
Normal file
11
graphics/py-contextily/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
contextily is a small Python 3 package to retrieve tile maps from the internet.
|
||||
It can add those tiles as basemap to matplotlib figures or write tile maps to
|
||||
disk into geospatial raster files. Bounding boxes can be passed in both WGS84
|
||||
(EPSG:4326) and Spheric Mercator (EPSG:3857). See the notebook
|
||||
contextily_guide.ipynb for usage.
|
||||
|
||||
The current tile providers that are available in contextily are the providers
|
||||
defined in the xyzservices package. This includes some popular tile maps, such
|
||||
as:
|
||||
- The standard OpenStreetMap map tiles
|
||||
- Toner, Terrain and Watercolor map tiles by Stamen Design
|
Loading…
Reference in New Issue
Block a user