Good morning,

     I have a Workbench file that currently does the following:

     1. uses CoordinateFetcher to retrieve the start and end points of
    lines.
     2. merges the start/end point coordinates from these lines onto
spatially modified versions of the same lines (using FeatureMerger
with Merge Type 'Attributes Only' and Join Attributes set for a common
field).
     3. calculates the distance from the start point of each modified
line to both the start and end points of the unmodified line
(Literally, I suppose, LengthToPointCalculator doesn't use the
original line's start and end point coordinates for the distance
calculation, but uses the points on the modified line closest to the
original line's start and end points).

So ultimately, this Workbench file should provide me with two
distances, both calculated from the start point of the modified line:
     1. To the point on the modified line closest to the original
line's start point
     1. To the point on the modified line closest to the original
line's end point.


I have run this process on certain files and it seems to work fine.
However, with the latest set of files I ran, most of the distances do
not appear to be correct. The coordinates of the original line's start
and end points look good coming out of CoordinateFetcher, but when
LengthToPointCalculator estimates their distance from the modified
line's start point, the two distances come up equal, either as '0' or
a non-zero, but still equal value. If I'm thinking correctly, the
original line would usually have to start and end at the same point
for both distances to be the same, but the start and end points are
very different.

In other cases, the two distances appear to be correct, or at least
not the same as each other.

Does anyone have any insight on this? Am I overlooking something?

Many thanks,
J.D. Leach
U.S. Census Bureau



For insights into what's up at Safe Software and what's on the development 
horizon, visit Safe's blog at spatial-etl.blogspot.com.

Love FME? Then open your diary to March 6-7, 2008 and write this... "Second 
Worldwide FME User Conference - Must Attend!" See 
http://www.safe.com/company/fmeuc2008/index.php for more details. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/fme/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/fme/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to