Hello, I have two shapefiles. The first one is a point shapefile that contains a lot of information in the attribute table.
The second one is a line shapefile. It contains about 50 lines. Every line starts at a different point (from the first shapefile) and all lines and in one place.
I need two take atrributes from the point shapefile and add them into the line shapefile. Is this possible?
Solved! Go to Solution.
spatial join Spatial Join—Help | ArcGIS for Desktop
may be of interest Spatial joins by feature type—Help | ArcGIS for Desktop
spatial join Spatial Join—Help | ArcGIS for Desktop
may be of interest Spatial joins by feature type—Help | ArcGIS for Desktop
Thanks for advice. For now it doesn't work, because it looks like my shapefiles are correupted in some way. I'll try your advice in a while.
assuming they are all in the same coordinate system, try running a repair geometry Repair Geometry—Help | ArcGIS for Desktop
on the inputs to correct any errors...read the link before using
OK, I will check also that and then retry the whole thing.
Thank you, I think it will work, but first I must clean the mess that I have in my data. Thanks
Are you trying to create a spider diagram from a central point to other points? If so, one of the options in the Spanning Tree toolset will be useful
I had a central city, from which I created straight lines to all other surrounding cities. I used "Construct sight lines" function for this, but the newly-created lines didn't inherit attributes from the surrounding cities point shapefile. Then I used "Spatial join" as you advised and everything is fine now. I just had to clean the mess in my data and it worked. Thanks and have a nice day!
glad it worked, and for the update