skip ways without tags

master
Oliver Tonnhofer 2013-07-15 11:41:03 +02:00
parent 198f2d925f
commit 7e5e2ce86d
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,9 @@ func (ww *WayWriter) loop() {
geos.SetHandleSrid(ww.srid)
defer geos.Finish()
for w := range ww.ways {
if len(w.Tags) == 0 {
continue
}
ww.progress.AddWays(1)
inserted, err := ww.osmCache.InsertedWays.IsInserted(w.Id)
if err != nil {