Overpass.API
Provides the functions to query the Overpass API.
Don’t forget to add the following to your config/config.exs
:
config :overpass, url: "http://overpass-api.de/api/interpreter"
Summary
Functions
Querys the OverpassAPI with the given query (xml or overpass ql).
Returns a tuple {:ok, {:xml, body}}
or {:ok, {:json, body}}
on success
or {:error, error}
on error
Functions
Specs
Querys the OverpassAPI with the given query (xml or overpass ql).
Returns a tuple {:ok, {:xml, body}}
or {:ok, {:json, body}}
on success
or {:error, error}
on error.