commands

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feature

type Feature struct {
	Type       string                 `json:"type"`
	Properties map[string]interface{} `json:"properties"`
}

type FeatureCollection

type FeatureCollection struct {
	Type     string    `json:"type"`
	Features []Feature `json:"features"`
}

type OsmDownloader

type OsmDownloader struct {
	// contains filtered or unexported fields
}

func (*OsmDownloader) ById

func (o *OsmDownloader) ById(region string) *Region

func (*OsmDownloader) Init

func (o *OsmDownloader) Init() error

func (*OsmDownloader) List

func (o *OsmDownloader) List(context *cli.Context) error

func (*OsmDownloader) OsmDownload

func (o *OsmDownloader) OsmDownload(context *cli.Context) error

type Region

type Region struct {
	Id           string
	Parent       string
	CountryCodes []string
	Name         string
	PbfLink      string
	Bz2Link      string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL