comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: how to composite a mapcoord object using geographic coordinate(no projection)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how to composite a mapcoord object using geographic coordinate(no projection) [message #87706 is a reply to message #87703] Mon, 24 February 2014 05:58 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Yngvar Larsen writes:

> I just sent you an email with a download link for one of the SRTM tiles.

Yes, so this file doesn't pretend to have map projection information in
it. Here is the GeoTiff structure from the file:

IDL> help, geo
** Structure <7b9e5160>, 2 tags, length=72, data length=72, refs=1:
MODELPIXELSCALETAG
DOUBLE Array[3]
MODELTIEPOINTTAG
DOUBLE Array[6, 1]

I just think it is unreasonable to expect general purpose GeoTiff
readers to handle files like this. Obviously, you can fill your reader
code with multiple exceptions, etc. But, when you get a file like this,
the file itself doesn't tell you want you need to know to work with the
data properly.

I'm not saying it is *hard* to use these files. It is easy enough. I'm
just saying, you need information from outside the file, or in Jie
Zhou's case, you need to parse internal information in a non-standard
way, in order to make sense of the data. If I worked with these files
for a living, I'd take 15 minutes and write myself a reader.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ps_start output
Next Topic: how to composite a mapcoord object using geographic coordinate(no projection)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 07:10:42 PDT 2025

Total time taken to generate the page: 0.87969 seconds