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

Home » Public Forums » archive » shifted .kml created with IDL
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: shifted .kml created with IDL [message #81011 is a reply to message #80955] Fri, 03 August 2012 06:21 Go to previous messageGo to previous message
titan is currently offline  titan
Messages: 59
Registered: March 2006
Member
On Thursday, August 2, 2012 11:33:19 PM UTC+2, David Fanning wrote:
> Titan writes:
>
>
>
>> lonlat_kml
>
>> 11.250532 43.859578
>
>> 16.079682 46.500001
>
>>
>
>>
>
>> The problem is that I expected coordinates near to these
>
>> ul_lat = 47.653348
>
>> ul_lon = 8.9734384
>
>> lr_lat = 45.292876
>
>> lr_lon = 13.830713
>
>> which are the corners of the area in which I'm interest.
>
>> Am I still doing everything wrong?? :(
>
>
>
> I would say the art of programming is reconciling what
>
> we expect with what we get. :-)
>
>
>
> I don't know how to answer you questions. I had my
>
> own set of assumptions from the get-go. The first
>
> is that you described the problem correctly and
>
> accurately. But, since I've never *seen* the problem,
>
> I can't judge if my assumption is correct. I based
>
> my assumption on my experience that when things are
>
> a "little bit off" it usually involves a mismatch
>
> in map projection parameters.
>
>
>
> If things are as bad as you now say they are, then
>
> I'm at a complete loss. I suppose you have good
>
> reasons for expecting something different?
>
>
>
> Can you confirm the lat/lon values at the corners
>
> of your geoTiff image (with, for example,
>
> Map_Proj_Forward) are what you expect them to be?
>
>
>
> They should not change very much, I don't think,
>
> in this coordinate transformation from UTM to
>
> Mercator.
>
>
>
> 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.")

Ok David,
at least I can say that the code should work fine.. now I can move on to understand where is the trick in my geotiff image.

thanks a lot for your answers, they were all very useful
cheers
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: max_value/min_value in the x-axis?
Next Topic: IDL User Group Meeting 2012

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

Current Time: Thu Oct 09 23:37:51 PDT 2025

Total time taken to generate the page: 0.80000 seconds