Skip to main content
Question

Copying Elevation to Measure

  • August 6, 2024
  • 1 reply
  • 23 views

matthewb
Contributor
Forum|alt.badge.img+11

I have a very large dataset where all of the polylines have elevation that should be measure data.  The custom transformer ElevationtoMeasureCopier is such a memory hog that the workbench is failing on my computer and on my server.  Is there a different way to copy the elevation data to measures?

 

1 reply

virtualcitymatt
Celebrity
Forum|alt.badge.img+47

three things to try:
 

  1.  Make sure feature caching is off
  2. upgrade the transformers inside of the CustomTransformer to the latets version. This may give you a bit of help.
  3. Consider running the database in batches. You could develop a process to run the whole thing in chunks, e.g., 100,000 features at a time. There are parameters in the readers which can let you control the number of features to read and from which feature to start at. 

    https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Form/Workbench/reader_parameters_featuresToRead.htm

    Using a workspace runner you could configure the main workspace to run 10 times or so each on a different 100,000 features. This assumes 1,000,000 features.