<StyleName>points</StyleName>
<Datasource>
<Parameter name="table">
- (select way,amenity,shop,tourism,highway,man_made,access,religion,waterway,lock,historic,leisure
+ (select way,amenity,access
from &prefix;_point
where amenity is not null
- or shop is not null
- or tourism in ('alpine_hut','camp_site','caravan_site','guest_house','hostel','hotel','motel','museum','viewpoint','bed_and_breakfast','information','chalet')
- or highway in ('bus_stop','traffic_signals','ford')
- or man_made in ('mast','water_tower')
- or historic in ('memorial','archaeological_site')
- or waterway='lock'
- or lock='yes'
- or leisure in ('playground','slipway')
) as points</Parameter>
&datasource-settings;
</Datasource>
<StyleName>points</StyleName>
<Datasource>
<Parameter name="table">
- (select way,amenity,shop,tourism,highway,man_made,access,religion,waterway,lock,historic,leisure
+ (select way,amenity,access
from &prefix;_polygon
where amenity is not null
- or shop is not null
- or tourism in ('alpine_hut','camp_site','caravan_site','guest_house','hostel','hotel','motel','museum','viewpoint','bed_and_breakfast','information','chalet')
- or highway in ('bus_stop','traffic_signals')
- or man_made in ('mast','water_tower')
- or historic in ('memorial','archaeological_site')
- or leisure='playground'
) as points</Parameter>
&datasource-settings;
</Datasource>
<StyleName>text</StyleName>
<Datasource>
<Parameter name="table">
- (select way,amenity,shop,access,leisure,landuse,man_made,"natural",place,tourism,ele,name,ref,military,aeroway,waterway,historic,'yes'::text as point
+ (select way,amenity,access,name,ref,'yes'::text as point
from &prefix;_point
where amenity is not null
- or shop in ('supermarket','bakery','clothes','fashion','convenience','doityourself','hairdresser','department_store','butcher','car','car_repair','bicycle','florist')
- or leisure is not null
- or landuse is not null
- or tourism is not null
- or "natural" is not null
- or man_made in ('lighthouse','windmill')
- or place='island'
- or military='danger_area'
- or aeroway='gate'
- or waterway='lock'
- or historic in ('memorial','archaeological_site')
) as text
</Parameter>
&datasource-settings;
<StyleName>text</StyleName>
<Datasource>
<Parameter name="table">
- (select way,aeroway,shop,access,amenity,leisure,landuse,man_made,"natural",place,tourism,NULL as ele,name,ref,military,waterway,historic,'no'::text as point
+ (select way,access,amenity,NULL as ele,name,ref,'no'::text as point
from &prefix;_polygon
where amenity is not null
- or shop in ('supermarket','bakery','clothes','fashion','convenience','doityourself','hairdresser','department_store', 'butcher','car','car_repair','bicycle')
- or leisure is not null
- or landuse is not null
- or tourism is not null
- or "natural" is not null
- or man_made in ('lighthouse','windmill')
- or place='island'
- or military='danger_area'
- or historic in ('memorial','archaeological_site')
) as text
</Parameter>
&datasource-settings;