New answers tagged

1

When you set the Keep resoltuion option to True, you enable two parameters (according to the documentation for gdalwarp which is used in this function): -tr - Sets the output file resolution in target CRS georeferenced units. -tap - (GDAL >= 1.8.0) (target aligned pixels) align the coordinates of the extent of the output file to the values of -tr, such ...


1

The tool that you are probably searching for is called "intersect" from "vector"-"geoprocessing". Your points will be the input features and the polygons the second, cutting layer. The outcome will be points with the attributes of the original points and underlying polygons. If this is not what you wanted please consider editing your question for clearance ...


1

No worries - I have done it via converting polygon to a raster and multiplying by the original raster. Then removing the black in the transparency tab of properties. If anyone else has a similar problem this works!


0

The difference tool is not really appropriate here. As Andre suggested, first check that both layers have the same CRS. You could use the Spatial Query plugin to select those addresses which intersect the water systems layer, then reverse the selection. This will give you only the addresses outside the water systems layer. You can then save the selected ...


0

If you are using ArcGIS Desktop Standard or Advanced you can use the Construct Polygon tool or the Split Polygon on the Advanced Editing toolbar. You select the geometry you want to cut into the base polygon and click the tool. There are minor differences in between the tools but the basic outcome is the same: You have "stamped" the selected polygons into ...


0

I did as advised however I am still hitting the same error. I sincerely hope its not something stupid I have overlooked- I've carefully been playing around with this for a while now. Please see the attached pic of the error message and python open in arc with the script displayed....


0

This was how I entered my script: import arcpy, os arcpy.env.workspace = r"C:\Users\FARM DATA POLY-CLIPS\VIS_ASSESSMENTS\TRUMAR\Shapes\New Folder" # Where the clip shapefile and input raster are stored outputWorkspace = r"C:\Users\FARM DATA POLY-CLIPS\VIS_ASSESSMENTS\TRUMAR\Shapes\Test" # Where the output images will be stored raster = r"2015-08-27T18-00-...


5

This uses multiple shape features in a single shapefile (based on your code snippet). If you have a single shape feature in multiple shapefiles I have added code for that further down. The following update on your script will loop through each feature in your polygon shapefile (regardless of number of features), and clip each raster it finds using List ...



Top 50 recent answers are included