Integrating two point layers into one
3 posters
Page 1 of 1
Integrating two point layers into one
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
Re: Integrating two point layers into one
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.
prabhat- GIS Geek
- Posts : 19
Join date : 2008-03-15
Age : 41
Location : Kanpur India
Re: Integrating two point layers into one
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.
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
Similar topics
» Un-lock layers?
» Google Earth data layers from Nanaimo, BC, Canada
» Transfer point values to my polygons
» Google Earth data layers from Nanaimo, BC, Canada
» Transfer point values to my polygons
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Thu Jul 28, 2011 11:51 pm by Ronney
» Chicago Festival of maps continues
Sat Dec 26, 2009 9:53 am by victoria justice
» Province of BC unlocks digital data and strikes a deal with Google
Sat Dec 26, 2009 9:47 am by victoria justice
» share GPS tracks via Google Earth
Sat Dec 26, 2009 9:45 am by victoria justice
» GIS for Web Developers: Adding ‘Where’ to Your Web Applications
Sat Mar 14, 2009 1:34 am by prabhakar
» How to Design a GIS Project
Thu Dec 25, 2008 4:37 am by sean flynn
» ArcGIS Desktop 9.3: New KML Export Support
Thu Dec 25, 2008 4:34 am by sean flynn
» ArcGIS 9.3: ESRI Resource Centers
Thu Dec 25, 2008 4:25 am by sean flynn
» Help for interview..urgent
Wed Aug 27, 2008 3:28 am by ironore