In this tutorial, I'll give a quick way to filter Pleiades places to those contained within a modern country's borders.
Install GDAL with brew install gdal
(on a Mac) or download GDAL binaries for your platform.
Download a modern country's shapefile (for this example, Bulgaria) from GADM: http://www.gadm.org/country
Download the latest Pleiades KMZ data dump. Unzip to KML with unzip pleiades-latest.kmz
.
Use the top-level administrative boundary for Bulgaria to clip the resulting tmp/doc.kml
file and save the result as GeoJSON:
ogr2ogr -f GeoJSON pleiades-bulgaria.json tmp/doc.kml -clipsrc BGR_adm0.shp
Result: pleiades-bulgaria.json
NB: these results may still have unlocated places (not in the modern country) due to the clipping algorithm used by GDAL.
Related reading: