2,186
edits
Changes
GeoView
,no edit summary
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.
== Why GeoView ? The future ==
If the two kits you are installedimpatient, webkit will be used.go there : [[Geography]]
If both two kits are installed, webkit will be used.===== WebKit =====It's the future. Be aware, WebKit is always in development. I already test this with segmentation fault, ...
More and more projects are integrating webkit ...
What will gtkmozembed be in the future ?
Authentication is allowed. The http_proxy format used is :
''http://[user:password@]proxy:port/''==== The maps providers proxies ====There are Most people don't need a lot proxy. The majority of providersus are connected directly to internet. Some are freeIn this case, forget all this.
== mapstraction === fedora =========== webkit ======Like you can see, it's impossible to implement all providers maps. For this reason, some people created an api over all these providers api.You must use : WebKit-gtk
== The provider Key === MAC/OS X =====Gramps ====== webkit ======WebKit is not a web site. Keys are only for web site.In GeoView, I use a specific functionality : We are working the standard renderer on local file instead of urlOSX, so we donbut WebKitGtk doesn't need a keywork with the installed WebKit framework.some providers like IGN needs key even in this caseYou must build WebKitGtk or obtain it via Fink or MacPorts. So I can't use them. Why ?#Too complex Gtk-OSX provides a patch for final user'sbuilding WebKitGtk with quartz.#We need a key by providerIn these caseOnce WebKitGtk is built or installed, I hope you understand the choice is limited even is mapstraction can do morePyWebKitGtk installs and works well.=== Constraint ===We have no key, so we have a restricted access : About 10,000 to 15,000 requests by IP per day depending on the provider.gecko ======
If you want gtkmozembed on ubuntu,
you must install : python-gnome2-extrasor python-gtkmozembed depending on you distrib version. ''aptitude install python-gnome2-extras'' or ''aptitude install python-gtkmozembed'' ===== windows XP/Vista =========== webkit ====== * WebKitGTK is the port of the portable web rendering engine WebKit to the GTK+ platform on Windows. This zip file contains webkitgtk itself and all needed dynamic link libraryes (DLL). You will need [http://www.7-zip.org 7zip] to extract its contents ''This file is highly experimental and all functions may not work as expected!''** [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] [[All In One Gramps Software Bundle for Windows|Gramps AIO package]] contains WebKitGTK-1.2.5 and PyWebKitGTK-1.1.8 ===== ... =====Your distributions are welcomed ...=== 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. 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.# set the GeoView Preferences# use the appropriate latidude and longitude format in your data (Note: the [[Place completion tool]] can look up latitude and longitude of the places defined in GRAMPS.) The first is simple to achieve. Start a text editor and go to your gramps home directory, and open the keys.ini file. Scoll down to the interface section, and look for the ''data-views'' variable. On a clean install of GRAMPS, this variable is normally: data-views=GrampletView,PersonView,RelationshipView,FamilyListView,PedigreeView,EventView,SourceView,PlaceView,MediaView,RepositoryView,NoteViewTo add GeoView, just add it to the back, so your configuration reads: data-views=GrampletView,PersonView,RelationshipView,FamilyListView,PedigreeView,EventView,SourceView,PlaceView,MediaView,RepositoryView,NoteView,GeoView That's it. To install the backend, scroll down to [[GeoView#How_to_get_the_HTML_kits_.3F|the installation section]]. Finally, you need to set the Geoview Preferences: [[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: * Floating point e.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 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 e.g. 12.0154N 124.3647E ==== The maps providers ====There are a lot of providers. Some are free. By default, the provider GRAMPS uses is OSM ( OpenStreetMap ). As a free project, we find it our duty to first and foremost support another free initiative. 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. ==== mapstraction ====Like you can see, it's impossible to implement all providers maps. For this reason, some people created an api over all these providers api. With only a few modification, you can use the map you want. And better! you can switch between the maps keeping the zoom and the centered position. For performances issues, I can confirm it takes approximately 30 seconds to view 1000 markers for openstreetmap or google.If you have 2000 markers, this time is about 2 times 30 seconds. For this, I limit one HTML page to 200 markers. If you have more than this limit, GRAMPS creates the necessary pages to see all your markers. During testing with a places database for France ( > 35000 markers ), I set the limit to 20 markers which permit to create 1760 pages without problems. So we can say we have an unlimited number of markers. Only the file system space will limit us. ==== The provider Key ====GRAMPS is not a web site. Keys are mostly only for web sites.In GeoView, I use a specific functionality : we are working on a local file instead of an url, so we normally don't need a key. However, some providers like IGN need a key even in those cases. So we can't use them. Why ?#To require a key would be too complex for the normal GRAMPS user#We need a key from the providerWe hope it is understood that our choice of maps is limited even if mapstraction can do more. ===== Constraint =====We have no key, so we have a restricted access : About 10,000 to 15,000 requests by IP per day depending on the provider. What is a request ? As I understand with the IGN ( OpenLayers ), a request is a tile ( an image ). You need several tiles for a view. I think it is sufficient for the lambda genealogist. ==== Creating new places from the Geography view ====You center the map for the place you want to create.You can use the double click for that.When you are sure the position is OK, click on the "+" button in the tools bar.Now, the place editor is opened. Enter all the field necessary for this new place then click on the OK button. That's all.==== Associate a new position to an already existing place ====You center the map for the place you want to modify like for creating a new place.When you are sure the position is OK, click on the "map" button in the tools near the "+" button described above.A places list is opened. Choose the place you want to modify then click on the OK button. You can use this method to modify the position you used in a prior creation.====Results==== <gallery>Image:Geoview1.png|Fig.1 All event places with coordinates for an individualImage:Geoview2.png|Fig.2 All individual's family places with coordinatesImage:Geoview3.png|Fig.3 All event places with coordinates on Family TreeImage:Geoview4.png|Fig.4 All places with coordinates on Family Tree</gallery> ==== If you get a crash when starting gramps ====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.