daily pastebin goal
87%
SHARE
TWEET

Untitled

a guest Aug 20th, 2018 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #----------------------
  2. # Building numbers
  3. #----------------------
  4. LAYER
  5.     STATUS ON
  6.     GROUP "default"
  7.     NAME "building_num"
  8.     TYPE POLYGON
  9.     INCLUDE 'pgsql.map'
  10.     DATA "way from (select way,osm_id,amenity,aeroway, name, addr:housenumber from osm_polygon where amenity is not null or aeroway='apron') as foo using unique osm_id using srid=900913"
  11.     #DATA "way from (select way, osm_id, name, from osm_polygon where building is not null) as foo using unique osm_id using srid=900913"
  12.     #LABELITEM 'addr:housenumber'
  13.     #LABELITEM "name"
  14.     PROCESSING "LABEL_NO_CLIP=ON"
  15.     PROCESSING "CLOSE_CONNECTION=DEFER"
  16.     MAXSCALEDENOM 60000
  17.     CLASS
  18.         TEXT ([addr:housenumber])
  19.         #MAXSCALEDENOM 7000
  20.         STYLE
  21.             COLOR "#8E8D8C"
  22.             OFFSET 2 2
  23.         END
  24.         STYLE
  25.             COLOR "#D1D0CD"
  26.         END
  27.         LABEL
  28.         TYPE TRUETYPE FONT sc PARTIALS FALSE OUTLINEWIDTH 3
  29.         #MAXSCALEDENOM 7000
  30.             SIZE 7
  31.             COLOR 0 0 0
  32.             OUTLINECOLOR 255 255 255
  33.             PRIORITY 1
  34.             WRAP ' '
  35.             MAXLENGTH 6
  36.             ALIGN CENTER
  37.         END
  38.     END
  39. END
  40. END
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top