 -- Line Example View
 
-CREATE OR REPLACE VIEW planet_osm_line AS
+CREATE OR REPLACE VIEW planet_osm_line_view AS
 SELECT
   id as osm_id,
 --------------------

FROM
 ways
WHERE
(NOT EXISTS (select 1 from relation_members WHERE relation_members.member_type = 'W' AND relation_members.member_id = ways.id) AND
(tags != ''::hstore AND tags is not null AND array_length(nodes,1)>1)) AND 
(
exist(ways.tags, 'access') OR 

SELECT
  osm_id, 
------------------------
tags -> 'access' as "access",
tags -> 'addr:housename' as "addr:housename",
tags -> 'addr:housenumber' as "addr:housenumber",
