Skip to content

Mining text for geographical place-names and plotting their coordinates on a world map

Notifications You must be signed in to change notification settings

michaeleby1/geoparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geoparser

This script mines text for geographical place-names and plots their coordinates on a map. It is intended for use with historical documents and classical works so as to quickly visualize their "spatial footprint." For a comprehensive look at the inspiration, aims, and practical applications of this tool, please see my post on Towards Data Science.

How to Use this Repo

Clone the repo and run the following command into your terminal:

python geoparser.py [argument]

Pass the .txt you'd like to geoparse as an argument.

The jupyter notebook provides a sample to demonstrate each step taken by the script to get the final plot. Other world maps and coordinate systems may be used. Please note that in order to get coordinates, the script makes API calls to OpenStreetMap; this process can take a long time if your text contains many city-names.

About

Mining text for geographical place-names and plotting their coordinates on a world map

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published