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

Home » Public Forums » archive » Re: image interplate and overlay lat/lon?
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: image interplate and overlay lat/lon? [message #81177 is a reply to message #81176] Wed, 22 August 2012 09:26 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
go cats writes:

> My goal is to take an image(s) and overlay geographic lat/lon information onto the image. I have lat/lon information of four boundaries and tried to create a regular grid using them.
>
> I?ve used David?s code to generate a regular lat/lon grid, and tried to interpolate image with gridded lat/lon data.
>
> However, outImage looks blank and only geographin lat/lon data are shown with 0 image pixel values. I am working on 8-bit tif images.
>
> Would anybody give me some tips how to make this work or what I did wrong?

Maybe there are GeoTiff files that use latitude and longitude values for
the tie points and scales, but I've never seen any. All the GeoTiff
files I've ever worked with use projected meter values and include
information about the map projection in the file.

You shouldn't have to do any image interpolation. Basically,
what you want to do it just fit a projected map grid around
the image itself.

http://www.idlcoyote.com/map_tips/ephemeral.php

Then, you put the parameters of the grid into the appropriate
spots in your geoTiff structure and you are good to go.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: For loop avoidance - getting indices of real space
Next Topic: A simple DLM question

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

Current Time: Sat Oct 11 14:31:36 PDT 2025

Total time taken to generate the page: 2.15694 seconds