aboutsummaryrefslogblamecommitdiff
path: root/helpers.go
blob: b8672aca1df74bf7048b137e50ba1ebd09971d60 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                            
package main

import "github.com/paulmach/osm"

func convertTags(tags osm.Tags) []Tag {
	result := make([]Tag, 0, len(tags))
	for _, t := range tags {
		result = append(result, Tag{
			Key:   t.Key,
			Value: t.Value,
		})
	}
	return result
}