Skip to content

Commit fa03893

Browse files
authored
Fix for docker (#15)
* Fix for docker * fix readme
1 parent 2953cf4 commit fa03893

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.dockerignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
!go.mod
55
!go.sum
66
!go_tile
7-
!logger.go
8-
!main.go
9-
!renderer.go
7+
!*.go
108
!static
9+
!renderer/*.go
10+
!utils/*.go

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,11 @@ Anyways it should give you an indication of whether this is fast enough for your
143143

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

146-
Experimental renderer (this will not be updated on every release, so ymmv):
146+
Experimental renderer (this will not be updated on every release, so ymmv) compared with osm.org:
147+
147148
![black lines only](assets/5295.png)
148-
Comparison of osm.org:
149149
![osm.org](assets/5295-compare.png)
150+
150151
Images [OpenStreetMap](https://www.openstreetmap.org/) contributors, [CC-BY-SA](https://creativecommons.org/licenses/by-sa/2.0/)
151152

152153
To use this, pass an oms.pbf file via `-osm_path`.

go.mod

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ module github.com/nielsole/go_tile
22

33
go 1.20
44

5-
require github.com/paulmach/osm v0.7.1
5+
require (
6+
git.sr.ht/~sbinet/gg v0.5.0
7+
github.com/paulmach/osm v0.7.1
8+
)
69

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

0 commit comments

Comments
 (0)