2021-12-04 - Sorry the Gramps wiki is currently being upgraded to a newer software version. Please check back after the 2021-12-06.

Changes

Jump to: navigation, search

GeoView

1,602 bytes added, 8 July
no edit summary
Work in progress{{man warn|The GeoView addon was originally integrated into earlier Gramps versions than Gramps 3.3 then I created a new map renderer since some month now. go there : [[GeoViewHelp]]|The newer [[Geography]] renderer based on OsmGpsMap was integrated into Gramps 3.3, see the [[User_manual|user manual]] for further information <br>[[Gramps_{{man version}}_Wiki_Manual_-_Categories#Geography_Category]]}}
'''All we need to understand and test {{man warn|Instructions for the older GeoView.'''addon that was based on webkit/gtkmozembed}}
'''All we need to understand 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 The future == For approximatively three years, geoview is based on html technology using webkit or gtkmozembed.We have some problems depending on the distribution, the webkit version, ... : crashes, messages on console, ... The mecanism for rendering the map is asynchronous and difficult to manage : the renderer and gramps are two different things which don't easily communicate. So, I am working on a new map renderer since some month now. If you are impatient, go there : [[Geography]]  ==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 (geoviev) and Web (htmlrenderer).
=== The html rendering engine ===
This module is called htmlrenderer. We use it when we use the Web view.
 
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.
===== ubuntu debian =====
====== webkit ======
''aptitude install python-webkit''
====== gecko ======
''aptitude install python-gnome2-extras''
or
''aptitude install python-gtkmozembed''
===== 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 python===== MAC/OS X =========== webkit ======WebKit is the standard renderer on OSX, but WebKitGtk doesn't work with the installed WebKit framework. You must build WebKitGtk or obtain it via Fink or MacPorts. Gtk-gnome2-extrasOSX provides a patch for building WebKitGtk with quartz. Once WebKitGtk is built or installed, PyWebKitGtk installs and works well.====== 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 =====
http://packages.opensuse-community.org/index.jsp?searchTerm=pywebkit
 
* pyton-webkit
 
On OpenSUSE 11.3 that is the appropriate name.
====== 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/d/d2/WebKitGTK-1.1.16.zip WebKitGTK-1.1.16.zip]
* Update to version 1.1.23 (binary and devel files only)
** [http://www.gramps-project.org/wiki/images/d/db/WebKitGTK-1.1.23-win32.zip WebKitGTK-1.1.23]
* [http://code.google.com/p/pywebkitgtk PyWebKitGtk ] provide Python bindings to WebKitGTK
** [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 =====[[All In One Gramps Software Bundle for Windows|Gramps AIO package]] contains WebKitGTK-1.2.5 and PyWebKitGTK-1.1.8 ====== 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. It depends on the htmlrenderer module.
===== In GRAMPS 3.1.x =====
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.
===== In GRAMPS 3.1.x =====it 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 ====
When you create/modify a place, the possible formats used for longitude/latitude are:
==== Supported longitude/latitude formats ====* Floating pointWhen you create/modify a placee.g. +12.0154 -124.3647 * Classic  e.g. 50°52'21.92"N 124°52'21.92"E The degree symbol can be either UTF-8 code c2b00a, UTF-8 code c2ba0a or the possible formats used for longitude/latitude are hash (#) character.The seconds symbol can be either one double quote (") character or two single quote (') characters. * Colon e.g. -50:52:21.92 124:52:21.92 * Modified GEDCOM
'D.D4' : degree notation, 4 decimals eg +12.0154 , -124e.3647 'Dg.D8' : degree notation, 8 decimals (precision like ISO-DMS) eg +12.01543265 , -0154N 124.36473268 'DEG' : degree, minutes, seconds notation eg 50°52'21.92"N , 124°52'21.92"E ° has UTF-8 code c2b00a or N 50º52'21.92" , E 124º52'21.92" º has UTF-8 code c2ba0a The character for seconds can be either one double quote " or two single quote ' 'DEG-:' : degree, minutes, seconds notation with : eg -50:52:21.92 , 124:52:21.92 'ISO-D' : ISO 6709 degree notation i.e. ±DD.DDDD±DDD.DDDD 'ISO-DM' : ISO 6709 degree, minutes notation i.e. ±DDMM.MMM±DDDMM.MMM 'ISO-DMS' : ISO 6709 degree, minutes, seconds notation i.e. ±DDMMSS.SS±DDDMMSS.SS3647E
==== The maps providers ====
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.== ... ==Your modifications are welcomed ..See the specific packages for your distribution.
==See also==
* [[GeoViewHelp]] Addon
[[Category:GEPS|G]]
[[Category:Plugins]]
[[Category:Developers/General]]
[[Category:Views|G]]
2,082
edits

Navigation menu