Re: [R-sig-Geo] Merging Shape files

2020-03-18 Thread Zia Ahmed
On Wed, Mar 18, 2020 at 10:37 AM Zia Ahmed wrote: > >> Please check this: >> >> >> https://zia207.github.io/geospatial-r-github.io/geoprocessing-vector-data.html >> Best >> Zia >> >> On Tue, Mar 17, 2020, 10:39 AM Dexter Locke >> wrote: &g

Re: [R-sig-Geo] Merging Shape files

2020-03-18 Thread Zia Ahmed
Please check this: https://zia207.github.io/geospatial-r-github.io/geoprocessing-vector-data.html Best Zia On Tue, Mar 17, 2020, 10:39 AM Dexter Locke wrote: > Within st_join() see the options like "left = TRUE". > > You may also want to look at st_intersects() > > Here are other helpful

Re: [R-sig-Geo] Extract VIIRS data in R

2020-03-18 Thread Zia Ahmed
This is might help you: https://zia207.github.io/geospatial-r-github.io/netCDF-data-processing.html Zia On Wed, Mar 18, 2020, 9:34 AM Frederico Faleiro wrote: > Hi Miluji, > > the R in general do not handle very well with netCDF. However I > recommend you use the netcdf4 package before try

[R-sig-Geo] R-Tutorial: Geospatial Data Science in R (Resent)

2020-01-08 Thread Zia Ahmed
ormatics, but have some experience in R-coding. The data used in this tutorial also available for download. I appreciate any feedback for improving this tutorial. I appreciate any feedback for improving this tutorial. Best Zia Ahmed University at Buffalo Tutorial consist follo

[R-sig-Geo] R-tutorial: Geospatial Data Science with R

2020-01-08 Thread Zia Ahmed
Dear All, Best *Zia Ahmed, PhD* Research Associate Professor (Data & Visualization) RENEW (Research and Education in eNergy, Environment and Water) Institute <http://www.buffalo.edu/renew.html> University at Buffalo <http://www.buffalo.edu/> Tutorial consist followi

Re: [R-sig-Geo] Plot a map in r (csv and shapefile)

2019-06-19 Thread Zia Ahmed
Please check this below link. It might help you what you need to do. Zia https://zia207.github.io/geospatial-data-science.github.io/ On Wed, Jun 19, 2019, 6:40 AM Lara Silva wrote: > Hello, > > I am new in R and I need to plot the occurrence of a species. > I have the presences of species

Re: [R-sig-Geo] Problems with SpatialPixelsDataFrame objects

2016-11-20 Thread Zia Ahmed
Dear List, I am trying to calculate *GLCM textures of all bands of a raster stack using GLCM package. Using following code it runs perfectly. The code created four stacks for each bands, each stack contains for 8 raster objects, but I am facing difficulty to get results for further

Re: [R-sig-Geo] Modify spplot frame borders, padding and font

2012-05-31 Thread Zia Ahmed
a bell. Thank you once again, Iain From: Zia Ahmed [z...@cornell.edu] Sent: 30 May 2012 20:08 To: Dillingham, Iain; sig-geo Subject: Re: [R-sig-Geo] Modify spplot frame borders, padding and font You can add following line to get a map without

[R-sig-Geo] Asking Help again: Re: Help: Create several ESRI Shape files in a Loop

2012-03-13 Thread Zia Ahmed
, dsn = /GWPR/Shape_Files, paste('sim', i,.shp, sep = ''), driver=ESRI Shapefile) } -- - Zia Ahmed, PhD Research Associate Department of Crop and Soil Sciences 1002 Bradfield Hall, Cornell University Ithaca, NY 14853-4203 t. 607.255.9387 f. 607.255.3207 email z...@cornell.edu

[R-sig-Geo] Help: Create several ESRI Shape files in a Loop

2012-03-12 Thread Zia Ahmed
) . . . sim100.thana-readShapePoly(bd_thana_246.shp) sim100.thana@data - merge(thana@data,sim100,by.x=THANA_ID, by.y=THANA_ID, all.x=T, sort=F) writeOGR(sim100.thana,dsn=/GWPR/Shape_Files, layer=sim100.thana, driver=ESRI Shapefile) -- - Zia Ahmed, PhD Research Associate Department

