Re: [R-sig-Geo] How i can do a shape merge?

2019-02-01 Thread Alex M
On 2/1/19 07:11, Fernando Gimeno wrote: > Hello > > I'm looking a method with the same result that Arcgis "merge" > > I have to do a shape merge with a lot of archives but most common tools on > R has not merged alll shape and always i have to export to arcgis. Has > anyone worked this? > > Than

Re: [R-sig-Geo] Reproject MODIS data using R (results in NAs or no spatial extent)

2018-11-29 Thread Alex M
gdalUtils has a get_subdatasets() which is really helpful here, it's just a gdalinfo with grep. Here's what my code looks like for reprojecting, what I found is that even if the hdf has the proj definition, gdal tools don't seem to use it right, so I specify the proj string as the s_srs or a_srs.

Re: [R-sig-Geo] R code for inverse distance to a power

2018-11-08 Thread Alex M
On 11/8/18 05:50, sudheesh pai wrote: > Hi, > > I am looking for an R code to replace the inverse distance to a power > algorithm in QGIS, which has the input as point shape file. the parameters > of algorithm are radius 1 (R1), radius 2 (R2) and the z parameter. > Also, my CRS is 3006 which means

Re: [R-sig-Geo] gdalUtils::gdal_translate()

2018-11-07 Thread Alex M
gdal_translate does work fine for me on R 3.4 That error sounds like your install is having issues picking what gdal installation to use. ?gdal_chooseInstallation perhaps your install was not found correctly amd you need to run gdal_setInstallation? But I also see something in your call that loo

Re: [R-sig-Geo] Problem installing rgdal

2018-11-07 Thread Alex M
ux, ubuntu 18.10. I've been trying to reinstall libgdal-dev but > that did not solve the problem. > > Thanks, > > On Tue, Nov 6, 2018 at 7:12 PM Alex M wrote: > >> On 11/6/18 09:31, Jeremy Kraft wrote: >>> Hello, >>> >>> I'm trying to

Re: [R-sig-Geo] Problem installing rgdal

2018-11-06 Thread Alex M
On 11/6/18 09:31, Jeremy Kraft wrote: > Hello, > > I'm trying to reinstall rgdal, but I have a problem with the sqlite > dependency. > Below is the R output. > > Does someone knows how to solve the problem? > > Thanks, > > Jeremy > >

[R-sig-Geo] Possible rgdal enhancement request related to null attributes

2017-07-07 Thread Alex M
Roger et al, I couldn't find a ticket system for rgdal so this seemed the best place to post. We just hit a bug (in QGIS [1]) of sorts due to a change in behavior in GDAL from 2.1.x to 2.2.x in the way null fields are handled. [2] Short story if you have a column of null values and you save a ge

Re: [R-sig-Geo] R-sig-Geo Digest, Vol 155, Issue 14

2016-07-15 Thread Alex M
Shaun, Thanks I hadn't seen the write functionality before, but last time I looked was a year ago. Very unclear what version they introduced the writing, seems to be 10.4 released at the end of 2015. I suspect the machines around here are still running 10.3 Any idea if you can direct edit those f

Re: [R-sig-Geo] How to reduce the buffering time with the function "buffer" (package raster)

2016-05-10 Thread Alex M
On 05/09/2016 10:36 AM, Nelly Reduan wrote: > But I obtain the error message: > > gdal_proximity.py srcfile dstfile [-srcband n] [-dstband n] > [-of format] [-co name=value]* > [-ot Byte/Int16/Int32/Float32/etc] > [-values n,n,n

Re: [R-sig-Geo] adapting spatial points and wrld_smpl to a reference system implicit in a .nc file

2016-02-22 Thread Alex M
On 02/22/2016 09:50 AM, Agus Camacho wrote: > Dear all, > > Im trying to overlap these points: > https://www.dropbox.com/s/awdclg4cvsdngej/clean%20urosaurus%20records.csv?dl=0 > > and a wrld_simpl object: > library(maptools) > data(wrld_simpl) > > Over this raster layer > https://www.dropbox.com

Re: [R-sig-Geo] wtms data into R

2016-02-10 Thread Alex M
On 02/10/2016 04:20 AM, Clay S wrote: > Is there a quick way to load Web Map Tiling Service (WMTS) data into R? > > Thanks > Theoretically yes, as of GDAL 2.1 http://gdal.org/frmt_wmts.html there is potential to use rgdal or gdalUtils as noted in this older thread http://r-sig-geo.2731867.n2.na

Re: [R-sig-Geo] Creating Raster Brick - Very Slow

2015-12-15 Thread Alex M
Just to be sure, before suggesting possible solutions, you have 12,000 rasters of identical extent (e.g. bands or time slices of the same place)? Thanks, Alex On 12/10/2015 11:09 PM, Stephen Stewart wrote: > Hi everyone! > > I am currently building 8 raster bricks that are made up of 12,000 rast