common

package
v0.0.0-...-338b722 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KEY_CREATED_BY = "created_by" // Key in the tags

	ALL = "_ALL"

	EDITOR_UNKNOWN = "_UNKNOWN"
	EDITOR_NOT_SET = "_NO_EDITOR"

	USER_NOT_SET = "_NO_USER"
)

Variables

View Source
var (
	CACHE_SIZE = 1000000

	// BEWARE:
	// The order of this is important as "id" is also contained in "maps.me android" so that MAPS.ME would considered to be iD.
	KNOWN_EDITORS = []string{
		"maps.me",
		"potlatch",
		"osmand+",
		"vespucci",
		"streetcomplete",
		"osmtools",
		"merkaartor",
		"osm2go",
		"josm",
		"id",
		EDITOR_UNKNOWN,
		EDITOR_NOT_SET,
	}
)

This defines the known editors later used for analysis of the changsets

Functions

This section is empty.

Types

type Changeset

type Changeset struct {
	Id        int64
	User      string
	CreatedBy string
	CreatedAt string
	Comment   string
	Source    string
}

Jump to

Keyboard shortcuts

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