Code Monkey home page Code Monkey logo

Comments (9)

kebekus avatar kebekus commented on July 28, 2024 2

Enroute is now internally able to read GeoTIFFs where the transformation is specified in one of the following ways:

  • via a ModelTransformationTag
  • via a combination of ModelPixelScaleTag and ModelTiepointTag

The changes are not user visible yet, because Enroute cannot presently handle VACs with that info; I will implement that next.

from enroute.

kebekus avatar kebekus commented on July 28, 2024 1

@schneisi Ich habe Dich hinzugenommen, weil bestimmt auch iOS-Nutzer nach dem Problem fragen werden...

from enroute.

kebekus avatar kebekus commented on July 28, 2024

Lieber Michael,

danke für den Hinweis! Ich schaue mir die Sache an, werde aber ein paar Tage brauchen, weil ich im Moment noch beruflich im Ausland bin.

Ich muss ehrlicherweise sagen, dass ich nur das absolute Minimum implementiert habe, das nötig war um die Beispiel-GeoTIFFs, die ich damals hatte, korrekt zu lesen. Daher ist es vielleicht nicht sehr überraschend, dass nichts mehr läuft, sobald Du andere GeoTIFF-Features verwendest.

Der derzeitige Code unterstützt die Transformationen garantiert nicht. Ich denke aber, dass ich die Funktionalität aber zeitnah nachliefern kann. Ich programmiere mal was und melde mich, vielleicht schon in der nächsten Woche.

Grüße,

Stefan.

from enroute.

mipastgt avatar mipastgt commented on July 28, 2024

Wenn es kurzfristig irgendwie hilft, dann könnte ich bei mir auch auf die Methode 3 (Drei raster->model tiepoint pairs) umstellen. Langfristig ist das aber auch keine Lösung, denn GeoTIFFs können ja aus beliebigen Quellen kommen und dann hat man auch keine Kontrolle darüber welche der möglichen Methoden zur Beschreibung der Georeferenzierung verwendet wird. Ausserdem ist bei den drei Tiepoints auch nicht gesagt, dass diese immer mit den Eckpunkten korrespondieren. Im allgemeinen Fall müßte man aus diesen Tiepoints sowieso die affine Transformationsmatrix berechnen.

from enroute.

mipastgt avatar mipastgt commented on July 28, 2024

I have now extended AIP Browser DE to be able to export pre-transformed chart images. (I explicitly say pre-transformed and not pre-rotated because a general affine transform can also have a shear component.) This works nicely with Enroute:
Bildschirmfoto 2024-03-20 um 19 36 18
In the long run it would still be better if Enroute could handle all affine transforms because the images a smaller and may come from different sources which don't provide a pre-transform feature.

I have observed a problem with the zoom level though which I am going to report in a separate issue.

This addition to AIP Browser DE was also necessary because other flight software like VFRNav can't handle non-north-oriented images at all due to their limited way to describe the geo-info as just two co-ordinates encoded in the file name.

from enroute.

kebekus avatar kebekus commented on July 28, 2024

@mipastgt Thank you for the fantastic new feature. I hope that Enroute will learn to handle all affine transforms within the next two weeks… but as usual, I cannot give any guarantees.

from enroute.

kebekus avatar kebekus commented on July 28, 2024

Update: GeoTIFF reader can handle affine transformations now. However, we still need to implement support for that in the VAC handling code of Enroute. A major re-write of the VAC library class is required.

from enroute.

kebekus avatar kebekus commented on July 28, 2024

Currently in public beta at Google Play.

from enroute.

kebekus avatar kebekus commented on July 28, 2024

Implemented in 2.30.13. Thanks to everybody!

from enroute.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.