-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"failed to read anything" #6
Comments
This must have been fixed per 0dba341 , that has been delivered in libgeotiff 1.4.3 |
I suppose I should have added, if I then do a listgeo on the output file, the changes have not been applied. |
Please provide a fully procedure (input data + exact commands issued) so that we can reproduce |
I'm on Ubuntu 18.04.1 and geotiff-bin V1.4.2 so let me figure out how to get a more recent build since you thought there might have been a change... |
The change should only remove the warning, and not affect the output. So you can provide what you observe with your current version |
WI_RichlandCenter_503502_1905_125000_geo.tif.zip unzip the attached tiff listgeo WI_Richland\ Center_503502_1905_125000_geo.tif > t.geo Modify t.geo. I've just been changing the last digit of one of the coordinates. applygeo t.geo WI_Richland\ Center_503502_1905_125000_geo.tiff listgeo WI_Richland\ Center_503502_1905_125000_geo.tif Changes aren't evident in the file, though the timestamp does get updated. |
Did you modify the coordinates in the "Corner Coordinates" section ? If so, that explains things. Everything that is after "End_Of_Geotiff" is informative only and ignored by geotifcp. So if you want to modify the coordinates you have to modify the ModelTiepointTag and/or ModelPixelScaleTag values |
You nailed it. I just looked at the file and thought it was obvious. But now you've pointed me in the right direction. Go ahead and close this one. Now I have to figure out what looks to be a far more complicated standard than I expected! |
I'm trying to do something I thought would be very simple. I'm trying to use listgeo to pull the geo information out of a tiff, modify it and add it to another tiff.
listgeo results in a dump that has correct information.
For the sake of simplicity, I modify a single character in a GPS coordinate and then try to apply it back onto the tiff. When I do this I get several errors saying "geo_print.c DefaultRead failed to read anything"
The text was updated successfully, but these errors were encountered: