The following rules are intended to prevent all XSS in your application. While these rules do not allow absolute freedom in putting untrusted data into an HTML document, they should cover the vast majority of common use cases.
The GeoNames geographical database covers all countries and contains over eleven million placenames that are available for download free of charge.