Skip to content

Commit

Permalink
Fixing invalid package references
Browse files Browse the repository at this point in the history
  • Loading branch information
ARolek committed May 8, 2020
1 parent 8834ac8 commit dae9e71
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/tegola_lambda/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func main() {
// to handle binary responses so it can convert the base64 encoded payload back into binary prior
// to sending to the client
algnhsa.ListenAndServe(mux, &algnhsa.Options{
BinaryContentTypes: []string{"application/vnd.mapbox-vector-tile"},
BinaryContentTypes: []string{mvt.MimeType},
UseProxyPath: true,
})
}
Expand Down
8 changes: 4 additions & 4 deletions provider/postgis/postgis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,12 +305,12 @@ func TestTileFeatures(t *testing.T) {
},
"tablename query with fields and id as field": {
layerConfig: map[string]interface{}{
postgis.ConfigKeyLayerName: "land",
postgis.ConfigKeyTablename: "ne_10m_land_scale_rank",
postgis.ConfigKeyLayerName: "land",
postgis.ConfigKeyTablename: "ne_10m_land_scale_rank",
postgis.ConfigKeyGeomIDField: "gid",
postgis.ConfigKeyFields: []string{"gid", "scalerank"},
postgis.ConfigKeyFields: []string{"gid", "scalerank"},
},
tile: provider.NewTile(1, 1, 1, 64, proj.WebMercator),
tile: provider.NewTile(1, 1, 1, 64, tegola.WebMercator),
expectedFeatureCount: 4032,
expectedTags: []string{"gid", "scalerank"},
},
Expand Down

0 comments on commit dae9e71

Please sign in to comment.