-
-
Save tmcw/5904354 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE Map[]> | |
<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over" maximum-extent="-20037508.34,-20037508.34,20037508.34,20037508.34"> | |
<Parameters> | |
<Parameter name="bounds">-72.2653,19.5326,-71.7586,19.8133</Parameter> | |
<Parameter name="center">-72.1198,19.6698,16</Parameter> | |
<Parameter name="format">png</Parameter> | |
<Parameter name="minzoom">0</Parameter> | |
<Parameter name="maxzoom">20</Parameter> | |
<Parameter name="attribution"><![CDATA[Data © OpenStreetMap (and) contributors, CC-BY-SA]]></Parameter> | |
<Parameter name="name"><![CDATA[hdm]]></Parameter> | |
</Parameters> | |
<Style name="poi-point" filter-mode="first"> | |
<Rule> | |
<MaxScaleDenominator>5000</MaxScaleDenominator> | |
<Filter>([office] = 'ngo') and ([name] = 'oxfam')</Filter> | |
<MarkersSymbolizer file="icons/poi/oxfam-18.png" /> | |
</Rule> | |
</Style> | |
<Layer name="poi-point" | |
status="off" | |
srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"> | |
<StyleName>poi-point</StyleName> | |
<Datasource> | |
<Parameter name="type"><![CDATA[postgis]]></Parameter> | |
<Parameter name="table"><![CDATA[(select way,name,amenity,shop,tourism,highway,man_made,access,religion,waterway,lock,historic,leisure,CASE WHEN tags ? 'iata' THEN 'airport' WHEN aeroway='aerodrome' THEN 'airfield' ELSE null END AS aeroway,tags->'office' as office, tags->'craft' as craft, tags->'pump' as pump,tags->'drinking_water' as drinking_water, "tower:type", tags->'emergency' as emergency, power from planet_osm_point where amenity is not null or shop is not null or tags ? 'craft' 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', 'street_lamp') or man_made in ('mast','water_tower', 'tower', 'water_well', 'watermill') or historic in ('memorial','archaeological_site') or leisure in ('playground','slipway', 'beach_resort') or tags->'office' IN ('ngo', 'government') OR aeroway='aerodrome' OR tags->'emergency'='fire_hydrant' OR power IN ('generator', 'sub_station', 'tower', 'pole')) as data]]></Parameter> | |
<Parameter name="extent"><![CDATA[-20037508,-19929239,20037508,19929239]]></Parameter> | |
<Parameter name="key_field"><![CDATA[]]></Parameter> | |
<Parameter name="geometry_field"><![CDATA[way]]></Parameter> | |
<Parameter name="dbname"><![CDATA[hdm]]></Parameter> | |
<Parameter name="user"><![CDATA[skors]]></Parameter> | |
</Datasource> | |
</Layer> | |
</Map> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment