Re: [R-sig-Geo] Question on hierarchical data format 5 .h5 file format

2021-11-14 Thread Gabriel Cotlier
x27;m not sure how to make a regular raster (in some CRS) out of this > for exporting to GeoTIFF. > > On 14/11/2021 11:00, Edzer Pebesma wrote: > > This might be because the grid is not regular but possibly curvilinear, > > having two raster layers with the lon & lat values f

Re: [R-sig-Geo] Question on hierarchical data format 5 .h5 file format

2021-11-14 Thread Gabriel Cotlier
ggest for converting the .h5 file to a georeferenced Raster Layer in GeoTIFF format ? Thanks a lot. Kind regards, Gabriel On Sat, Nov 13, 2021 at 12:22 PM Gabriel Cotlier wrote: > Dear Michael Summer, > Thanks a lot for your swift reply. > I will give a try to the procedure you mentioned. > Ki

Re: [R-sig-Geo] Question on hierarchical data format 5 .h5 file format

2021-11-13 Thread Gabriel Cotlier
han rhdf5 but all are quite different to each other > and to the gdal view. > > hth > > On Sat, 13 Nov 2021, 18:56 Gabriel Cotlier, wrote: > >> Hello, >> >> I would like to be able to visualize / plot a specific data layer within >> the structure a hierarchic

[R-sig-Geo] Question on hierarchical data format 5 .h5 file format

2021-11-12 Thread Gabriel Cotlier
ckage as a common raster layer. If any small guidance example, reprex, of this procedure is possible it would be appreciated. Thanks a lot in advance Kind regards, Gabriel Cotlier -- Gabriel Cotlier, PhD Haifa Research Center for Theoretical Physics and Astrophysics (HCTPA) University of Haifa I

Re: [R-sig-Geo] question on raster Moran's I statistical significance

2021-10-25 Thread Gabriel Cotlier
Expectation Variance 9.815120e-01 -1.571336e-06 3.963186e-07 Why could it be running apparently ok in this way ? Thanks a lot again for your help and guidance. Kind regards, Gabriel Cotlier On Mon, Oct 25, 2021 at 2:12 PM Roger Bivand wrote: > On Mon, 25 Oct 2021, Ga

Re: [R-sig-Geo] question on raster Moran's I statistical significance

2021-10-25 Thread Gabriel Cotlier
tw(nb.l, style = "W") : Empty neighbour sets found Could it be something related to the input data layer? How could it be possible to avoid this error for running the code? Thanks a lot for your guidance and help. Kind regards, Gabriel Cotlier On Mon, Oct 25, 2021 at 12:21 PM Gabriel Cotl

Re: [R-sig-Geo] question on raster Moran's I statistical significance

2021-10-25 Thread Gabriel Cotlier
Thank you very much for your response. Yes indeed it clarifies and helps a lot. Kind regards, Gabriel Cotlier On Mon, Oct 25, 2021 at 12:00 PM Roger Bivand wrote: > On Sat, 23 Oct 2021, Gabriel Cotlier wrote: > > > Hello, > > > > I would like to estimate the pseudo p

[R-sig-Geo] question on raster Moran's I statistical significance

2021-10-23 Thread Gabriel Cotlier
uot;Original, Moran's I (p = %0.3f)", M$p.value), xlab="Monte-Carlo Simulation of Moran I", sub =NA, cex.lab=1.5, cex.axis=1.5, cex.main=1.5, cex.sub=1.5) abline(v=M$statistic, col="red", lw=2) dev.off() #############

Re: [R-sig-Geo] question on raster Moran's I statistical significance

2021-10-22 Thread Gabriel Cotlier
"Monte-Carlo Simulation of Moran I", sub =NA, cex.lab=1.5, cex.axis=1.5, cex.main=1.5, cex.sub=1.5) abline(v=M$statistic, col="red", lw=2) dev.off() ############ On Thu, Oct 21, 2021 at 1:13 PM Ga

Re: [R-sig-Geo] R-sig-Geo Digest, Vol 218, Issue 10

2021-10-21 Thread Gabriel Cotlier
#x27;help' to >> r-sig-geo-requ...@r-project.org >> >> You can reach the person managing the list at >> r-sig-geo-ow...@r-project.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents o

Re: [R-sig-Geo] question on raster Moran's I statistical significance

2021-10-21 Thread Gabriel Cotlier
Hello Thanks a lot. Indeed your explanation makes it much more clear. Kind regards, On Thu, Oct 21, 2021 at 11:40 AM Roger Bivand wrote: > On Thu, 21 Oct 2021, Gabriel Cotlier wrote: > > > Hello > > > > Thank you very much. > > I have large raster layers and

Re: [R-sig-Geo] question on raster Moran's I statistical significance

2021-10-20 Thread Gabriel Cotlier
at 8:45 PM Roger Bivand wrote: > On Wed, 20 Oct 2021, Gabriel Cotlier wrote: > > > Hello, > > > > I would like to estimate the Moran's *I* coefficient for raster data and > > together with the statical significance of the spatial autocorrelation > > obtained

[R-sig-Geo] question on raster Moran's I statistical significance

2021-10-20 Thread Gabriel Cotlier
Hello, I would like to estimate the Moran's *I* coefficient for raster data and together with the statical significance of the spatial autocorrelation obtained. I found that the raster package function Moran() although calculates the spatial autocorrelation index it apparently does not give direc

Re: [R-sig-Geo] question on the use of Leaflet for plotting points and rater GeoTIFF

2021-08-13 Thread Gabriel Cotlier
s down > to trial and error. If you are looking for eye pop! then perhaps check out > the viridis options. See ?colorNumeric > > Cheers, > Ben > > On Thu, Aug 12, 2021 at 2:24 PM Gabriel Cotlier > wrote: > >> Dear Ben, >> >> Thanks a lot for your help!

Re: [R-sig-Geo] question on the use of Leaflet for plotting points and rater GeoTIFF

2021-08-12 Thread Gabriel Cotlier
your help. Kind regards, Gabriel On Thu, Aug 12, 2021 at 5:07 PM Ben Tupper wrote: > Hi, > > See the "markers" and "raster images" sections here > http://rstudio.github.io/leaflet/markers.html > > Cheers, > Ben > > On Thu, Aug 12, 2021 at 5:02 AM Ga

[R-sig-Geo] question on the use of Leaflet for plotting points and rater GeoTIFF

2021-08-12 Thread Gabriel Cotlier
Hello. I would like to use Leaflet package to plot over a Google Satellite base map : 1. a shapefile of polygon 2. a shapefile of points 3, a GeoTIFF image I could use the Leaflet package to get plotted successfully only the first Item of the list above with the following code : require(rgda

Re: [R-sig-Geo] question on writeRaster error

2021-03-27 Thread Gabriel Cotlier
E=BAND","COMPRESS=LZW")) > > NameRaster is a RasterLayer or RasterBrick t in your global environment. > > Hope this works, > > Best > Yasna > > > > > > > > On Fri, 26 Mar 2021 at 18:57, Gabriel Cotlier wrote: > >> Hello, >&g

[R-sig-Geo] question on writeRaster error

2021-03-26 Thread Gabriel Cotlier
Hello, I'm trying to save a raster on workspace as GeoTIFF file into a folder named ST in Desktop writeRaster(x = ST , file = paste(n,"_Rescaled_band",sep=" "), format="GTiff", overwrite = T) and got the following error message : Error in .local(x, filename, ...) : Attempting to write a fil

[R-sig-Geo] question on writing shapefiles from OSM data

2020-02-01 Thread Gabriel Cotlier
Dear users, I would like to download OSM data and convert it to shapefile and change coordinates to same as Landsat data. I'm following the code bellow. Is this the correct way for saving/writing to swapfile the OSM data? Thanks a lot for your response. Best, library(osmar) library(osmdata) librar