1
0
forked from MTSR/mapserver

main stub

This commit is contained in:
NatureFreshMilk 2019-01-17 13:44:39 +01:00
parent 1dae50c439
commit 4218baedd2

14
main.go
View File

@ -10,8 +10,11 @@ import (
"mapserver/params" "mapserver/params"
"mapserver/worldconfig" "mapserver/worldconfig"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"mapserver/initialrenderer" "mapserver/tilerenderer"
"mapserver/tiledb" "mapserver/tiledb"
"mapserver/layerconfig"
"mapserver/coords"
) )
const ( const (
@ -72,6 +75,13 @@ func main() {
panic(err) panic(err)
} }
initialrenderer.Render(r, tdb) tr := tilerenderer.NewTileRenderer(r, tdb, layerconfig.DefaultLayers)
tc := coords.NewTileCoords(0,0,9,0)
_, err = tr.Render(tc)
if err != nil {
panic(err)
}
} }