geography/py-gdal: import py27-gdal-2.2.3

GDAL is a translator library for raster geospatial data formats that
is released under an X/MIT style Open Source license. As a library, it
presents a single abstract data model to the calling application for
all supported formats.  The related OGR library (which lives within
the GDAL source tree) provides a similar capability for simple
features vector data. It includes roughly 60 format drivers. Current
translators include:
	* GeoTIFF 		(read/write)
	* Erdas Imagine		(read/write)
	* ESRI .BIL 		(read)
	* .aux labelled raw	(read/write)
	* DTED 			(read)
	* SDTS DEM 		(read)
	* CEOS 			(read)
	* JPEG 			(read/write)
	* PNG 			(read/write)
	* Geosoft GXF		(read)
	* Arc/Info Binary Grid 	(read)
A full list is available at http://www.gdal.org/formats_list.html.

This package is a binding for Python language.
This commit is contained in:
ryoon 2018-02-19 12:09:17 +00:00
parent e261c8d7c4
commit 21c6b13c75
3 changed files with 119 additions and 0 deletions

21
geography/py-gdal/DESCR Normal file
View file

@ -0,0 +1,21 @@
GDAL is a translator library for raster geospatial data formats that
is released under an X/MIT style Open Source license. As a library, it
presents a single abstract data model to the calling application for
all supported formats. The related OGR library (which lives within
the GDAL source tree) provides a similar capability for simple
features vector data. It includes roughly 60 format drivers. Current
translators include:
* GeoTIFF (read/write)
* Erdas Imagine (read/write)
* ESRI .BIL (read)
* .aux labelled raw (read/write)
* DTED (read)
* SDTS DEM (read)
* CEOS (read)
* JPEG (read/write)
* PNG (read/write)
* Geosoft GXF (read)
* Arc/Info Binary Grid (read)
A full list is available at http://www.gdal.org/formats_list.html.
This package is a binding for Python language.

View file

@ -0,0 +1,33 @@
# $NetBSD: Makefile,v 1.1 2018/02/19 12:09:17 ryoon Exp $
.include "../../geography/gdal-lib/Makefile.common"
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gdal.org/
COMMENT= Translator library for raster geospatial data formats, Python binding
LICENSE= mit
BUILD_DIRS= swig/python
MAKE_FILE= GNUmakefile
REPLACE_PYTHON+= swig/python/scripts/*py
INSTALLATION_DIRS= bin
.include "../../mk/bsd.prefs.mk"
EGG_NAME?= GDAL-2.2.2
EGG_INFODIR?= ${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
PLIST_SUBST+= PYSITELIB=${PYSITELIB}
PLIST_SUBST+= EGG_NAME=${EGG_NAME}-py${PYVERSSUFFIX}
PLIST_SUBST+= EGG_INFODIR=${EGG_INFODIR}
PRINT_PLIST_AWK+= { gsub(/${EGG_NAME}-py${PYVERSSUFFIX}.egg-info/, \
"$${EGG_INFODIR}") }
.include "../../geography/gdal-lib/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../lang/python/application.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

65
geography/py-gdal/PLIST Normal file
View file

@ -0,0 +1,65 @@
@comment $NetBSD: PLIST,v 1.1 2018/02/19 12:09:18 ryoon Exp $
bin/epsg_tr.py
bin/esri2wkt.py
bin/gcps2vec.py
bin/gcps2wld.py
bin/gdal2tiles.py
bin/gdal2xyz.py
bin/gdal_auth.py
bin/gdal_calc.py
bin/gdal_edit.py
bin/gdal_fillnodata.py
bin/gdal_merge.py
bin/gdal_pansharpen.py
bin/gdal_polygonize.py
bin/gdal_proximity.py
bin/gdal_retile.py
bin/gdal_sieve.py
bin/gdalchksum.py
bin/gdalcompare.py
bin/gdalident.py
bin/gdalimport.py
bin/gdalmove.py
bin/mkgraticule.py
bin/ogrmerge.py
bin/pct2rgb.py
bin/rgb2pct.py
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/gdal.py
${PYSITELIB}/gdal.pyc
${PYSITELIB}/gdalconst.py
${PYSITELIB}/gdalconst.pyc
${PYSITELIB}/gdalnumeric.py
${PYSITELIB}/gdalnumeric.pyc
${PYSITELIB}/gnm.py
${PYSITELIB}/gnm.pyc
${PYSITELIB}/ogr.py
${PYSITELIB}/ogr.pyc
${PYSITELIB}/osgeo/__init__.py
${PYSITELIB}/osgeo/__init__.pyc
${PYSITELIB}/osgeo/_gdal.so
${PYSITELIB}/osgeo/_gdal_array.so
${PYSITELIB}/osgeo/_gdalconst.so
${PYSITELIB}/osgeo/_gnm.so
${PYSITELIB}/osgeo/_ogr.so
${PYSITELIB}/osgeo/_osr.so
${PYSITELIB}/osgeo/gdal.py
${PYSITELIB}/osgeo/gdal.pyc
${PYSITELIB}/osgeo/gdal_array.py
${PYSITELIB}/osgeo/gdal_array.pyc
${PYSITELIB}/osgeo/gdalconst.py
${PYSITELIB}/osgeo/gdalconst.pyc
${PYSITELIB}/osgeo/gdalnumeric.py
${PYSITELIB}/osgeo/gdalnumeric.pyc
${PYSITELIB}/osgeo/gnm.py
${PYSITELIB}/osgeo/gnm.pyc
${PYSITELIB}/osgeo/ogr.py
${PYSITELIB}/osgeo/ogr.pyc
${PYSITELIB}/osgeo/osr.py
${PYSITELIB}/osgeo/osr.pyc
${PYSITELIB}/osr.py
${PYSITELIB}/osr.pyc