A fast and limited-memory structure with a landmask based on GSHHG for determing whether a point on Earth is on land or in the ocean