2019-02-14 11:02:46 +03:00
|
|
|
package postgres
|
|
|
|
|
|
|
|
import (
|
|
|
|
"mapserver/db"
|
2019-02-14 11:05:39 +03:00
|
|
|
"mapserver/layer"
|
|
|
|
"mapserver/settings"
|
2019-02-14 11:02:46 +03:00
|
|
|
)
|
|
|
|
|
2019-02-14 11:05:39 +03:00
|
|
|
const (
|
|
|
|
SETTING_LAST_LAYER = "last_layer"
|
|
|
|
)
|
2019-02-14 11:02:46 +03:00
|
|
|
|
|
|
|
func (this *PostgresAccessor) FindNextInitialBlocks(s settings.Settings, layers []*layer.Layer, limit int) (*db.InitialBlocksResult, error) {
|
2019-02-14 11:13:18 +03:00
|
|
|
|
|
|
|
//zoom/mapblock-width
|
|
|
|
//13 1
|
|
|
|
//12 2
|
|
|
|
//11 4
|
|
|
|
//10 8
|
|
|
|
//9 16
|
|
|
|
|
|
|
|
//Zoom 9:
|
|
|
|
//10 mapblocks height * 16 * 16 == 2560
|
2019-02-14 11:02:46 +03:00
|
|
|
return nil, nil
|
|
|
|
}
|