Changes

Jump to: navigation, search

GeoView

451 bytes added, 08:45, 2 February 2010
no edit summary
Work in progress.
'''All we need to understand and test GeoView.'''
== Why GeoView or Geography ? ==
I would like to see my ancestors all around the world on a map. And if possible, I would like to see them moving during time periods.
==Geoview GeoView is divided in two parts : ==This module is now in two parts in 3.2. I'll try to explain how to install them and how to use them. You have two new views named Geography and Web.
=== The html rendering engine ===
This module is called htmlrenderer.
How to do this easily and with the minimum of software to install ?
==== The html kits ====
The Html rendering machine is used to show internet remote and local sites "urls" inside of GRAMPS. We need to be connected to the network. You probably also need a broadband connection to have a smooth result. Try eg Google maps in your browser to see if your internet connection is sufficiently fast.
GRAMPS can use two different kind of engines, webkit or gtkmozembed, to view HTML pages. If they are not installed, you'll never see GeoView Geography and the Web appearing among your views. If you are looking on how to install these, see [[GeoView#How_to_get_the_HTML_kits_.3F| below]]
If both two kits are installed, webkit will be used.
 
Even if you have a HTML kit installed, you can always say : I don't mind ! I don't want to see the GeoView.
For this, you can disallow Geoview in the Internet Maps preferences tab.
 
===== WebKit =====
Be aware, WebKit is always in development.
WebKit uses the libsoup library for the proxy.
 
===== Gecko ( GtkMozEmbed ) =====
What will gtkmozembed be in the future ?
Authentication is allowed. The http_proxy format used is :
''http://[user:[email protected]]proxy:port/ ''
==== The proxies ====
Most people don't need a proxy. The majority of us are connected directly to internet. In this case, forget all this.
It depends on the distribution you're working on ! They are listed in reverse order.
python-webkitgtk is also called pywebkitgtkin some distributions. ===== debian =========== webkit ====== ''aptitude install python-webkit''====== gecko ====== ''aptitude install python-gnome2-extras'' or ''aptitude install python-gtkmozembed''
===== ubuntu fedora =====
====== webkit ======
You must use : WebKit-gtk
aptitude ''yum install pythonWebKit-webkit.gtk pywebkitgtk''
====== gecko ======
If you want gtkmozembed on ubuntu,
you must install : python-gnome2-extras or python-gtkmozembed depending on you distrib version.
aptitude install ===== MAC/OS X =========== webkit ======This is standard on MAC. Can someone confirm this.Is there a python-gnome2-extraswebkit package on MAC ?====== gecko ======
===== mandriva =========== webkit ======for 2009.0 and 2009.1:Use the package manager and install python-webkitgtk or: aptitude install ''urpmi python-gtkmozembedwebkitgtk''====== gecko ======Seems not to work. Causes segmentation fault.
===== suse =====
====== gecko ======
===== mandriva =====
====== webkit ======
for 2009.0 and 2009.1:
Use the package manager and install python-webkitgtk
====== gecko ======
Seems not to work. Causes segmentation fault.
===== fedora ubuntu =====
====== webkit ======
You must use : WebKit-gtk
yum ''aptitude install WebKitpython-gtk pywebkitgtkwebkit''
====== gecko ======
If you want gtkmozembed on ubuntu,
you must install : python-gnome2-extras or python-gtkmozembed depending on you distrib version.
 
''aptitude install python-gnome2-extras''
or
''aptitude install python-gtkmozembed''
===== debian =====
====== webkit ======
This is the same packager for ubuntu and debian, so go to the ubuntu paragraph.
====== gecko ======
install the python-gtkmozembed package.
===== windows XP/Vista =====
====== webkit ======
** [http://www.gramps-project.org/wiki/images/4/4d/PyWebKitGTK-1.1.7.win32-py2.6.zip PyWebKitGTK-1.1.7.win32-py2.6.msi]
===== MAC/OS X ... =========== webkit ======This is standard on MACYour distributions are welcomed .. Can someone confirm this.Is there a python-webkit package on MAC ?====== gecko ======
=== The Geographic part ===
This module is called geoview.
===== In GRAMPS 3.1.x =====
it If you really are in 3.1.2 and greater, you only have the geoview module. The htmlrenderer is included in geoview.for installing the html renderer, you can see the documentation above.It is present as an experimental view you can activate. For GeoView to work you need to:
# change the GRAMPS configuration file to list the view in the list of views
# install the required backend so you can see webpages inside of GRAMPS.
[[Image:GeoViewPreferences.png]].
Openlayers is free too and uses by default OSM map. A lot of private or non free maps depends on OpenLayers.
 
The most interesting is the IGN ( Institut Géographique National Français )[http://www.geoportail.fr/visu2D.do?cg=djoxLjEqYzptZXRyb3BvbGUqY3Y6MS4wKnZ2OjEuMSp4eToyLjM0NTI3NDM5ODQwMTE4ODN8NDguODYwODMyNTU3MTczODgqczoxMCpwdjoxLjAqcDpkZWNvdXZlcnRlKmw6UGhvdG98fHwsU2NhbnwxfDEwMHwsQ2Fzc2luaXwxfHw%3D] which offers an old map of France ( about 1780 ) but this provider needs a key. I'll speak about keys later.
 
Then you have Googlemaps, Yahoo! maps, Microsoft maps, ...
===== In GRAMPS 3.2 =====
You don't need to set the providers. The first one is always OpenStreetMap and the alternate is GoogleMaps.
 
==== Supported longitude/latitude formats ====
OpenStreetMap depends on the community and the maps are very light depending on the country. Nevertheless, the community made an extraordinary job and the quality is improving rapidly. And you can [http://openstreetbugs.appspot.com/ help make it better]! We can say OpenStreetMap is and will be the map GRAMPS uses per default.
 
Openlayers is free too and uses by default OSM map. A lot of private or non free maps depends on OpenLayers.
 
The most interesting is the IGN ( Institut Géographique National Français )[http://www.geoportail.fr/visu2D.do?cg=djoxLjEqYzptZXRyb3BvbGUqY3Y6MS4wKnZ2OjEuMSp4eToyLjM0NTI3NDM5ODQwMTE4ODN8NDguODYwODMyNTU3MTczODgqczoxMCpwdjoxLjAqcDpkZWNvdXZlcnRlKmw6UGhvdG98fHwsU2NhbnwxfDEwMHwsQ2Fzc2luaXwxfHw%3D] which offers an old map of France ( about 1780 ) but this provider needs a key. I'll speak about keys later.
 
Then you have Googlemaps, Yahoo! maps, Microsoft maps, ...
==== mapstraction ====
I think it is sufficient for the lambda genealogist.
==== Creating new places from GeoView the Geography view ====
You center the map for the place you want to create.
You can use the double click for that.
It's probably a webkit problem.
So, you have two possibilities :
===== Remove the webkit rendering engine only =====Remove webkit and install gtkmozembed (gecko) is not already installed. See the specific package for your distribution.
You'll have the gecko rendering.
===== Remove all rendering engines =====
Remove python-webkit and python-gtkmozembed. You'll never see geoview. See the specific packages for your distribution.
== ... ==
Your modifications are welcomed ...
106
edits

Navigation menu