Jump to content

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


EGYXee

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
Link to comment
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!

Link to comment
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
Link to comment
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

Link to comment
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!

 

Link to comment
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!

Link to comment
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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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

Disable-Adblock.png

 

If you enjoy our contents, support us by Disable ads Blocker or add GIS-area to your ads blocker whitelist