[gdal-dev] Drawing on OpenEV Layer

Michael Slinn mslinn at mslinn.com
Wed Apr 2 19:10:18 EDT 2008


In the OpenEV Python shell, I can type:

view=gview.app.sel_manager.get_active_view()
view.get_named_layer("whatever")
view.get_color()

That works great, but I'd like to do more:

1) After the user draws a polyline using the Edit Toolbar line tool,
I'd like to read the coordinates back.

2) Erase the most recently drawn entity (so I can erase the user's
polyline once the coordinates have been extracted.)

Thanks in advance,

Mike


More information about the gdal-dev mailing list