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

Home » Public Forums » archive » Georeferencing Errors
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: Georeferencing Errors [message #41643 is a reply to message #41513] Wed, 03 November 2004 12:19 Go to previous message
will.mccarty is currently offline  will.mccarty
Messages: 2
Registered: November 2004
Junior Member
OK, after months of wondering why, I've finally figured out the
problem!

The double precision adjustment played a role, but not the main role.
I had this problem with lat/lon grids already in double precision
previously, and yet had the exact same georeferencing problems.

It all comes down to two simple parameters. I post this so when I
have the problem again in 6 months, I'll find the answer.

I had been declaring projection information using:

--
map_set,mean(lat),mean(lon),/cylindrical,limit=[min(lat),min (lon),max(lat),max(lon)],/noborder
--

However, this gives a default border around the image. map_patch,
however, assumes no border. Thus by declaring the projection as
having no border:

--
map_set,mean(lat),mean(lon),/cylindrical,limit=[min(lat),min (lon),max(lat),max(lon)],/noborder,xmargin=0,ymargin=0
--

The map_continents vector information and the map_patch result end up
lining up perfectly.

My thought process in why this happens may be flawed, but by setting
xmargin and ymargin to zero, it lines up.

Will
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Help Plotting Cylinders in 3D
Next Topic: Re: Georeferencing Errors

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

Current Time: Sun Oct 12 05:31:59 PDT 2025

Total time taken to generate the page: 1.27928 seconds