Re: [R-sig-Geo] merging polygons from two shapefiles and generating new polygons for intersecting areas

2010-11-16 Thread brwin338
Good Evening My thanks to Carson and Colin for their helpful suggestions. Joe [[alternative HTML version deleted]] ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo

[R-sig-Geo] merging polygons from two shapefiles and generating new polygons for intersecting areas

2010-11-13 Thread brwin338
Good Afternoon: I have spent a good part of today searching the discussion list and reading "Applied Spatial Data Analysis with R" and can't seem to find how to do the following: One of my colleague's grad students has two shapefiles. The first shapefile contains local polygons with ass

[R-sig-Geo] computing square kilometers in shape file polygons

2010-09-03 Thread brwin338
Good Afternoon Does any one know of a package/function that could be used to compute the square kilometers for polygons in a long-lat projected shapefile? I can access the values in the "area" slots in the object resulting from using maptool's "readShapePoly" command. I have approximated the k

Re: [R-sig-Geo] converting grid objects to spatial polygon objects and export as shapefile

2009-12-10 Thread brwin338
Roger Thanks once again for your assistance. Your code did exactly what I was wanting to do. I was able to export the spatial dataframe as a shapefile and use it in my application. Joe -Original Message- From: Roger Bivand To: brwin...@aol.com Cc: r-sig-geo@stat.math.ethz.ch Sent: Th

[R-sig-Geo] converting grid objects to spatial polygon objects and export as shapefile

2009-12-09 Thread brwin338
Good Evening: I have been trying to figure this one out but just can't make it work yet. Is there a straightforward way to convert a grid object (such as an earthwide or regional long-lat grid) generated using sp into a spatial polygon object that I could then export as a shapefile. I want to

[R-sig-Geo] Reading ESRI-GRID format data

2009-08-24 Thread BRWIN338
Good Afternoon Does R have the ability to let me have access to the gridded data values for the following data? We downloaded the zipped file containing the data sets but are not familiar with how to read the data in R. Thanks Joe ###

Re: [R-sig-Geo] Editing a shapefile

2009-06-14 Thread BRWIN338
Roger Thank you for the code. I will be experimenting with it this week. Joe Barry I have downloaded and experimented with Quantum GIS. I am impressed but have not quite been able to delete the desired shapes yet. I have been able to edit and delete entire polygons but am struggling with

[R-sig-Geo] Editing a shapefile

2009-06-13 Thread BRWIN338
Good Morning: I would like to edit the county warning area boundaries shapefile "w_15jl09.shp" downloaded from: _http://www.weather.gov/geodata/catalog/wsom/html/cwa.htm_ (http://www.weather.gov/geodata/catalog/wsom/html/cwa.htm) Several of the shapefile's polygons contain extremely small "holes"

[R-sig-Geo] Problems loading hydrosanity package

2009-05-28 Thread BRWIN338
Good Morning: I need to construct a set of Thiessen Polygons centered around approximately 4500 longlat positions in the US. After searching the R site, I was going to attempt to use the arealsubPolygons function in the hydrosanity package. I am using a Windows system. When attemptin

Re: [R-sig-Geo] Finding the county shapefile polygon closest to along-lat pos...

2009-05-23 Thread BRWIN338
Torleif Thanks for replying to my post and for the code. I have been getting a number of useful suggestions and am attempting to modify your code to address my particular problem. I will be letting everyone know how this comes out. Have a great week. Joe In a message dated 5

[R-sig-Geo] RE:Constraining a linear regression model

2009-05-23 Thread BRWIN338
Jean-Paul If I understand your questions, imposing your restrictions on the predicted values and on sums (or even using weighted sums where each observation in the "sum" does not receive equal weight) of linear combination of subsets of the columns of X is not difficult. Sets of the result

[R-sig-Geo] Finding the county shapefile polygon closest to a long-lat position

2009-05-21 Thread BRWIN338
Greetings I have a large number of long-lat locations dispersed over the US and need to identify which US county that each point is located in (or nearest to). After reading the past posts and Roger's book, I have been able to use the overlay function to identify the appropriate count