tegola icon indicating copy to clipboard operation
tegola copied to clipboard

reduce/move provider dependencies

Open JivanAmara opened this issue 7 years ago • 1 comments

For providers to be reused effectively, their dependencies on the larger tegola project should be reduced.

For example, the import section of the gpkg provider includes:

  • "github.com/terranodo/tegola"
  • "github.com/terranodo/tegola/basic"
  • "github.com/terranodo/tegola/geom"
  • "github.com/terranodo/tegola/geom/encoding/wkb"
  • "github.com/terranodo/tegola/internal/log"
  • "github.com/terranodo/tegola/provider"

Where github.com/terranodo/tegola is imported only for tegola.WebMercator. The geom package is a logical place for this & would eliminate this top-level dependency.

Perform similar examination of other provider dependencies .

JivanAmara avatar Feb 16 '18 01:02 JivanAmara

I agree. This is part of the transition to the geom package and purging all the top level files. After the transition we should be able to remove:

  • github.com/terranodo/tegola
  • github.com/terranodo/tegola/basic

ARolek avatar Feb 19 '18 18:02 ARolek