implement String for Tags

Oliver Tonnhofer 2014-08-19 13:17:25 +02:00
parent 8e6ef74a1e
commit a9a50d64c4
1 changed files with 5 additions and 0 deletions

View File

@ -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"`