Quantcast
Channel: Forums - ArcGIS for Desktop - General
Viewing all articles
Browse latest Browse all 2565

Help with joining two polygon shapefiles

$
0
0
Hi there,

Here's my scenario: I have a zip code polygon shapefile for the state of Washington and the corresponding 1-arc second (~30 meter) DEM polygon shapefile (which are basically squares with a max and mean elevation attached in their attributes).

My goal: For each zip code to have an attached max elevation associated with it on the zip code attribute table. As long as I have a zip code and a max elevation that will work - I dont need and other attributes, but they don't hurt if they are there either.

The issue I am having is there are multiple DEM squares within each zip code and often times the zip code boundary splits through the middle of the DEM square. It doesn't matter to if that occurs, as long as the function searches in that DEM square to see if it's max elevation is larger than any of the others (fully encompassed in the zip code boundary or not).

I have tried using the Spatial Join tool and inputting the zip codes are the Target Feature along with the DEM as the join feature. I've tried a combination of using various Join Operations (i.e. JOIN_ONE_TO_ONE, JOIN ONE_TO_MANY) and various Join Options (i.e. INTERSECT, WITHIN, etc.) and nothing seems to give me the correct output to where the zip code is listing the highest max elevation of any DEM square that is within it or intersecting it. Maybe I'm using the wrong Join Operation/Join Options for what I'm trying to achieve, or maybe this isn't the most efficient way to go about it.

If something isn't clear on what I am trying to do, please let me know and I'll do my best to clarify what I am going for.

Thanks in advance!

Viewing all articles
Browse latest Browse all 2565

Trending Articles