Well known/named locations need to rely on a lookup of their lat/long and apply bounding box (easiest/fastest), radius or shape file.
Usually a simple lat long and radius is sufficient for most practical purposes of users. The logic for determining if a point is inside a shape is straightforward math, but doesn't correlate well to querying a dataset unless the backed is more gis specialized.