Jump to content

Our forum made possible by displaying online advertisements to our visitors.

Please consider supporting us by disabling your ads blocker.

  • Announcements

    • EmperoR

      Dear Guests   12/24/2016

      Welcome to the GIS-AREA. like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of GIS-AREA by signing in or creating an account here. Once you have created your account and have introduced yourself to our community, you can start new topics, reply to others, subscribe interesting threads, get your customize profiles, make news friends, and others nice stuff. To make your stay as pleasant and constructive as possible, please don't forget to read through our pinned forum rules and board guidelines in each section before you do anything else.
Sign in to follow this  
EGYXee

Transfer polygons attributes from one layer to another based on spatial location!

Recommended Posts

Hello guys,

I need help.... I want to transfer the POLYGONS ATTRIBUTES from the large polygons in the image below to the small ones based on their spatial location (the centroid of the small polygons must be inside the large ones)!...... I am using ArcGIS 10.4

uc?export=download&id=0B0HKaro07wSORXZpV

Edited by EGYXee

Share this post


Link to post
Share on other sites

try the,  "spatial join", "join", "make query table"  tools. In any case you need a common key to join the datasets and the result is a new feature

Share this post


Link to post
Share on other sites
4 hours ago, cmatt said:

try the,  "spatial join", "join", "make query table"  tools. In any case you need a common key to join the datasets and the result is a new feature

This is the issue! there is nothing common about the data attributes. Only the spatial location!

This is why I need someone to help me make a PYTHON SCRIPT, which can help me copy attribute data from the large polygons to the small ones contained in it!

Share this post


Link to post
Share on other sites

from spatial adjustment toolbar ------>>>>use attribute transfer mapping then select --------->>> source layer and target layer.

 

Share this post


Link to post
Share on other sites
19 hours ago, mostafa said:

from spatial adjustment toolbar ------>>>>use attribute transfer mapping then select --------->>> source layer and target layer.

 

I have too many features to transfer the data to, the "attribute transfer" tool won't be a practical solution!

Edited by EGYXee

Share this post


Link to post
Share on other sites

hi EGYXee,

have you try to use Spatial Join (Analysis Tools) from ArcToolbox?
ArcToolbox --> Analysis Tools --> Overlay --> Spatial Join, from there you can choose Join Operation to : JOIN_ONE_TO_ONE (if only one small polygon in the big one),
don't worry, it doesn't need to have common field between target layer and source layer and
Match Option set to HAVE_THEIR_CENTER_IN

Share this post


Link to post
Share on other sites
On 10/31/2017 at 2:00 AM, softbook said:

hi EGYXee,

have you try to use Spatial Join (Analysis Tools) from ArcToolbox?
ArcToolbox --> Analysis Tools --> Overlay --> Spatial Join, from there you can choose Join Operation to : JOIN_ONE_TO_ONE (if only one small polygon in the big one),
don't worry, it doesn't need to have common field between target layer and source layer and
Match Option set to HAVE_THEIR_CENTER_IN

Due to some serious issues in the topology, I can not do a spatial join!

uc?export=download&id=0B0HKaro07wSOMEdZY

This is why I am asking for a Python code so I can use the centroid of the small polygons to copy the attributes!... Please keep in mind that this data is huge!

 

Share this post


Link to post
Share on other sites
2 hours ago, softbook said:

can i see the data? or have you try this

I am so sorry, I can not share the data!

About the Spatial Join Tips and tricks article, I will give it a go and let you know how did it go.

Thank you so much for your help :)

Share this post


Link to post
Share on other sites
On 11/2/2017 at 12:54 AM, softbook said:

can i see the data? or have you try this

This is not useful for me as well since I do not want to put more than one attribute in the field... I just want to transfer the attribute of the features which have their centroid in the large polygon!

Share this post


Link to post
Share on other sites

have you try to select the small polygon based on their centroid on the big polygon?, is it really select the correct small polygon or there is a missing small polygon (not selected)?

Share this post


Link to post
Share on other sites
On 11/6/2017 at 4:33 AM, softbook said:

have you try to select the small polygon based on their centroid on the big polygon?, is it really select the correct small polygon or there is a missing small polygon (not selected)?

Nothing worked the way I wanted it to work so far :(

I am still looking around... I will update my post when I reach a solution!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.