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.

Please any body help me for creating lines from points in electric network for instance electric poles are there in point feature with "polename" field like "P01", "P02", "P03" etc. I need a tool that create lines on Target (Feature Class) from P01 to P02 then P02 to P03 in continue.

share|improve this question
1  
There are several other questions that address this on the site, I would suggest looking at this link as several of them are listed, gis.stackexchange.com/search?q=lines –  Andy W Jan 19 '11 at 13:05
1  
add comment

3 Answers

You could try Hawth's Tools 'Convert Locations to Paths' tool. Same concept.

share|improve this answer
    
add comment

This link points to an ArcScript on ESRI's website. It is a python script that looks like it was turned into the tool that @PolyGeo references in ArcGIS 10.

It requires that you have an ID field that links the points you want to convert to lines, so you will have the following:

Point Name ID
PO1 1
PO2 1
PO3 2
PO4 2
PO5 2

The key is that if you want PO1 to also appear in Line 2, you will have to repeat it in the shapefile like this: PO1 1
PO2 1
PO3 2
PO4 2
PO5 2
PO1 2

Here is the link to that ArcScript: Points to Lines

There used to be a script that took this a step further and used 2 files. The first was a point feature class like above, where each point had a unique identifier. The 2nd file was a table that defined the lines based on point id's: ID Start End
1 PO1 PO2
2 PO1 PO3
3 PO2 PO3
etc
I could not find the script for this one though, but it might give you a starting point.
Hope these help.

share|improve this answer
add comment

There's a Points To Line tool in ArcGIS 10 that may do what you want.

share|improve this answer
    
Thanks for reply, presently i am using ArcGis 9.3 i also have xtool where its having "Make one polyline from points" which create a line from points according to OBJECTID. So if P03 is first point and P01 is second point and P02 is third point then a line also create from point P03 to P01 and from P01 to P02, but i want a line from P01 to P02, P02 to P03 –  Ashish Jan 27 '11 at 9:46
add comment

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.