This is a short python script that implements a point-in-polygon algorithm to determine the state (in the US) from GPS coordinates.