I have a two polygon shapefiles, one shapefile is a zoning and the second one is a census tract. Now I want to calculate distance from boundary of tract to closest boundary of each zone type (R, C, etc). Because of that I have dissolved all zones according to zone type and now I want to have in each census tract information about nearest distance to the all zone types (distance to C, distance to R, etc...).
Also I want to have a zero distance value if each tract contain the zone.
Solved! Go to Solution.
from the help topic for near tool
closest(Optional)Specifies whether to return only the closest features or multiple features.
- CLOSEST —Only the closest near feature will be written to the output table. This is the default.
- ALL —Multiple near features will be written to the output table (a limit can be specified in the closest_count parameter).
So you want ALL as a start to see if it does what you want.
I would do a sample first!
Generate Near Table—Help | ArcGIS Desktop
For ArcMap and ArcGIS Pro is you have the appropriate license
Thank you Dan, but this is not completely what I need. On this way I have just one distance to the nearest zone, no matter which one, but I need a new distance field for all zone types for each census tract. For example CENSUSTRACT1 have a information in distance fields "A" (which mean distance to the nearest zone A), "C" (which mean distamce to the nearest zone C), etc...
So you actually want a distance from one place to all other places?
a -> b 10
-> c 15
-> d 20
etc.
Near Table comes the closest without separate coding
Exactly. From each census tract to all zoning types... How I can do that using Near Table tool in ArcGIS 10.4? When I run it I always get the same results, just the one nearest zone...
from the help topic for near tool
closest(Optional)Specifies whether to return only the closest features or multiple features.
- CLOSEST —Only the closest near feature will be written to the output table. This is the default.
- ALL —Multiple near features will be written to the output table (a limit can be specified in the closest_count parameter).
So you want ALL as a start to see if it does what you want.
I would do a sample first!
Great. With excel pivot table that is it. I have used minimum value...