Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a set of linestrings which are contaminated by points being almost duplicate.



I would like to remove the duplicates using a tolerance on the geometry, leaving me with a set of clean linestrings:


I know its probably a simple question, but being new to FME i could use a simple educative hint or answer :)

share|improve this question
up vote 4 down vote accepted

There are quite a few options depending on exactly what you want, so I'll list several.

Duplicate Point removal

For points that are on the same spot, there are actually a lot of transformers that will remove the duplicates as part of their process, but the one you'd want would be: DuplicateCoordinateRemover This one will only get rid of duplicate points that are on the exact same spot.


If you want to remove points that are within a certain tolerance then the Snapper is probably the answer. Set it to "vertex snapping" and before it place a Counter. Use the attribute that the counter creates for the "Group By" of the Snapper. This way features will only be snapped to themselves. So you'll have something like:

Input ---> Counter ---> Snapper ----> Output

Line Generalisation

The final option is to use a generalizer (American spelling). You'll probably want to experiment to see which algorithm to use and they're designed for something slightly different.

Just using one of them (probably the snapper) should be sufficient, but you'll want to test them for best results in your situation.

share|improve this answer
If I can accept a bit of rounding, CoordinateRounder is also an option. – Chau Apr 17 '12 at 11:11
Yep, also an excellent option. Its also good for reducing file-sizes too when the source data has far too many decimal points. – GIS-Jonathan Apr 17 '12 at 11:14

Your Answer


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.