Ancestris - Forum
Ancestris Support => ENGLISH => Topic started by: Pollux on November 08, 2019, 06:43:52
-
Can (or could...) the 'Geographic View' and the 'Location Editor' of 'Ancestris' be used with local (offline) maps or installed software such as 'Vasco da Gama + VascoStreetmaps' (https://motionstudios.de/Home)?
-
Hi,
Ancestris uses OpenStreetMap to display maps.
The coordinates are stored in the GEDCOM file and GEDCOM file is a text file.
So I believe you can extract coordinates from GEDCOM to populate your maps.
But actually, there is no way to change maps provider to use a local one.
Zurga
-
Hi,
Thank you for your quick response.
In what form are the coordinates of Ancestris transferred to OpenStreetMap?
Or:
What would the provider of 'Vasco da Gama + Vasco StreetMaps' need to know and implement in order to provide a comparable 'Geographic View' / 'Location Editor' view, which offers 'Ancestris' (unfortunately only) 'ONLINE' via OpenStreetMap?
-
In GEDCOM, coordinates are store in decimal degrees with sign represented by letter.
For example :
3 MAP
4 LATI N47.8
4 LONG E1.516667
N=> +
S => -
E => +
W=> -
Zurga
-
Thanks, for now!
-
The following GPS coordinate formats are automatically recognized by my LOCAL software when selected:
GPX, KML, G7T, CRS, OVL, TCX, TK, TRK, TXT
For individual locations, for multiple locations (for the selection of an area or as a track)
Does Ancestris give me a chance?
-
If you have any scripting ability...
As KML is really just XML, you could write a simple script to work directly on the gedcom file outside of Ancestris.
For every INDI that has MAP data write out the INDI number (or name or whatever) and the latitude/longitude to a file with appropriate KML tags...
<name>I123 John Doe</name>
<Point>
<coordinates>-122.0822035425683,37.42228990140251,0</coordinates>
</Point>
Once that file is saved, paste it into a KML template then open in google Earth or whatever.
See https://developers.google.com/kml/documentation/kml_tut#placemarks
Not sure if that's what you're after but it might help :)