Skip to content

Commit

Permalink
Remove experimental warning logging from extract [#68] (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon authored Oct 19, 2023
1 parent 24bc00f commit e46ce74
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pmtiles/extract.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,6 @@ func MergeRanges(ranges []SrcDstRange, overfetch float32) (*list.List, uint64) {

func Extract(logger *log.Logger, bucketURL string, key string, maxzoom int8, region_file string, bbox string, output string, download_threads int, overfetch float32, dry_run bool) error {
// 1. fetch the header

fmt.Println("WARNING: extract is an experimental feature and results may not be suitable for production use.")
start := time.Now()
ctx := context.Background()

Expand Down Expand Up @@ -555,8 +553,6 @@ func Extract(logger *log.Logger, bucketURL string, key string, maxzoom int8, reg
total_requests += num_overfetch_ranges
fmt.Printf("Extract required %d total requests.\n", total_requests)
fmt.Printf("Extract transferred %s (overfetch %v) for an archive size of %s\n", humanize.Bytes(total_bytes), overfetch, humanize.Bytes(total_actual_bytes))
fmt.Println("Verify your extract is usable at https://protomaps.github.io/PMTiles/")
fmt.Println("Feedback wanted! report your success or failure to https://github.com/protomaps/go-pmtiles/issues")

return nil
}

0 comments on commit e46ce74

Please sign in to comment.