Packages
Small library for direct/reverse geocoding. Supports explicit latitude/longitude pairs, addresses as binaries, as well as jpeg/tiff images having a GPS information in exif.
Current section
Files
Jump to
Current section
Files
lib_lat_lon
mix.exs
mix.exs
defmodule LibLatLon.MixProject do
use Mix.Project
@app :lib_lat_lon
@app_name "LibLatLon"
@version "0.3.2"
def project do
[
app: @app,
name: @app_name,
version: @version,
elixir: "~> 1.5",
start_permanent: Mix.env() == :prod,
description: description(),
docs: docs(),
xref: [exclude: []],
package: package(),
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: ~w|logger httpoison porcelain|a,
mod: {LibLatLon.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:httpoison, "~> 1.0"},
{:jason, "~> 1.0-rc1"},
{:exexif, "~> 0.0"},
{:porcelain, "~> 2.0"},
{:ex_doc, ">= 0.0.0", only: :dev}
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"},
]
end
defp description do
"""
Small library for direct/reverse geocoding.
Supports explicit latitude/longitude pairs, addresses as binaries,
as well as jpeg/tiff images having a GPS information in exif.
"""
end
defp package do
[
name: :lib_lat_lon,
files: ~w|lib mix.exs README.md|,
maintainers: ["Aleksei Matiushkin"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/amotion-city/#{@app}",
"Docs" => "https://hexdocs.pm/#{@app}"
}
]
end
defp docs() do
[
main: @app_name,
source_ref: "v#{@version}",
canonical: "http://hexdocs.pm/#{@app}",
logo: "stuff/images/logo.png",
source_url: "https://github.com/amotion-city/#{@app}",
extras: [
"stuff/pages/intro.md"
],
groups_for_modules: [
# LibLatLon,
# LibLatLon.Provider
"Data Representation": [
LibLatLon.Bounds,
LibLatLon.Coords,
LibLatLon.Info
],
Providers: [
LibLatLon.Providers.GoogleMaps,
LibLatLon.Providers.OpenStreetMap
]
]
]
end
end