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

Check map conformity to ISOM/ISSOM #262

Open dg0yt opened 11 years ago

dg0yt commented 11 years ago

@zerbembasqwibo reported on Sourceforge [tickets:#262]:

A tool that check conformity against norms and to give warnings.

Minimum areas for differens symbols are well defined, as well as shortest length of some line object (cliffs), also distances between (black) line objects, as examples.

Result is markings with some sign or lists of warnings. The map drawer can ignore these warnings of course but gets good help for making a legible map.

dg0yt commented 11 years ago

puzzlepaint posted on Sourceforge:

Minimum areas and lengths are covered by this ticket: #35 Minimum distances while drawing are covered by this one: #136

The remaining point would be minimum distances on an already drawn map, however I think that this may be hard to check. Maybe a rasterization-based approach which paints colors separately into off-screen buffers, applies dilation with a circle with half the minimum distance as radius, and then checks for overlaps of initially distinct regions could work? At least as long as the objects don't overlap in the first place, which would require another check and a per-symbol setting if this is allowed: e.g. yes for small paths, no for the black 'x'.