Difference between revisions of "Place database"
From Gramps
(→To create our place database) |
(→To add a licence to use and to share it) |
||
| Line 12: | Line 12: | ||
#go on Family Trees menu -> Export View ... | #go on Family Trees menu -> Export View ... | ||
| − | ===To add a licence to use and to share it=== | + | ===To add a licence to use and to share it=== |
Copyright (c) YEAR YOUR NAME. | Copyright (c) YEAR YOUR NAME. | ||
| Line 22: | Line 22: | ||
A copy of the license is included in the section entitled "GNU | A copy of the license is included in the section entitled "GNU | ||
Free Documentation License". | Free Documentation License". | ||
| + | |||
| + | [[Image:Heckert_GNU_white.png]] | ||
==To use existing place structure and data== | ==To use existing place structure and data== | ||
Revision as of 07:33, 6 August 2008
Contents
Place database used by GRAMPS
If you want to use your own database, you don't care of licence to use, but what about to re-use existing databases ? See Copyrights.
To create our place database
Why not creating our own place database ? Users sharing their place informations. It is possible on GRAMPS 3.0.1 and later :
- Go on place View
- Edit menu -> Column editor
- Check Place Name, Zip, City, County, Country, Latitude, Longitude, Church Parish columns
- go on Family Trees menu -> Export View ...
Copyright (c) YEAR YOUR NAME. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with the Invariant Sections being LIST THEIR TITLES, with the Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. A copy of the license is included in the section entitled "GNU Free Documentation License".
To use existing place structure and data
Geonames licensed their under a Creative Commons Attribution 3.0 License, provided "as is" without warranty or any representation of accuracy, timeliness or completeness. Data sounds good for computer (many codes) and could be used for generating a database :
- having a place database (txt, csv, xml, bd etc ...) which could be used on open-sources projects (licence)
- to import data into gnumeric (save data on XML gnumeric)
- to assign one format per column (font size="8" for the first column, font size="10" for the second, etc ...)
- to order by name
- to create a new column (1 on the first line, 2 on the second, 3 on the third) then to use automatic filing from the first line to the last one with data.
- to save on XHTML
- to work with "remplace" function on your text editor (or grep, sed, awk)
- with XML flat database, I generate a new XML by using XSLT
ex: if you don't use autofiling for number, (<xsl:number value="postion()" format="1."/>) generates ordered id for your place object.
