Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have been using arcGIS for a while now but I often get frustrated with it :(

I have version 10.0 arcGIS and I'm have two layers

1) Point data (building locations)

2) a polygon shape file (outline of a continent)

A) I'm trying to find the nearest part of the polygon to the point data (nearest coastal point for the building) and draw a line between them forming a hypothetical pipeline.....

-> I have used spatial join and have a table of the nearest points but how to draw lines between those and the original points?

B) if these lines are close to each other or cross over, I want them to join up to form one line.

Any advice would be great here. All the options I tried are now either out of date or don't work anymore.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

1) If you have an ArcInfo (Advanced) license, you could try Near (Analysis), Point to polygon

http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00080000001q000000

Determines the distance from each feature in the input features to the nearest feature in the near features, within the search radius.

Optionally, NEAR_X, NEAR_Y, NEAR_ANGLE, and NEAR_FC fields can also be added to the attribute table of input features as explained in the near features and optional parameters entries.

Set the location parameter to LOCATION to get it to display NEAR_X and NEAR_Y in the output table.

2) Use Calculate Geometry to get the start_x and start_y coordinates of your input point features. Then it's a matter of using XY To Line (Data Management) to draw your lines from start_x, start_y to near_x, near_y.

http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//0017000000tv000000

share|improve this answer
    
Yes :) I believe I have that table. How would I then draw a line between those x,y points to their matching points from the original data? I can join the tables but not sure what to do then... –  Tetra Oct 4 '12 at 18:02
    
Just now updated my answer. –  Rayner Oct 4 '12 at 18:05
    
Fantastic thank you!! Would you have any idea of how to make it so if any of these lines cross over or are near to eachother...to make them become one line? –  Tetra Oct 4 '12 at 18:15
    
If you can post a screenshot of the lines, it would help to visualize your particular situation. –  Rayner Oct 4 '12 at 18:19
    
I have uploaded a screenshot :) It's waiting to be peer reviewed. –  Tetra Oct 4 '12 at 18:27
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.