https://github.com/dkuku/mbtiles
elixir library to work with mbtiles files
https://github.com/dkuku/mbtiles
elixir hacktoberfest openstreetmap
Last synced: about 1 year ago
JSON representation
elixir library to work with mbtiles files
- Host: GitHub
- URL: https://github.com/dkuku/mbtiles
- Owner: dkuku
- Created: 2021-01-09T15:56:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-29T22:47:58.000Z (over 4 years ago)
- Last Synced: 2025-04-12T23:43:51.785Z (about 1 year ago)
- Topics: elixir, hacktoberfest, openstreetmap
- Language: Elixir
- Homepage:
- Size: 5.6 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mbtiles
you need a mbtils file for this package to work
to specify the location add an entry in your config.exs file
```
config :mbtiles,
ecto_repos: [Mbtiles.Repo]
config :mbtiles, Mbtiles.Repo,
database: "priv/united_kingdom.mbtiles"
```
## Example repository
[dkuku/tile_server](https://github.com/dkuku/tile_server)
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `mbtiles` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:mbtiles, "~> 0.4.2"}
]
end
```