Automatically determine latitude or longitude from an ED input filepath. If the latitude/longitude regular expression isn't matched, this will throw an error.

get_latlon(filepath, latlon)

Arguments

filepath

Path to a css, pss, or site file

latlon

Which value to retrieve, either "lat" for latitude or "lon" for longitude

Value

Numeric value of latitude or longitude