Tag Info

Hot answers tagged

2

Here is one approach that I think would work for you. 1.) Add a unique field to each of the input polygon layers. 2.) Populate each field with an identifier you can easily associate to that species. 3.) Iteratively run the Union tool for each layer union-ing to a master polygon layer. Now all of these unique fields will be included in your output polygon ...


2

Assuming you are using ArcMap: Make sure that every square is a polygon feature with a unique ID number. Clip the Grid using the Polygons to create a new shapefile. Perform a Union of the new clipped-grid.shp and the original Polygons. The resulting union.shp should tell you the ID of the original square that was clipped, and the name of the polygon that ...


2

sp provides a shorter form to select features based on spatial intersection, following the OP example: pts[ply,] as of: points(pts[ply,], col = 'red') Behind the scenes this is short for pts[!is.na(over(pts, geometry(ply))),] The thing to note is that there is a geometry method that drops attributes: over changes behaviour if its second argument has ...


1

As Felix is unwilling to answer this I will have a go. The tool to intersect two (integer) rasters is Combine which will merge the attributes of up to 20 rasters. It is unclear from the tool help what happens to raster attributes other than value, should they be built, after running this tool but from the graphic it appears only the value will be copied ...



Only top voted, non community-wiki answers of a minimum length are eligible