writes:
Sorry I can't help you with theGDI heap problem...
> I'm bending OGL's purpose a little and trying to use it as a very simple 2D mapping
> component (if anyone knows a better solution I'd love to hear it!).I ttok another route, deciding that I would be bending OGL's purpose too
mush to tbe worth it.I now have a class that creates a window that will display objects
(polygons, text, rectangles, circles, etc) in Lat-long space (or any
floating point coordinates). It is zoomable and scollable, does a simple
flat-earth projection. I hav't had the chance to work on it for a while,
but I'm hoping to re-visit it soon.I'd be glad to send it to you if you like, and be even happier if you
want to contribute to it! What are your requirements for a "2d mapping
component"?Let me know if you want to take a look.
Yes please. I'd also be happy to contribute, to some wxpython component to do
this.
At the moment my requirements are very simple - scrollable, object positioning,
fp co-ords, no projection corrections, drop down menus on the objects. Currently
I'm using small bitmaps to represent objects - likely to be the main cause of my
GDI probs - but could use shapes instead. Ideally i'd like to be able to switch
between the two.
In the future I'd like to add object rotations, waypoint/keyposition nodes,
group selection, a way of layering maps - selectable terrain/road network/grid
etc, map in map location box etc etc. There's bound to be other stuff I may need
but at this point I should remind myself I'm much more efficient at dreaming up
new functionality than at implementing it!
···
python@lee-morgan.net wrote:
-Chris
--
Christopher Barker,
Ph.D.
ChrisHBarker@home.net --- --- ---
http://members.home.net/barkerlohmann ---@@ -----@@ -----@@
------@@@ ------@@@ ------@@@
Oil Spill Modeling ------ @ ------ @ ------ @
Water Resources Engineering ------- --------- --------
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------
--
wxPython