go-spatial / go-mbgl

Go bindings for Mapbox GL Native
15 stars 1 forks source link

WMTS based on mapbox go? #30

Open JeremyRenjw opened 5 years ago

JeremyRenjw commented 5 years ago

WMTS based on mapbox go?

jj0hns0n commented 5 years ago

Essentially. Yes. Raster tile server based on MVT & mbgl styles.

JeremyRenjw commented 5 years ago

oh thank you .No graphical interface no gpu server can be used?

ARolek commented 5 years ago

@renjiawei0401 currently it's not using a GPU in the Docker container but it's technically possible.

jj0hns0n commented 5 years ago

https://github.com/go-spatial/maptoolkit/tree/master/cmd/snap

There should be an example config here in the README. We should add it. Looks something like this

{ "server" :
    { "address":":80"
    }
, "styles":
    { 
        "hot-osm":"file:///home/centos/hot-osm.json",
        "topo":"file:///home/centos/topo.json",
        "camo":"file:///home/centos/camo.json",
        "go-spatial":"file:///home/centos/go-spatial.json",
        "night-vision":"file:///home/centos/night-vision.json",
        "mobility":"file:///home/centos/mobility.json",
        "osgeo":"file:///home/centos/osgeo.json",
        "tlm":"file:///home/centos/tlm.json",
        "rail":"file:///home/centos/rail.json"
    }
}

No GUI at this time. Just the z/x/y endpoints which work in OpenLayers etc.

JeremyRenjw commented 5 years ago

What will fail to initialize edl?I can't render on centos interface less server