Re: [R-sig-Geo] tpk files

2019-04-11 Thread Shaun Walbridge
I think the issue is, most GDAL installations don't have the Geopackage raster driver [1] installed by default, which lists "Needs libsqlite3 (and any or all of PNG, JPEG, WEBP drivers)" for it to be available. At least on my Homebrew installation of GDAL, this driver wasn't built out of the

Re: [R-sig-Geo] Issues with a GDB file in R?

2018-05-02 Thread Shaun Walbridge
Hello Roman, A couple of suggested options: You can try and use the arcgisbinding package [1] to pull the data directly into R via ArcGIS, as you mentioned you have ArcGIS available [presumably on Windows or in a VM]. It will access the data directly, and let you create sp and sf objects out

[R-sig-Geo] Esri Workshop: Working with R and ArcGIS

2017-08-29 Thread Shaun Walbridge
This Thursday, August 31st, Esri is hosting an online workshop detailing how ArcGIS can be used in conjunction with R, using the arcgisbinding package:   https://www.esri.com/training/catalog/596e5ab6b826875993ba4fd9/ There are three time slots available, the bottom of the linked page includes

Re: [R-sig-Geo] Problem with Proj when loading 'rgdal' on Super Computer Facility

2017-06-19 Thread Shaun Walbridge
Try passing the configure arguments to the command directly to rproj: install.packages('rgdal', configure.args = '--with-proj-include=/correct/proj4/include --with-proj-lib=/correct/proj4/lib --with-proj-share=/correct/proj4/share') On 6/19/17, 10:33 AM, "R-sig-Geo on behalf of Ryan Runquist"

Re: [R-sig-Geo] proj4string read by readOGR doesn't seem to precisely specify source shapefile projection

2017-06-14 Thread Shaun Walbridge
Glen, Round-tripping projection information can be tricky, in part because the normalization routines vary between different stacks, and what counts as the same form is also implementation dependent. In this case (round-tripping with ArcGIS), you may be better off using the arcgisbinding package

Re: [R-sig-Geo] Problems with installing rgdal on Ubuntu "checking gdal: linking with --libs only... no"

2016-08-04 Thread Shaun Walbridge
I've had good luck using checkinstall [1] to manage custom compiled packages as well, if you do want to have custom compiled packages which are registered with the system package management system. I've found this to be invaluable when working with dependency heavy packages like GDAL. 1.

Re: [R-sig-Geo] mapping of administrative areas to postal codes

2016-01-25 Thread Shaun Walbridge
You can extract the data fairly easily using the REST API to pull out what you want. For example, this URL contains the regions: http://www.arcgis.com/home/item.html?id=0dd32a9c77b8400ebf60261571b9134b That data can be downloaded directly in the browser, or using something like cURL. Note that

Re: [R-sig-Geo] Flow Accumulation Algorithm

2015-11-18 Thread Shaun Walbridge
You could also look at calling out to a GIS environment from R to make the calculation. For example, there are bridge libraries to talk to SAGA [1], GRASS [2], and ArcGIS [3] from within R which can all read data formats raster can create. 1. https://cran.r-project.org/web/packages/RSAGA/ 2.

Re: [R-sig-Geo] Landscape metrics: SDMTools. Error installation

2015-09-16 Thread Shaun Walbridge
Try installing it from CRAN instead: # R version 3.1.3 (2015-03-09) -- "Smooth Sidewalk" # Platform: i386-w64-mingw32/i386 (32-bit) install.packages("SDMTools") # le package ‘SDMTools’ a été décompressé et les sommes MD5 ont été vérifiées avec succés -- Shaun Walbridge G

Re: [R-sig-Geo] problem with accents and Catalan characters (for ex. ç) using geocode function (ggmap)

2015-08-24 Thread Shaun Walbridge
in a duplication of effort. -- Shaun Walbridge GIS Developer On 8/24/15, 4:43 AM, R-sig-Geo on behalf of Marc Marí Dell'Olmo r-sig-geo-boun...@r-project.org on behalf of marceivi...@gmail.com wrote: Dear all, I'm trying to geocode addresses (of Catalonia) with accents and Catalan characters

Re: [R-sig-Geo] looking for data from ASDAR

2015-08-06 Thread Shaun Walbridge
The website [1] has a zip archive, that looks to contain both the data and code used: http://www.asdar-book.org/bundles2ed/sppa_bundle.zip 1. http://www.asdar-book.org/data2ed.php?chapter=6 -- Shaun Walbridge GIS Developer On 8/6/15, 3:43 PM, R-sig-Geo on behalf of Harold-Jeffrey Ship r

Re: [R-sig-Geo] CRS format

2015-07-29 Thread Shaun Walbridge
/World_Geodetic_System#WGS84 -- Shaun Walbridge GIS Developer From: R-sig-Geo r-sig-geo-boun...@r-project.org on behalf of adeela uaf adeela@gmail.com Date: Wednesday, July 29, 2015 at 11:49 PM To: R-sig-geo Mailing List R-sig-Geo@r-project.org Subject: [R-sig-Geo] CRS format Hi, I want to project

Re: [R-sig-Geo] Adding (custom) tags to a geotif

2015-07-01 Thread Shaun Walbridge
]. 1. http://www.gdal.org/frmt_gtiff.html 2. http://www.gdal.org/classGDALPamDataset.html#_details 3. http://plotkml.r-forge.r-project.org/spMetadata.html -- Shaun Walbridge GIS Developer On 7/1/15, 6:28 AM, R-sig-Geo on behalf of Matteo Mattiuzzi r-sig-geo-boun...@r-project.org on behalf

Re: [R-sig-Geo] How to “smooth” a raster map

2015-06-29 Thread Shaun Walbridge
a surface containing viable crop locations. As a starting point, I'd recommend the Mennis and Hultgren paper [1] on intelligent dasymetric mapping. 1. https://scholar.google.com/citations?view_op=view_citationcitation_for_vie w=tyqlZucJ:2osOgNQ5qMEC -- Shaun Walbridge GIS Developer On 6/29/15

Re: [R-sig-Geo] OSX, rgdal, GDAL drivers and HDF4

2015-06-03 Thread Shaun Walbridge
I missed a step -- first you'll need to add Homebrew-versions [1], which provides older releases of existing packages: brew tap homebrew/versions The commands listed should then work. 1. https://github.com/Homebrew/homebrew-versions -- Shaun Walbridge GIS Developer c: 805.722.9025 t: @scw

Re: [R-sig-Geo] OSX, rgdal, GDAL drivers and HDF4

2015-06-02 Thread Shaun Walbridge
Have you tried with the homebrew project? HDF4 isn¹t a default supported driver, but it¹s easy enough to add: brew install hdf4 # prefer hdf4 links over NetCDF brew link --overwrite hdf4 brew install gdal --complete --enable-unsupported --with-hdf4 # check what drivers are installed,

Re: [R-sig-Geo] Proj4string for NASA GPW v3 and Blue Marble world city light map?

2015-05-07 Thread Shaun Walbridge
The specific projection information is contained within the raster datasets you download, in the related ASCII, Bil or GRID file. The metadata you see on that page is just a human readable representation of the data coverage, not intended to directly map to the full spatial reference. -- Shaun

Re: [R-sig-Geo] Data excess from KNB

2015-05-04 Thread Shaun Walbridge
Dr. Dave, This list is for issues regarding spatial R. You¹ll have better luck using the support systems for the Kepler project: https://kepler-project.org/users/support Or, if the issue is specific to KNB, try the KNB contact email at: knb-h...@nceas.ucsb.edu -- Shaun Walbridge c