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

GenoPro Support Forum




Inaccurate place locations with Google maps in the report generator

Click to view RSS...
Author
Posted Sunday, May 8, 2011 - Post #28333
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: 2 days ago @ 9:23 PM
Posts: 3,464, Visits: 26,854
CW (04-May-2011)
How do I ensure I get the correct location in Google maps in a generated report?

For example, I have the location Amesbury in Wiltshire. In GenoPro, I have this set as 
Place Name: Amesbury
Place Category: Town
City: Amesbury
County: Wiltshire
Country: England

but Google maps shows me some location in the USA. If I change the city to Salisbury, it then points to Salisbury, UK Setting the lat/long does not correct the problem. Similarly, changing the country to UK has no effect. Neither do postcodes have any effect


On investigating this issue I discovered a bug in the code whereby only the 1st component of the address was being passed to the Google Mpas API. I have published a revised skin that I believe corrects this problem.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
CW
Posted Friday, May 6, 2011 - Post #28326
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers
GenoPro version: 2.5.4.1

Last Login: Saturday, October 10, 2020
Posts: 4, Visits: 6
Yes, setting lat/long now works. Perhaps I didn't have sufficient resolution in the numbers I entered before.

Thanks.
CW
Posted Friday, May 6, 2011 - Post #28325
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers
GenoPro version: 2.5.4.1

Last Login: Saturday, October 10, 2020
Posts: 4, Visits: 6
Thanks for your reply.

Before posting my original message, I tried inserting lat/long coordinates, but it didn't seem to work.

I'll have another try.
Posted Wednesday, May 4, 2011 - Post #28318
Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.0

Last Login: 37 minutes ago
Posts: 1,595, Visits: 32,482
Google Maps API seems to think America first. I have seen it find obscure places in Canada but get other places completely wrong. The best way is to insert latitude/longitude in the place properties. I use Streetmap.co.uk to find a place and this has an option beneath the map to get coordinates. These can then be copied and pasted into GenoPro. Bit of a nuisance but if you link other places to parent places this will reduce the number needed.
I think that the Google API uses different gazetteer for places from Google Earth
CW
Posted Wednesday, May 4, 2011 - Post #28317
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers
GenoPro version: 2.5.4.1

Last Login: Saturday, October 10, 2020
Posts: 4, Visits: 6
How do I ensure I get the correct location in Google maps in a generated report?

For example, I have the location Amesbury in Wiltshire. In GenoPro, I have this set as 
Place Name: Amesbury
Place Category: Town
City: Amesbury
County: Wiltshire
Country: England

but Google maps shows me some location in the USA. If I change the city to Salisbury, it then points to Salisbury, UK Setting the lat/long does not correct the problem. Similarly, changing the country to UK has no effect. Neither do postcodes have any effect

This problem occurs for many places.

Thanks in advance for your help.

PS Otherwise, the report generator is very impressive.


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse