Difference between revisions of "GEPS 025: Geography"
m (moved Geography to GEPS 025: Geography) |
(→The GEPS to try it) |
||
Line 44: | Line 44: | ||
The osmgpsmap license is GPL v3 | The osmgpsmap license is GPL v3 | ||
− | ==The GEPS to try it== | + | ==The GEPS 025 to try it== |
In a few days ... | In a few days ... | ||
Revision as of 20:37, 11 April 2011
Contents
Why
Why we need to found another solution ?
The bad things we currently have :
- Bad integration of webkit and gtkmozembed in hpaned => sidebar and bottombar removed
- Hard to communicate between the two parts : the html renderer and gramps
- Sometimes some console messages due to the asynchronysme of these two parts
- If we have no network, the maps can't be shown.
- It depends on :
- mapstraction : We need to have developers with javascript knowledge
- html and javascript : We need to have developers with javascript and html knowledge
- The renderer : webkit or gtkmozembed : The renderer works asynchronously and has no interface with python. We use a subtlety to communicate between the two environments : we change the title of the page and push all information available to gramps.
- Depending on the distribution and the version we can have crashes.
The replacement
- No more html and javascript.
- We can now use sidebar and bottombar without problems.
- I totally rewrote the code and dispatch it in several classes.
- I create a maps directory in the src directory with all map classes and all common stuff for plugins
- In the plugins/view, I have one module per type of map ( like pedigreeview, fanchartview )
- We can use the map even without network ( need many place in the filesystem for tiles )
For the map provider, I had two choices :
gmapcatcher
Totaly in python : many problem when I tried to integrate it in gramps. We must rewrite several modules.
No translation available. All must be done : use of _()
The gmapcatcher license is GPL v2
osmgpsmap
Based on gmapcatcher and totally rewritten in C.
The python interface is available for windows and a majority of distributions :
- ubuntu : osmgpsmap deb package
- fedora : osm-gps-map rpm package
- ...
relatively easy to use. Like gmapcatcher, we have no marker methods like in googlemaps or openstreetmap So the bubbles and tips are not available : need to be implemented.
The osmgpsmap license is GPL v3
The GEPS 025 to try it
In a few days ...
TODO
What does not work :
The marker bubble info. click on a marker ? show a tooltip when we move the mouse over the marker ?
NEXT
Possibility to connect a GPS
Possibility to show tracks
...
Please, comments