jr hawkins wrote:

> I'm now looking into FloatCanvas source code to see if I can make it 
> work for me.

FloatCanvas (the one distributed with wxPython) or FloatCanvas 2?

If FloatCanvas2 -- look for the Map demo in SVN source.

If FloatCanvas1, I've done something similar.

What I did was use the pixel coords of the map image in FloatCanvas, and 
create a Map class that wraps the wx.Image and does the projection for 
you. I've enclosed that module here.

I'd rather FloatCanvas did the projecting itself, but the infrastructure 
isn't quite there.

If it's a simple linear projection -- just scaling and shifting, they it 
could be done by an appropriate floatcanvas projection and scaling the 
image correctly.

Please to ask further questions on the mailing list -- I like to have an 
archive for folks.

>> http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to