New answers tagged clip
Assuming the boxes are in cells. If not you can make new boxes but the must be in cell coordinates. Use GDALinfo to get the coordinates: Corner Coordinates: Upper Left ( 0.0, 0.0) Lower Left ( 0.0, 220.0) Upper Right ( 220.0, 0.0) Lower Right ( 220.0, 220.0) Center ( 110.0, 110.0) This is part of the GDALinfo on an ungeoreferenced ...
Perhaps using the Erase tool will give you what you need. Erase the lakes shapefile from the states shapefile.
The hint provided by @mdsummer of using byid=T worked for me. Here is one example reproducible example: library(maptools) library(rgeos) brazil_states <- readShapePoly(fn="C:\\...\\BRA_adm1") #Brazil's state boundaries; download here: http://www.diva-gis.org/datadown plot(brazil_states) bioms <- readShapePoly(fn="C:\\...\\Biomas5000.shp") ...
If you have access to the Spatial Analyst extension, you can also use the extract by mask tool.
Here are a few options for clipping in ArcGIS: Clipping the DataFrame This allows you to draw a shape with the draw tools and "Clip to shape" which may be more what you're looking for. You should be able to draw a shape like a polygon and clip to it using this option. Using the Editor to clip. This is a quick and dirty way to clip your existing dataset, ...
Yes, the extent isn't accurate. If you have spatial analyst extension then use IsNull to create a binary raster, raster to polygon (no simplify) and then dissolve with no fields to create a clipping polygon. Once you've got that then just clip as normal. If you haven't got Spatial Analyst then it's a bit more tricky.
There is a QGIS plugin called Digitizing Tools: The documentation says: Split selected features with selected line(s) from another layer applies to: line and polygon layer (multi or single part) Splits all selected features of the active layer with the selected line features of another layer. The splitting creates new features (not multi features). Each ...
Top 50 recent answers are included