Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for docker #15

Merged
merged 2 commits into from
Jul 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
!go.mod
!go.sum
!go_tile
!logger.go
!main.go
!renderer.go
!*.go
!static
!renderer/*.go
!utils/*.go
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,11 @@ Anyways it should give you an indication of whether this is fast enough for your

This repo also contains an experimental rudimentary renderer. Its goal is to be able to render some sort of map with little operational overhead.

Experimental renderer (this will not be updated on every release, so ymmv):
Experimental renderer (this will not be updated on every release, so ymmv) compared with osm.org:

![black lines only](assets/5295.png)
Comparison of osm.org:
![osm.org](assets/5295-compare.png)

Images [OpenStreetMap](https://www.openstreetmap.org/) contributors, [CC-BY-SA](https://creativecommons.org/licenses/by-sa/2.0/)

To use this, pass an oms.pbf file via `-osm_path`.
Expand Down
6 changes: 4 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ module github.com/nielsole/go_tile

go 1.20

require github.com/paulmach/osm v0.7.1
require (
git.sr.ht/~sbinet/gg v0.5.0
github.com/paulmach/osm v0.7.1
)

require (
git.sr.ht/~sbinet/gg v0.5.0 // indirect
github.com/campoy/embedmd v1.0.0 // indirect
github.com/datadog/czlib v0.0.0-20160811164712-4bc9a24e37f2 // indirect
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
Expand Down