This project holds the city data for the Civitates apps.
In order to make it easier to manage, the data is divided by region.
The files for each region are stored in that region's folder, e.g., data/Italy.
Note that the regions are only used to represent broad geographical areas and are not intended to make any statement or express any belief about past or current political or ethnic boundaries.
Files contain data in CSV format, encoded in UTF-8 characters. Each region has four files:
CityBase.txtcontains one row for each city and provides core information for the cities.AltNameBase.txtcontains one row for each name that applies to a city.PeriodBase.txtcontains one row for each time period identified for a city. This is the primary information used to determine which cities to display at a particular date and zoom level.CityExtra.txtcontains additional information for a city location when necessary. The location for most cities is extracted from thecities1000.txtorpleiades-places.csvfiles, but any city that doesn't have location data available in those files will have one row in this file.
CityBase.txt has the following columns:
idName of the city. Used as an identifier across the files in its region. Must be unique within the region, but not across regions.geonames_nameValue used to look up the city incities1000.txtorpleiades-places.csv.geonames_cc"P" indicates the city location should be found inpleiades-places.csv. "X" indicates the city location should be found inCityExtra.txt. Any two letter value is used in locating the city incities1000.txt.prefixPrefix to use when displaying the primary city name.wikipedia_article_nameValue to use when retrieving the Wikipedia article for this city.
AltNameBase.txt has the following columns:
idIdentifier for the city. Must match theidinCityBase.txt.alt_nameA name used for the city.languagePrimary language or culture associated with this name.
PeriodBase.txt has the following columns:
idIdentifier for the city. Must match theidinCityBase.txt.start_dateStart date for the time period. Negative values represent BC.end_dateEnd date for the time period. Negative values represent BC.preferredNameName to display for the city during this period.sizeSize or prominence of the city during this period. Ranges between 0 (largest and most prominent) to 4 (smallest and least prominent)tag_positionWhere to display the city name on the map, relative to the city graphic. Ranges between 0 and 7.
2 4 0
6 . 5
3 7 1
Note that time periods for a city must not overlap.
CityExtra.txt has the following columns:
idIdentifier for the city. Must match theidinCityBase.txt.latitudeDecimal latitude for the city.longitudeDecimal longitude for the city.elevationElevation of the city in meters. A value of 0 is used when the elevation hasn't been determined.