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

Home » Public Forums » archive » Drawing satellite pixels on maps?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Drawing satellite pixels on maps? [message #7466] Tue, 19 November 1996 00:00 Go to previous message
Philippe Peeters is currently offline  Philippe Peeters
Messages: 14
Registered: April 1996
Junior Member
I've already posted this question some time ago but did not get any
answer. Here I go again:

I want to draw satellite data on a map. Each ground pixel is defined by
the latitude and longitude of the 4 corners. It is not a regular
rectangle or square and depend on the viewing geometry of the satellite
instrument.
I have tried a simple polyfill,long,lat but I have serious problems with
orthographic maps when the pixel is partly off the map. I got strange
filled polygons from the edge of the map to the corner of the window.
Someone on the net advice me to use a new polyfill routine which checks
polygons boundaries before drawing it. Though slower than the original
polyfill, it solved the problem.
But I still have another problem with several maps when the pixel to be
drawn is at the edge, i.e. when one or several pixel corner is on one
side of the map (lon > -180) and the other on the other side (lon< -180)
of the map.
example longitude=[-179,-181,-179.5,-180.5] or [179,181,179.5,180.5]

The pixel is drawn from one side to the other of the map which is pretty
ugly. Obviously this is a 'normal' way of drawing that kind of pixel,
polyfill is not supposed to know that it has to cut the pixel into two.
Does anybody know how to solve this problem.

And now a question related to the same topic. How can I resample the
irregular ground pixels onto a regular (square or rectangle) grid?

--
Philippe Peeters
------------------------------------------------------------ --------------
Belgian Institute for Space Aeronomy | Tel : +32-2-373.03.81
Institut d'Aeronomie Spatiale de Belgique| Fax : +32-2-374.84.23
3 Avenue Circulaire | Email :
Philippe.Peeters@oma.be
B-1180 Brussels, Belgium |
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: long names under Windows NT
Next Topic: PV-Wave Postscript question

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

Current Time: Wed Oct 08 19:10:15 PDT 2025

Total time taken to generate the page: 0.00369 seconds