Skip to content

Commit

Permalink
Merge pull request osmfj#8 from nyampire/add_to_all_POI
Browse files Browse the repository at this point in the history
Display all name of name=* POI
  • Loading branch information
nyampire committed Jul 21, 2013
2 parents c0f3091 + 3be5737 commit 3119c17
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/layer-amenity-points.xml.inc
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@
<StyleName>points</StyleName>
<Datasource>
<Parameter name="table">
(select way,amenity,shop,tourism,highway,man_made,access,religion,waterway,lock,historic,leisure
(select way,amenity,shop,tourism,highway,man_made,name,access,religion,waterway,lock,historic,leisure
from &prefix;_point
where amenity is not null
or shop is not null
Expand All @@ -461,7 +461,7 @@
<StyleName>points</StyleName>
<Datasource>
<Parameter name="table">
(select way,amenity,shop,tourism,highway,man_made,access,religion,waterway,lock,historic,leisure
(select way,amenity,shop,tourism,highway,man_made,name,access,religion,waterway,lock,historic,leisure
from &prefix;_polygon
where amenity is not null
or shop is not null
Expand Down
5 changes: 5 additions & 0 deletions osm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,11 @@
&maxscale_zoom17;
<TextSymbolizer size="10" fill="#aa66cc" fontset-name="book-fonts" halo-radius="1" wrap-width="10" placement="interior">[ref]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[name] != ''</Filter>
&maxscale_zoom17;
<TextSymbolizer size="10" fill="#000000" fontset-name="book-fonts" halo-radius="2" wrap-width="10" placement="interior" opacity=".85">[name]</TextSymbolizer>
</Rule>
</Style>
<Style name="tunnels-casing">
<Rule>
Expand Down

0 comments on commit 3119c17

Please sign in to comment.