[R-sig-Geo] measuring longitudes as if they were parallels?

2015-07-31 Thread john d
Dear all, Here's another issue that I've been struggling with and I'd really appreciate any input. I want to compare the latitudinal and longitudinal extents of different shapefiles. Comparing latitudes is straightforward because they are measured as parallels, so they are self-referential.

Re: [R-sig-Geo] finding limits in a shapefile

2015-07-31 Thread john d
Excellent. That will do. Thanks! On Thu, Jul 30, 2015 at 9:50 PM, John Baumgartner johnba...@gmail.com wrote: Assuming you've read it into R, e.g. with readOGR from the rgdal package, you can query the extent of the spatial object with bbox (sp package) or extent (raster package). On

Re: [R-sig-Geo] measuring longitudes as if they were parallels?

2015-07-31 Thread Loïc Dutrieux
Hi John, Possibly what you're looking for is in the geosphere package (https://cran.r-project.org/web/packages/geosphere/geosphere.pdf). Cheers, Loïc On 07/31/2015 04:47 PM, john d wrote: Dear all, Here's another issue that I've been struggling with and I'd really appreciate any input. I

Re: [R-sig-Geo] measuring longitudes as if they were parallels?

2015-07-31 Thread john d
Cool. I'll look into that. Thanks. Loïc! On Fri, Jul 31, 2015 at 3:44 PM, john d dobzhan...@gmail.com wrote: Cool. I'll look into that. Thanks. Loïc! On Fri, Jul 31, 2015 at 1:21 PM, Loïc Dutrieux loic.dutri...@wur.nl wrote: Hi John, Possibly what you're looking for is in the geosphere

Re: [R-sig-Geo] generating shapefiles based on the values on a raster

2015-07-31 Thread Roman Luštrik
If I understand your question correctly, you're looking for a function that will convert a raster into a polygon ( http://www.inside-r.org/packages/cran/raster/docs/rasterToPolygons). Cheers, Roman On Fri, Jul 31, 2015 at 12:20 AM, Karla Shikev karlashi...@gmail.com wrote: Hi there, I need