Skip to main content
Question

Point Connector or something else?

  • January 8, 2014
  • 2 replies
  • 67 views

franco69
Contributor
Forum|alt.badge.img+11

HI,

 

 

i have a lot of points in one feature class with an attribute for elevation

now i want to create lines between these points within a distance parameter (any possible line within this distance parameter)

and give the line two attributes....one for the elevation of point from

and one for the elevation of point to

 

which transformers i have to use and in which order?

 

Thx

 

Franco

 

 

P.S: A Happy New Year to all!!
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • January 8, 2014
Hi Franco,

 

 

I would use the NeighborFinder and the 2DPointAdder in the folowing context. Assume name of the attribute holding elevation is "_elevation".   1) Use a Counter to append sequential number attribute (e.g. "_index") to every point.   2) Use CoordinateExtractor to store coordinate values (e.g. "_x", "_y").   3) Send all points to CANDIDATE port of a NeighborFinder. Not use BASE port in this case. Maximum Dixtance: <distance parameter> Close Candidate List Name: _close   4) Use an AttributeRenamer to rename attributes which will conflict with "to" point after exploding (next step). Old Attribute  |  New Attribute _index  |  _from_index _elevation  |  _from_elevation   5) Use a ListExploder to explode "_close{}". Every point will have "_index", "_elevation", "_x", "_y" of "to" point.   6) Use a Tester to select only features which match with the condition of "from" index < "to" index ("1-2" line is same as "2-1" line; select "1-2" line here). _from_index < _index --> PASS   7) Use a 2DPoitAdder to transform the point to a line segment. X Value: _x Y Value: _y

 

 

Takashi

franco69
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • January 8, 2014
perfect!!!!

 

THX