summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorbrook <brook@pkgsrc.org>2020-08-07 03:15:22 +0000
committerbrook <brook@pkgsrc.org>2020-08-07 03:15:22 +0000
commitd14b2c1b0ccba821c10e9e772c8e7c04c89d1d7c (patch)
treee9ec9a5ea275ba7cf3c6baed561a521c5f566587 /geography
parent89b0be63b3f3f884ecd031975abfdd2633a6461b (diff)
downloadpkgsrc-d14b2c1b0ccba821c10e9e772c8e7c04c89d1d7c.tar.gz
geography/R-rgeos: import R-rgeos-0.5.2
Interface to Geometry Engine - Open Source ('GEOS') using the C 'API' for topology operations on geometries. The 'GEOS' library is external to the package, and, when installing the package from source, must be correctly installed first. Windows and Mac Intel OS X binaries are provided on 'CRAN'. ('rgeos' >= 0.5-1): Up to and including 'GEOS' 3.7.1, topological operations succeeded with some invalid geometries for which the same operations fail from and including 'GEOS' 3.7.2. The 'checkValidity=' argument defaults and structure have been changed, from default FALSE to integer default '0L' for 'GEOS' < 3.7.2 (no check), '1L' 'GEOS' >= 3.7.2 (check and warn). A value of '2L' is also provided that may be used, assigned globally using 'set_RGEOS_CheckValidity(2L)', or locally using the 'checkValidity=2L' argument, to attempt zero-width buffer repair if invalid geometries are found. The previous default (FALSE, now '0L') is fastest and used for 'GEOS' < 3.7.2, but will not warn users of possible problems before the failure of topological operations that previously succeeded.
Diffstat (limited to 'geography')
-rw-r--r--geography/Makefile3
-rw-r--r--geography/R-rgeos/DESCR17
-rw-r--r--geography/R-rgeos/Makefile16
-rw-r--r--geography/R-rgeos/distinfo6
4 files changed, 41 insertions, 1 deletions
diff --git a/geography/Makefile b/geography/Makefile
index ecc4b6bea2a..131455c12eb 100644
--- a/geography/Makefile
+++ b/geography/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.84 2020/08/07 01:45:47 brook Exp $
+# $NetBSD: Makefile,v 1.85 2020/08/07 03:15:22 brook Exp $
#
COMMENT= Software for geographical-related uses
@@ -9,6 +9,7 @@ SUBDIR+= R-geosphere
SUBDIR+= R-mapdata
SUBDIR+= R-maps
SUBDIR+= R-maptools
+SUBDIR+= R-rgeos
SUBDIR+= cm2gpx
SUBDIR+= cmconvert
SUBDIR+= epsg
diff --git a/geography/R-rgeos/DESCR b/geography/R-rgeos/DESCR
new file mode 100644
index 00000000000..718a778747f
--- /dev/null
+++ b/geography/R-rgeos/DESCR
@@ -0,0 +1,17 @@
+Interface to Geometry Engine - Open Source ('GEOS') using the C 'API'
+for topology operations on geometries. The 'GEOS' library is external
+to the package, and, when installing the package from source, must be
+correctly installed first. Windows and Mac Intel OS X binaries are
+provided on 'CRAN'. ('rgeos' >= 0.5-1): Up to and including 'GEOS'
+3.7.1, topological operations succeeded with some invalid geometries
+for which the same operations fail from and including 'GEOS' 3.7.2.
+The 'checkValidity=' argument defaults and structure have been
+changed, from default FALSE to integer default '0L' for 'GEOS' < 3.7.2
+(no check), '1L' 'GEOS' >= 3.7.2 (check and warn). A value of '2L' is
+also provided that may be used, assigned globally using
+'set_RGEOS_CheckValidity(2L)', or locally using the 'checkValidity=2L'
+argument, to attempt zero-width buffer repair if invalid geometries
+are found. The previous default (FALSE, now '0L') is fastest and used
+for 'GEOS' < 3.7.2, but will not warn users of possible problems
+before the failure of topological operations that previously
+succeeded.
diff --git a/geography/R-rgeos/Makefile b/geography/R-rgeos/Makefile
new file mode 100644
index 00000000000..85524907f54
--- /dev/null
+++ b/geography/R-rgeos/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2020/08/07 03:15:22 brook Exp $
+
+R_PKGNAME= rgeos
+R_PKGVER= 0.5-2
+CATEGORIES= geography
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Interface to Geometry Engine - Open Source ('GEOS')
+LICENSE= gnu-gpl-v2 OR gnu-gpl-v3
+
+USE_LANGUAGES+= c c++
+
+.include "../../math/R/Makefile.extension"
+.include "../../geography/geos/buildlink3.mk"
+.include "../../math/R-sp/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/geography/R-rgeos/distinfo b/geography/R-rgeos/distinfo
new file mode 100644
index 00000000000..6d72226e94a
--- /dev/null
+++ b/geography/R-rgeos/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/08/07 03:15:22 brook Exp $
+
+SHA1 (R/rgeos_0.5-2.tar.gz) = 0eeda0189516f93dde387986a79ea400c76c33f3
+RMD160 (R/rgeos_0.5-2.tar.gz) = 0178e7677a348f2257a1b95acf421ada1d567d3c
+SHA512 (R/rgeos_0.5-2.tar.gz) = 91aadf718e0e7e0dcfd96e0222acc86765e34e46732cc4d1820d530dc86ce3815b9585375cd82104899a2c564dee62b0f9c43b00161a99c8f9a750255f928551
+Size (R/rgeos_0.5-2.tar.gz) = 258710 bytes