POST
|
Hi all, I hope this is an easy question for you. I would like to do a spatial join (in the toolbox, Analysis tools) between two shapefiles: (1) the target file: a point dataset, of which all fields should be retained (2) the join feature: a polygon shapefile with various polygons. I want to add to the target shapefile the information for each point into which polygon (identified by the polygon id) of the they occur. If they don't occur in one of the polygons, the code should be some number which cannot be confused with a polygon ID (e.g. 999). This works well when using the Spatial Join tool (setting it to Join-one-to-one, keep all target features, and choose in "Field map of joining feature" only the column with the polygon ID), however, if points from the target file fall within none of the polygons of the join file, unfortunately the value "0" is joined. As there is also a polygon with the ID "0", this is bad and will lump in supsequent analysis the points from the "0" polygon together will all points not falling into any polygon at all. Is there a way to let ArcGIS know what code to give to those target features to which no join feature can be joined to ? Thank you very much! Kerstin
... View more
10-24-2011
07:05 AM
|
0
|
4
|
1080
|
POST
|
Hi all, I am trying to find a tool which basically helps me to identify which locations can be reached by an animal from a single source location if there are barriers in the way which force the animal to walk around it. (in this case I am talking about seabirds in a colony and the question where they can go to feed at sea, within a given maximum foraging range (e.g. 580km), and given the fact that they will not fly over land). I think distance path should be able to give me the solution, if I give the colony location as the source (file attached "rathlin_point") and as cost a raster file which holds the area within the foraging range (580km in this case) with a uniform cost of 1 for all at sea areas and no data provided for terrestrial areas (file attached "r-rathlin"). If I understand the description of Distance Path correctly, the tool will then calculate the distance to each of the raster cells based on costs and distance to that cell, which means in this case (with a uniform cost) it should simply give me the distance to the cell. It should also "walk around" areas where no data is given (the terrestrial areas in this case). The setting for the analysis: (1) input raster or feature source data: "rathlin_point" (2) output distance raster: I simply accepted the suggested name (3) input cost raster: "r_rathlin" I assumed that locations which were within 580km and which can be reached by a linear (Euclidian) distance from the source location (without any barriers in the way) should all be included, but that is not the case. It appears that at locations identified by Distance path as 580km away from the source are usually 540km or less away from the source, even if no barrier was in the way which might have forced a detour. My question is: what exactly is the output distance given by Distance path if calculated in this way (without costs)? Is it a "Manhatten block distance" rather than an Euclidian distance? And is there any other way I should have run the analysis to get the result I am looking for? Thank you very much for your help! I'll attach my input files, in case you want to try this out yourself. Kerstni
... View more
07-12-2011
04:38 AM
|
0
|
0
|
725
|
POST
|
Great, that solved indeed the problem and everything is back to normal! Thanks a lot!!! Kerstin
... View more
10-18-2010
01:47 AM
|
0
|
1
|
419
|
POST
|
Hi, I tried to execute a hotspot analysis which so far always worked. Now I received this error message: "Executing (HotSpots_4): HotSpots 710br_data_C1 710_br_cde F:\Offshore\EXTRA18_trials_for_more_regional_approach\Foraging_ranges_around_breeding_colonies_top_GO\foraging_range_plus_autocorr\710_br\test1.shp "Inverse Distance" "Euclidean Distance" Row 60000 # # GiUnknown Start Time: Fri Oct 15 11:02:35 2010 Running script HotSpots... Building Lists... Computing Weights... 20% complete 40% complete 60% complete 80% complete 100% complete 100% complete Calculating results... 20% complete 40% complete 60% complete 80% complete 100% complete Error in script HotSpots. Error in executing: cmd.exe /C D:\programs\ArcGIS\ARCTOO~1\Scripts\Gi.py "710br_data_C1" "710_br_cde" "F:\Offshore\EXTRA18_trials_for_more_regional_approach\Foraging_ranges_around_breeding_colonies_top_GO\foraging_range_plus_autocorr\710_br\test1.shp" "Inverse Distance" "Euclidean Distance" "Row" "60000" "#" "#" "GiUnknown" Failed to execute (HotSpots_4). End Time: Fri Oct 15 11:03:10 2010 (Elapsed Time: 35.00 seconds)" Any idea what I did wrong this time? Kerstin
... View more
10-15-2010
02:07 AM
|
0
|
2
|
758
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|