Well, I just tried it again, something makes me feel so confused:
this is my instruction:
In this step, you will use the Euclidean Allocation tool to create three new surfaces. Surfaces created using the Euclidean Allocation tool use straight-line (Euclidean) distance measurements. In this exercise, the source features are hospitals that offer air ambulance service.
Regardless of where the school or college is located, you can use these surfaces to find out which of the hospitals is nearest to the school, how far the closest hospital is from the school, and in which direction the hospital is from the nearest school.
On the Standard toolbar, click the Search button .
Search for Euclidean.
Open the Euclidean Allocation tool.
The Euclidean Allocation tool includes options to also create direction and distance rasters. You will run this tool as opposed to running each Euclidean tool separately.
In the Euclidean Allocation dialog box, enter the following parameters:
- Input Raster Or Feature Source Data: Hospital
- Source Field: ID
- Output Allocation Raster: ..\EsriTraining\SADistance\SanDiego.gdb\EucAllocation
- Output Cell Size: 100
- Output Distance Raster: ..\EsriTraining\SADistance\SanDiego.gdb\EucDistance
- Output Direction Raster: ..\EsriTraining\SADistance\SanDiego.gdb\EucDirection
this is the picture it gave me, the only difference between mine and its pics is that I put this SADistance file on D:, while the instruction puts it on system hard driver, which is C:
the previous problem is this: I opened the environment button and in the tab of Raster Analysis, the mask page, it put SDCityClip as a original mask, while I changed it to Hospital, then it finally succeeded to show those layers on the left side, and those pictures I already uploaded, they don't appear... so basically I don't know what I should do to avoid those problems, I tried to put EucDirection01 .tif on the three output raster:
output allocation raster: EucAllocation01 .tif
output distance raster: EucDistance01 .tif
output direction raster: EucDirection01 .tif
then I can't even obtain these layers
also I checked the coordinated system, since the layers are under the file, they use the same one called
NAD_1983_stateplane_califorlia_VI_FIPS_0406_Feet