Hi zsj,

Thanks for sharing your project to us.

I think this is very good project. As you mentioned, you like to add
function in the future.

I found this project  qmapcontrol -
http://sourceforge.net/projects/qmapcontrol/  quite interesting. You
can probably get some functions and translate it to python or create a
python bindings. It is also LGPL.

Zsj, your project got a lot of potential to work in Meego phones and
Meego tablet. You can just change PyQt4 library  to Pyside  later on.
I hope we can have simple edit in mapcanvas.

Regards, Noli





On 7/24/10, feverzsj <[email protected]> wrote:
> hi, list
>   I found that lots of people like me were eager for some ready-to-use
> stuff which can just view the map and make some on-the-fly modification
> to the map(like turn on/off or change the proj of layer/map) and see the
> result immediately.
>   The c++ viewer in demo need to be complied and there are some external
> dependencies. Though, I complied it out, it just won't run for some
> unknown reason(I've post a related mail). Quantumnik requires QGIS and
> some python modules to be installed first. Since QGIS uses its own copy
> of python2.5, the module installation seems not simple as usual.
>   Last week, I wrote a pyqt4 widget(MapnikWidget) that can view/zoom/pan
> the map with mouse, just simple enough. This week, I've made some
> modification to the widget.It is now able to build up a
> QStandardItemModel and optionally a QTreeView to display/modify the
> attributes of map and its layers.
>   I've also written a MDI based pyqt4 program as a example(the viewer).
>   There still may be some bugs. I've only tested it on win32 platform.
>
> mapnik map viewer features:
> 1. Open and view multiple mapnik maps in one MDI area. Drag to pan and
> wheel to zoom map.
> 2. A dockable widget shows a tree view of map's attributes of current
> activated subwindow in the MDI area. The value of blue name can be
> modified. For boolean values, '1'/'ture'/'on'(case-insensitive) are for
> True, any string else is for False. Click "update to map" to update the
> modification to the map immediately.
> 3. "zoom all" to zoom all the map of current activated subwindow.
> 4. "reload" to reload the map of current activated subwindow. This is
> convenient to view the map after you have finished editing the map xml
> in your favorite editor.
>
> I use:
> python2.6
> mapnik0.71
> PyQt-Py2.6-gpl-4.7.3-2
>
>
> In the zip attachment:
> __init__.py       :  just empty
> MapnikWidget.py   :  the mapnik widget
> main_window.py    :  the viewer's mainwindow and entrance, run this
> script to show the viewer.
> Ui_main_window.py :  compiled qt4 form
> main_window.ui    :  qt4 form file
> eric4proj.e4p     :  eric4 project of the viewer
>
>
> p.s. The nabble proxy of mapnik-devel seems broken. There is only on
> post there. Hope someone can fix that. Nabble is very convenient while
> outside. The mail-archive.com is blocked by the nation's fire wall.
>
>   --Regards, zsj
>
> //
>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to