<Parametername="table">(select * from planet_osm_polygon where landuse='reservoir' or landuse='water' or "natural"='lake' or "natural"='water' or "natural"='land' order by z_order) as water</Parameter>

<Parametername="table">(select * from planet_osm_line where waterway IS NOT NULL or landuse='reservoir' or landuse='water' or "natural"='lake' or "natural"='water' order by z_order) as water</Parameter>

(select way,highway,landuse,"natural",man_made,waterway,tourism,learning,amenity,place,name,ref,oneway,char_length(ref) as length from planet_osm_line where waterway IS NULL and leisure IS NULL and landuse IS NULL) as roads