implement String for Tags
parent
8e6ef74a1e
commit
a9a50d64c4
|
@ -1,6 +1,7 @@
|
|||
package element
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"sort"
|
||||
|
||||
"github.com/omniscale/imposm3/geom/geos"
|
||||
|
@ -8,6 +9,10 @@ import (
|
|||
|
||||
type Tags map[string]string
|
||||
|
||||
func (t *Tags) String() string {
|
||||
return fmt.Sprintf("%v", (map[string]string)(*t))
|
||||
}
|
||||
|
||||
type OSMElem struct {
|
||||
Id int64 `json:"-"`
|
||||
Tags Tags `json:"tags,omitempty"`
|
||||
|
|
Loading…
Reference in New Issue