Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Shopmotion


Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Affiliates
free forum
 
June 2018
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
252627282930 

Calendar Calendar


Integrating two point layers into one

Go down

Integrating two point layers into one

Post  christopher on Mon Mar 17, 2008 3:05 am

I have 2 point layers with the same table definition. One of the layers has the correct spatial location of the features (layer A), one layer has the correct tabular attributes (layer B). The layer with the correct tabular attributes also has new/additional features as well. So, what I need to do is "move" the points from layer B to the location of the points in layer A based on an ID in the table. The integrate tool will not work because it uses location proximity to move the points. Do I need to do this task programmically or can I do it using the tool box?

christopher

Posts : 9
Join date : 2008-03-16

View user profile

Back to top Go down

Re: Integrating two point layers into one

Post  prabhat on Mon Mar 17, 2008 3:05 am

The spatial adjustment toolbar has an option that you can either transfer attributes AND geometry or just attributes. It's been a while since I've used it, but I think its a point by point manual type of operation,so depending on your situation, it may or may not be the way to go.
avatar
prabhat
GIS Geek

Posts : 19
Join date : 2008-03-15
Age : 35
Location : Kanpur India

View user profile

Back to top Go down

Re: Integrating two point layers into one

Post  maciasluis on Mon Mar 17, 2008 3:06 am

You can do this quite quickly with the field calculator, follow these steps:

1. Add an X and Y field (type Double) to Layer A
2. Open the attribute table for Layer A, right-click the X column heading and select Calculate Geometry.
3. Repeat for field Y.
This has added the point coordinates to the spatially correct layer.

4. Join Layer A to Layer B using you ID field
5. Open the attribute table for Layer B
6. Right click the LayerB.Shape column heading and select Field Calcualtor
7. Tick the Advanced box and copy the code below into the Advanced window (you may need to change 'LayerA' and 'LayerB' to the appropriate layer names).
8. put pNewPoint into the box below the advanced window
9. Click the OK button.
This should now update LayerB points so that they are in the same location as those from LayerA

Remember to back up you data before hand.

Hope it helps,
Miles.

maciasluis
GIS Geek

Posts : 29
Join date : 2008-03-17

View user profile

Back to top Go down

Re: Integrating two point layers into one

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum