Aren't some re-using the GPX nodes to draw their ways above the tracks?
Would this be doable with your patch?

If not, I'd add a preference setting to disable GPX snapping rather than
imposing it to all...

- Chris -

On Sun, Jan 4, 2009 at 11:29 AM, Yves Goergen
<[email protected]>wrote:

> This simply disables all snapping to GPX nodes. With it, you can display
> your GPX tracks and draw nodes and ways without being bothered by those
> numerous nodes right in your way. They're visible but harmless at last.
>
> --
> Yves Goergen "LonelyPixel" <[email protected]>
> Visit my web laboratory at http://beta.unclassified.de
>
> --- merkaartor\Interaction\Interaction.h.orig   Fri Jan 02 23:21:05 2009
> +++ merkaartor\Interaction\Interaction.h        Sun Jan 04 19:08:50 2009
> @@ -197,6 +197,8 @@
>                                                continue;
>                                        if (NoSelectPoints &&
> dynamic_cast<TrackPoint*>(Pt))
>                                                continue;
> +                                       if (Pt->layer()->isTrack())
> +                                               continue;   // Don't snap
> to GPX nodes
>                                        if
> (std::find(NoSnap.begin(),NoSnap.end(),Pt) != NoSnap.end())
>                                                continue;
>                                        if
> (Pt->boundingBox().disjunctFrom(HotZone))
>
> _______________________________________________
> Merkaartor mailing list
> [email protected]
> http://lists.openstreetmap.org/listinfo/merkaartor
>
>
_______________________________________________
Merkaartor mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/merkaartor

Reply via email to