Difference between revisions of "GEPS 025: Geography"

From Gramps
Jump to: navigation, search
(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


Why

Why we need to found another solution ?

The bad things we currently have :

  1. Bad integration of webkit and gtkmozembed in hpaned => sidebar and bottombar removed
  2. Hard to communicate between the two parts : the html renderer and gramps
  3. Sometimes some console messages due to the asynchronysme of these two parts
  4. If we have no network, the maps can't be shown.
  5. It depends on :
    1. mapstraction : We need to have developers with javascript knowledge
    2. html and javascript : We need to have developers with javascript and html knowledge
    3. 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.
  6. Depending on the distribution and the version we can have crashes.

The replacement

  1. No more html and javascript.
  2. We can now use sidebar and bottombar without problems.
  3. I totally rewrote the code and dispatch it in several classes.
  4. I create a maps directory in the src directory with all map classes and all common stuff for plugins
  5. In the plugins/view, I have one module per type of map ( like pedigreeview, fanchartview )
  6. 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 :

  1. ubuntu : osmgpsmap deb package
  2. fedora : osm-gps-map rpm package
  3. ...

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