Elektrine lite

← Feed

@tim_fan@mastodon.social

2024-11-24 17:06 UTC

@mjambon I have a similar project at https://onamap.me/ For the lat/lon to pixels algorithm, I use a triangulation of the reference points to interpolate u,v pixel coords based on pixel coords of nearby reference points https://turfjs.org/docs/api/tin

Replies (1)

  • @mjambon@mastodon.social 2024-11-24 17:45

    @tim_fan cool. I don't have any need for it but I'm curious about dealing with bad data in practice and in theory. I.e. if one point is inconsistent with the majority, there should be a way to detect it and flag it. In practice, I suppose it depends on the application (e.g. are coordinates entered by a human who can make typos?).

    Open ##1974641