 VALUES      ( 'primary_km', 
               (SELECT Sum(St_length(way)) / 1000 
                FROM   planet_osm_line 
-               WHERE  highway = 'primary'));
+               WHERE  highway = 'primary' AND osm_id > 0));
 
 -- km of primary roads without names
 INSERT INTO retrospective 

VALUES      ( 'tertiery_km', 
              (SELECT Sum(St_length(way)) / 1000 
               FROM   planet_osm_line 
               WHERE  highway = 'tertiary'));

-- km of tertiary roads without names
INSERT INTO retrospective 

VALUES      ( 'motorway_km', 
              (SELECT Sum(St_length(way)) / 1000 
               FROM   planet_osm_line 
               WHERE  highway = 'motorway' AND osm_id > 0));

-- km of motorways without names
INSERT INTO retrospective 
