A question received via email:

I used the oft-cluster.bash and oft-clump on two sets of images: 1973 and 2014. The results for 1973 did not look good. For 2014, the results were superb except for one thing. The very tiny polygons. How to remove them?

asked 29 Oct '14, 08:44

Anssi's gravatar image

Anssi ♦♦
51225
accept rate: 11%

edited 29 Oct '14, 09:34


There are at least two nice ways to accomplish this. First, you can use oft-seg, pass the output of the oft-clump to the program using the -um option and give a desired minimum size in pixels. Second, you can use the gdal_sieve.py. The difference between the two is that whereas oft-seg merges the small segments with the most similar neighboring segment gdal_sieve.py merges them with the largest neighboring polygon.

permanent link

answered 29 Oct '14, 08:52

Anssi's gravatar image

Anssi ♦♦
51225
accept rate: 11%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×7

question asked: 29 Oct '14, 08:44

question was seen: 4,509 times

last updated: 29 Oct '14, 09:34