OpenOrienteering / mapper

OpenOrienteering Mapper is a software for creating maps for the orienteering sport.
https://www.openorienteering.org/apps/mapper/
GNU General Public License v3.0
399 stars 106 forks source link

Fill tool gives strange points #508

Open dg0yt opened 9 years ago

dg0yt commented 9 years ago

Somebody reported on Sourceforge [tickets:#508]:

When filling areas sometimes strange and unneccessary points appear, see attached picture.

//Zerbembasqwibo

skarmklipp

dg0yt commented 9 years ago

"Sometimes" is difficult to reproduce. Please create a test file (copy and paste the offending object to an empty map).

Note that this tool operates in a way that cannot always avoid extra points. And it received some changes from 0.5.3 to 0.5.96, as well as from 0.5.96 to current "unstable" build.

dg0yt commented 9 years ago

Somebody posted on Sourceforge:

If you fill the object alone it's no problem, it's in the exact context added that extra points appear. See attachment.

Attachments (on Sourceforge):

dg0yt commented 9 years ago

If you really want to fill a single outline object without considering context, there is another tool "Fill / Create border".

You use the tool "Fill bounded area". This is a convenience tool, and its purpose is to fill an empty area which may be bounded by arbitrary objects. The extra points you observe are located where different boundary objects are overlapping. This can be seen best in a combination of "Hatch areas" (F2) and "Baseline view" (F3) (cf. screenshot).

The tool tries to deal with dashed lines by drawing a baseline view over a normal view. This approach might need a minor twist: Rather than distorting the standard with the exceptional, it could work better if the baselines are used as a background to the standard. My experimentations confirms that, however the change will need more testing in the next "unstable" build.

extra-points