Timeline for Batch Extract by Mask, but customize individual output names
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 10, 2015 at 0:01 | vote | accept | spotter | ||
Aug 9, 2015 at 19:26 | comment | added | brokev03 | I had them as strings rather than variable names. My bad...fixed. | |
Aug 9, 2015 at 19:25 | history | edited | brokev03 | CC BY-SA 3.0 |
deleted 4 characters in body
|
Aug 9, 2015 at 3:28 | comment | added | spotter |
I solved my acrpy problem, when I run this code it returns: ExecuteError: Failed to execute. Parameters are not valid. ERROR 000865: Input raster: inrasters does not exist. ERROR 000865: Input raster or feature mask data: mask does not exist. Failed to execute (ExtractByMask) When I print inrasters though they are all there
|
|
Aug 8, 2015 at 23:20 | comment | added | spotter | yea im pretty sure the code is good, im just having problems with arcpy and licensing I'll have to work out. Thanks again! | |
Aug 8, 2015 at 23:19 | comment | added | brokev03 | Thanks, I've fixed the script, try now. If you are running within the Python window of ArcGIS, and you have everything checked when you go to 'customize->extensions,' there's no reason this shouldn't run. In you are running in Python outside of ArcGIS, you'll need to import arcpy first in the first line of the script. | |
Aug 8, 2015 at 23:17 | history | edited | brokev03 | CC BY-SA 3.0 |
added 21 characters in body
|
Aug 8, 2015 at 22:02 | comment | added | spotter |
when I try to run this in python it says that for extract by mask only 2 arguments are taken and three are given. When i take out 'outraster' it says that the tool is not licensed even though I have successfully used it within ArcMap itself.
|
|
Aug 8, 2015 at 20:18 | comment | added | spotter | I will definitely try it in python, didn't realize you could copy and paste and make changes so simple! I need to learn python anyways though.... | |
Aug 8, 2015 at 20:17 | vote | accept | spotter | ||
Aug 9, 2015 at 5:36 | |||||
Aug 8, 2015 at 20:08 | history | edited | brokev03 | CC BY-SA 3.0 |
added 187 characters in body
|
Aug 8, 2015 at 20:02 | history | answered | brokev03 | CC BY-SA 3.0 |