A aviation & planes forum. AviationBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » AviationBanter forum » rec.aviation newsgroups » General Aviation
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Georeferencing Maps [was GPS and airspace]



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old July 1st 04, 04:08 PM
Kyler Laird
external usenet poster
 
Posts: n/a
Default

"John Clonts" writes:

FYI, I patched the tags in my test file (from
https://aviationtoolbox.org/Members/...ul_Y=-676347.0)
with geotifcp per J.G.'s instructions, and Oziexplorer is happy with that
image now. Do you know if changing your generation code would be
appropriate, and/or cause other problems with other software?


It's appropriate and I want to do it. If it causes any problems, I'll
work through them. I want these things to be correct.

Yesterday I distilled the code to a few lines that demonstrate the
problem and sent a report to the GDAL developer mailing list.
http://remotesensing.org/mailman/listinfo/gdal-dev/
It hasn't appeared in the archives yet.

I welcome more reports to the list. My trivial example is below.

Thank you.

--kyler

================================================== ========================
#!/usr/bin/env python

import gdal

a = gdal.Open('a.tif')

b = gdal.GetDriverByName('GTiff').Create(
'b.tif',
a.RasterXSize, a.RasterYSize,
3, gdal.GDT_Byte,
[ 'TILED=YES' ]
)

b.SetProjection(a.GetProjection())
b.SetGeoTransform(a.GetGeoTransform())
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:46 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 AviationBanter.
The comments are property of their posters.