GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Geocoder for GenoPro

Click to view RSS...
Author A browser-based Javascript app to add location coordinates to Place records in your .gno file
Posted Sunday, March 12, 2017 - Post #37728
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 8:38 PM
Posts: 3,429, Visits: 26,549
Hi All,
I have been working for sometime on a tool to allow automatic geocoding (ie. determining latitude and longitude) of places in GenoPro data.  I originally started the project using prototype GenoProX data files (json format) but then decided to try and get it to work with .gno files. Fortunately I found a useful open source javascript library to help with the unzipping and zipping of .gno files (compressed XML)

http://support.genopro.com/Uploads/Images/0488873d-437a-44ff-ab92-3b9e.png


I am using Google Maps and the Google Geocoder API. The tool takes a ,gno file, unzips it and then proceeds to create markers on a Google Map for each place. Places with existing latitude and longitude values are also marked.  The results can be saved into a new .gno file. 

Marker colours are set as follows 

Blue - places already geocoded, i.e. Place record already has Latitude & Longitude tags set.
Green - places successfully matched and geocoded by Google
Yellow - places only partially matched by Google. The location values for these places are not saved in .gno file unless confirmed by you.
Light Blue - places manually located by you positioning the marker.

The markers can be repositioned by dragging or removed if required.

You can click on a place in the drop down list to zoom to it on the map. e.g. clicking on a place highlighted in yellow zooms to it and a dialogue allows you to confirm the position or remove it. Hover over a place in that list to see its status.  Places that fail automatic geocoding are shown in red.

Google imposes quotas on the number and rate of geocoding requests made. If the quota is reached then the script backs off for an increasing delay period before resuming the process. If you have more than a few hundred places then the delay can be become excessive and so I suggest if that happens you halt the process, save the results so far and resume another day.

Once geocoding is complete or after halting the process you can review the results, moving or removing markers as you see fit. You can then click again for the download dialogue. There can be a delay before the download window appears so be patient. You can resume processing after download e.g. make more corrections, and then download the results again.

This software is supplied 'as is' and no warranty whatsoever is given or implied.  I strongly suggest that you do not download overwriting your existing data but instead choose a new filename. Load the saved .gno in GenoPro to check results.

I have only tested this with Google's Chrome browser and will not be invesigating any issues that arise with other browsers. 

N.B. this package is NOT a GenoPro Report Generator skin.  You may download and unzip it into any folder you choose.  See later posts in this topic for updated zip to download. Double click the index.htm file to run the app. You can also run the app from a Web Server but in that case you will need to obtain a Google Maps JavaScript API key (see https://developers.google.com/maps/documentation/javascript/get-api-key#key)and include it in the query string of the URL used to launch the app  e.g. http://www.mywebserver.org/index.htm?key=your-google-javascript-api-key-goes-here




'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Friday, March 31, 2017 by genome

Threaded View

Expand / Collapse
Threaded View
Forum Post Geocoder for GenoPro By genome ( Sunday, March 12, 2017 )
Forum Post Downloaded and tried to run in Firefox. It spent ages unzipping but I... By appleshaw ( Monday, March 13, 2017 )
Forum Post Your .gno ran fine for me in Chrome and FireFox, unzipping in the... By genome ( Monday, March 13, 2017 )
Forum Post Have tried again on two different PCs running Win7 and even a laptop... By appleshaw ( Monday, March 13, 2017 )
Forum Post No it's not you it's me and the download! There are some files... By genome ( Monday, March 13, 2017 )
Forum Post It is now happily (I hope) running on a largeish file - 1300 places.... By appleshaw ( Tuesday, March 14, 2017 )
Forum Post The waiting messages indicate that a quota limit imposed by Google on... By genome ( Tuesday, March 14, 2017 )
Forum Post Its a great tool but it makes me think how to organize certain... By maru-san ( Tuesday, March 14, 2017 )
Forum Post Rather than reorganize the way you record families maybe I can improve... By genome ( Wednesday, March 15, 2017 )
Forum Post I have now added an option not to create markers for previously... By genome ( Thursday, March 16, 2017 )
Forum Post I have a number of places, which are not recognizable by Google such... By maru-san ( Friday, March 17, 2017 )
Forum Post I will add options to exclude Places with Category... By genome ( Friday, March 17, 2017 )
Forum Post Here is an update with 'overlapping marker spiderfier' and options to... By genome ( Saturday, March 18, 2017 )
Forum Post Am trying the today's update. Have hit a problem that in some cases it... By appleshaw ( Saturday, March 18, 2017 )
Forum Post re 'Remove Geocoding' issue. Just wondering if there is any error... By genome ( Saturday, March 18, 2017 )
Forum Post Am using Firefox, so not sure what to do. F12 does show code. The two... By appleshaw ( Saturday, March 18, 2017 )
Forum Post Just moved Vancouver from the middle of Scotland to the Canadian west... By appleshaw ( Saturday, March 18, 2017 )
Forum Post Just tried a test to see if it is possible to encourage Google to find... By appleshaw ( Sunday, March 19, 2017 )
Forum Post Ok, still a few issues, but then I did say 'experimental' in my topic... By genome ( Monday, March 20, 2017 )
Forum Post Had a quick look and only one comment so far. Tried to click Index.htm... By appleshaw ( Tuesday, March 21, 2017 )
Forum Post Tried a few more and only one very obvious mis-match of Middlesex,... By appleshaw ( Tuesday, March 21, 2017 )
Forum Post Thanks for testing further. I am working on the enhancement to allow... By genome ( Wednesday, March 22, 2017 )
Forum Post If the hidden data are not saved I will await next version. It has... By appleshaw ( Wednesday, March 22, 2017 )
Forum Post Well it has been a while but I think the next iteration is ready. I... By genome ( Friday, March 31, 2017 )
Forum Post Tried to edit a place (first in file) but could not get out of edit... By appleshaw ( Saturday, April 1, 2017 )
Forum Post Most of my testing is with Chrome and it appears that FireFox handles... By genome ( Saturday, April 1, 2017 )
Forum Post Here is another way to check the location: http://www.geoplaner.com/... By maru-san ( Saturday, March 18, 2017 )
Forum Post Another location problem - although in GenoPro but revealed using... By appleshaw ( Saturday, March 18, 2017 )


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 3 - 1 guest, 1 member, 0 anonymous.
Refresh