Hi Grant,

Handling measures in FME 2006 GB is not easy.
It might be possible to do what you want to do, I am not sure.

In FME 2007 this should get easier.

I would try this:

Expose the "geodb_mesures" field of your destination feature type.
Try to grab the measure of your nearest vertex on your line and set it into
that field (AttributeSetter).
Perhaps like this:
Convert your line to points (Chopper), than snap your points to be located
to the nearest of this points (Neighbourfinder).
Set the geodb_measures - field with the geodb_measure information of the
point it has been snapped to

Attention: If you use an AchoredSnapper, it will always snap to a vertex and
not to the edge!
The "Locating Features Along Route" - function in ArcView also snaps to the
edge!

If you don't get this to work, you could integrate FME and the Geoprocessing
Environment from ArcView in two ways:

1) You could write a batch script that calls your FME file through the
command line and afterwards a Python Script calling the "Locate Features
along line" from ArcView,
This is probably the way I would do it.

2) If you have FME ESRI Edition, you could extend the FME Extension for
ArcGIS so that you could integrate your FME Workbench logic into a
Geoprocessing model.

Greetings from Switzerland,
Jeff

On 3/1/07, grant.huntington <[EMAIL PROTECTED]> wrote:

  Hi everyone,

This is my second ever post here. My first post was skipped over (so
far), I apologize if the question wasn't clear. Here is another
simpler problem I am having.

Is there a way to locate the measure value of points that are snapped
to polylines? This would be similar to the "Locate features along
routes" tool that ArcView offers.

I first snapped the points to the line with the anchored snapper which
worked well. In a separate workbench I exposed the shape_measures
attribute of the measured polyline and then used the Pointonline
overlay to attach all of the attributes to the point - but that simply
populates the destination measures field with 0.

The developers want this functionality embedded in their current ETL
workflow, so that is why I'm trying to get an FME solution rather than
use ArcView.

ANY guidance would be greatly appreciated.

Thank you,

Grant Huntington



Reply via email to