POST
|
Hi there, I'm pretty new to GIS in general, but am starting to look into Python scripts and downloadable toolboxes to see how they work. I've downloaded this python script and toolbox, but can't seem to get it to work properly, so am looking for some advice? http://arcscripts.esri.com/details.asp?dbid=14127 I'm not sure if it's something straightforward and obvious I'm missing, or if it's something a bit more specific to my files. I've added the toolbox to ArcToolbox, and then specify my input shapefile (points based) as feature layer, field to query as FID (though I've tried changing this to see if it makes a difference and it doesn't!) and then an output folder (leaving output filename blank). My error message is as follows: Executing (SplitLayerByAttributes_3): SplitLayerByAttributes All_VPs FID # C:\Users\lisa\Desktop\test Start Time: Fri Aug 02 11:54:34 2013 Running script SplitLayerByAttributes... Error in script SplitLayerByAttributes. Error in executing: cmd.exe /C W:\5USERA~1\Lisa\ArcGIS\Scripts\SPLITL~1\SPLITL~1.PY "All_VPs" "FID" "#" "C:\Users\lisa\Desktop\test" Failed to execute (SplitLayerByAttributes_3). End Time: Fri Aug 02 11:54:35 2013 (Elapsed Time: 1.00 seconds) Any advice much appreciated! I'm running GIS 9.2. Thanks, Lisa
... View more
08-02-2013
02:56 AM
|
0
|
4
|
645
|
POST
|
Hi Jim - thanks again!!! Tried this too - I don't seem to have this 'selected graphics' option in my export data dialogue? (See attached screengrab.) I think maybe because I'm only in Arc 9.2. So no success unfortunately!!
... View more
07-18-2013
06:36 AM
|
0
|
0
|
414
|
POST
|
Hi Jim, Thanks very much for this advice! I can create a 'donut' polygon with the cut-out of the shape I need by following the instructions in the link, but when I try to clip the raster to that, it says successful, but it doesn't work?! I'm left with just another shapefile of the full, untrimmed raster. The clip tool I'm using is Data Management > Raster > Clip, and I'm setting the Input Raster to the raster image I want to clip, and the Output Extent to my donut polygon. When I click OK, I get an 'Excecuting Clip' dialogue box which runs for around 2 mins, before I get a successfully completed message. But then looking at the resulting shapefile, as I say, it's just the same as the original?? Any tips much appreciated, not sure what I'm missing!! Lisa
... View more
07-18-2013
05:36 AM
|
0
|
0
|
414
|
POST
|
Hi there, I wonder if anyone might be able to help me out?! I'm pretty new to GIS, and wondering if there is a way to cut a hole in my raster image in the shape of a polygon shapefile I have created? I've seen some responses involving the 'Extract by Mask' tool and the 'Image Analysis Window' tools, but I'm using ArcGIS 9.2, and don't have any additional packages like Spatial Analyst, so neither of these are options for me unfortunately!! I thought I could use the 'Clip' tool, but it seems to only give the option to keep the contents of the hole, rather than the donut, if you see what I'm saying?? So I'm stuck! Any help or tips much appreciated - thanks, Lisa
... View more
07-17-2013
06:01 AM
|
0
|
4
|
1608
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|