Skip to content

Commit

Permalink
Fix for docker (#15)
Browse files Browse the repository at this point in the history
* Fix for docker

* fix readme
  • Loading branch information
nielsole authored Jul 23, 2023
1 parent 2953cf4 commit fa03893
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
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

0 comments on commit fa03893

Please sign in to comment.