[PyQt] How to show maps in GUI and get coordinates with clicks

Antonio Valentino antonio.valentino at tiscali.it
Tue Oct 6 19:17:18 BST 2009


Il giorno Mon, 5 Oct 2009 16:33:37 -0400
"Echavarria Gregory, Maria Angelica" <m.echavarriagregory at umiami.edu>
ha scritto:

> Good afternoon group,
> 
> I have my working GUI programmed in PyQt. Now I need to:
> 
> 1. show a map (raster image) as foreground in my QGraphicsView with a
> specified coordinate pair in the middle of the QGraphicsView, and
> more important: 2. be able to pass sets of coordinates when users
> click on a point of the map
> 
> What is the simplest way of doing this? any examples?
> Does the GDAL library for Python have some use in this PyQt
> application?

Hi,
I use GDAL and QGraphicsView in my project:

http://gsdview.sourceforge.net

I hope it helps.

ciao

-- 
Antonio Valentino


More information about the PyQt mailing list