Parses a geo URL
geo
Parse a URI with the :scheme of "geo"
:scheme
@type t() :: %URL.Geo{ alt: nil | number(), lat: number(), lng: number(), params: map() }
@spec parse(URI.t()) :: {:ok, t()} | {:error, {module(), binary()}}
iex> geo = URI.parse("geo:48.198634,-16.371648,3.4;crs=wgs84;u=40.0") iex> URL.Geo.parse(geo) {:ok, %URL.Geo{ lat: 48.198634, lng: -16.371648, alt: 3.4, params: %{"crs" => "wgs84", "u" => 40.0} }}