go-mapnik
go-mapnik copied to clipboard
Go bindings for mapnik (http://www.mapnik.org or http://github.com/mapnik/mapnik)
This is a great looking project, and the tileserver is nice addition. I noticed it supports .png tiles as of now. Any plans to support mapbox vector tiles?
[This line](https://github.com/fawick/go-mapnik/blob/master/maptiles/mbtilesgenerator.go#L123) is unreachable.
m.qc is created inside a goroutine [here](https://github.com/fawick/go-mapnik/blob/master/maptiles/mbtilesgenerator.go#L114). It should be created before the goroutine is started.
There's only a single goroutine that serves reads from the mbtiles database. This is very slow, especially since the reads are blocking. [m.fetch](https://github.com/fawick/go-mapnik/blob/master/maptiles/mbtilesgenerator.go#L118) should run in a goroutine. Similarly m.insert...