Re: [R-sig-Geo] Help: Create several ESRI Shape files in a Loop

2012-03-12 Thread Zia Ahmed
=THANA_ID, all.x=T, sort=F) writeOGR(sim.shp,dsn=/GWPR/Shape_Files, layer=paste(sim_,i,.shp,sep=),driver=ESRI Shapefile) A better way is use create a list of variables, so i will assume the name of the variable. On Mon, Mar 12, 2012 at 10:53 AM, Zia Ahmed z...@cornell.edu

[R-sig-Geo] Population weighted Centroids?

2012-03-05 Thread Zia Ahmed
Is there anyway to calculate population weighted centroids of a spatial polygon in R? Any idea will be appreciated. Thanks Zia -- - Zia Ahmed, PhD Research Associate Department of Crop and Soil Sciences 1002 Bradfield Hall, Cornell University Ithaca, NY 14853-4203 t

[R-sig-Geo] GGWR (family = Poission): Prediction of unknown location

2012-02-20 Thread Zia Ahmed
557044.6 11 62.8022 -2.35943 1.450378 -2.38489 4.995307 1 NA 2739341 542981.4 12 62.95506 -2.36003 1.45098 -2.38804 4.996592 1 NA 2749492 553074.4 -- - Zia Ahmed, PhD Research Associate Department of Crop and Soil Sciences 1002 Bradfield Hall, Cornell

[R-sig-Geo] Problem with create several maps and save a PNG files in a loop from a sppolygon object

2012-02-15 Thread Zia Ahmed
sim88 [96] sim89 sim90 sim91 sim92 sim93 [101] sim94 sim95 sim96 sim97 sim98 [106] sim99 sim100 -- - Zia Ahmed, PhD Research Associate Department of Crop and Soil Sciences 1002 Bradfield Hall, Cornell University Ithaca, NY 14853

[R-sig-Geo] Thanks! Re: Help: create an animated GIF file from PNG files

2012-01-26 Thread Zia Ahmed
/) Invalid Parameter - 40 Warning message: running command 'convert -delay 40 sim*.png plot.gif', invisible = F, wait=T' had status 4 - Zia Ahmed, PhD Research Associate Department of Crop and Soil Sciences 1002 Bradfield Hall, Cornell University Ithaca, NY 14853-4203 t

[R-sig-Geo] Help: create an animated GIF file from PNG files

2012-01-25 Thread Zia Ahmed
' had status 4 - Zia Ahmed, PhD Research Associate Department of Crop and Soil Sciences 1002 Bradfield Hall, Cornell University Ithaca, NY 14853-4203 t. 607.255.9387 f. 607.255.3207 email z...@cornell.edu [[alternative HTML version deleted

[R-sig-Geo] Calculating 95th percentile within polygons

2011-10-18 Thread Zia Ahmed
I am trying to calculating 95th percentile within polygons from a of set realizations - something like zonal statistics. How do I calculate 95 th percentile for each polygon over all realizations. Thanks Zia For example: data(meuse) data(meuse.grid) coordinates(meuse) - ~x+y

Re: [R-sig-Geo] Calculating 95th percentile within polygons

2011-10-18 Thread Zia Ahmed
percentile. These are two different things. The first is a spatial aggregation, the second an aggregation over the (sampled) probability distribution. On 10/18/2011 11:07 PM, Zia Ahmed wrote: I am trying to calculating 95th percentile within polygons from a of set realizations - something like

Re: [R-sig-Geo] merging several shapefiles into one

2011-05-25 Thread Zia Ahmed
I used following code to merge a series of shape files with similar file structure. We can try this, but you need to do some modification of the code. Zia ### # Require packages: rgdal and maptool

[R-sig-Geo] Problem with Kriging with in strata

2011-01-26 Thread Zia Ahmed
Hi, I am trying to do kriging with in strata. I use the example in book Applied Spatial Data Analysis with R page:217. It works fine with meuse data. But when I am trying to use my data it shows some error massage. Do I missing something here? Thanks in advance Zia Note: I am using