valruggero / georefexport

2 stars 1 forks source link

incorrect world files generated #1

Open robinpaulson opened 7 years ago

robinpaulson commented 7 years ago

I exported a file as jp2 and examined the jpw file which came with it. This was its contents: 1.94819424192e-05 0 0 -1.94819424192e-05 174.748538613 -36.8456031246

From ESRI, world files cannot use scientific notation: http://webhelp.esri.com/arcims/9.3/General/topics/author_world_files.htm

Also, according to Wikipedia, the units for the first and fourth values are in metres, which makes my pixels somewhere in the 19 micrometer range, which isn't right: https://en.wikipedia.org/wiki/World_file

Cheers!

robinpaulson commented 7 years ago

Oh, also the figures for the position of the upper left pixel are wrong. They are too far to the north and the west by around 0.01 degrees.

valruggero commented 7 years ago

Hi Robin, it is maybe a CRS problem? Which CRS are you using?

Thanks Ruggero

On 1 January 2017 at 12:49, robinpaulson notifications@github.com wrote:

Oh, also the figures for the position of the upper left pixel are wrong. They are too far to the south and the east by around 0.01 degrees.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/valruggero/georefexport/issues/1#issuecomment-269900142, or mute the thread https://github.com/notifications/unsubscribe-auth/AH23J7cIBkLuI9U3kNgMHhfpX3ZKM6aZks5rN5LIgaJpZM4LYsuV .

-- /**** /\ Ruggero Valentinotti //\ /\ ///\\//\ Frazione Tozzaga ////\\/\\ Via alle Pozze, 6 /////\\\\\ 38022 CALDES (TN) ||////\\\ ITALY __||||_____ ****/ Io stimo più il trovar un vero, benché di cosa leggiera, che 'l disputar lungamente delle massime questioni senza conseguir verità nissuna Galileo Galilei, 1609

robinpaulson commented 7 years ago

Wgs 84. Epsg 4326

robinpaulson commented 7 years ago

I will upload sample files when I am next able. Robin