nau-sidewalks/sidewalk/sidewalk.go

24 lines
490 B
Go
Raw Normal View History

2025-02-11 00:14:58 -06:00
package sidewalk
import "time"
type Condition int
const (
Unknown Condition = iota
Clear
PartiallyCovered
Covered
)
type Location []float64
type Sidewalk struct {
OSMID int // The sidewalk's identifier in OSM
Geometry []Location // List of lat/lon pairs
Tags map[string]string // OSM tags on the sidewalk
Description string // A human-readable description of the chunk of sidewalk
Condition Condition
LastUpdated time.Time
}