CanalPlanAC

Codes used in the 'attributes' field of places

This is extracted from the attributes.h field for easy reference

attr_ code text used in
C
used in
scripts
used in
templates
present
in data
derived
from elsewhere
diesel D diesel for sale no yes NO
elsan E chemical toilet disposal no yes NO
elsan_pump d chemical toilet disposal suitable for DIY pump-out no yes NO
gas G gas for sale no yes NO
coal A coal for sale no yes NO
selfpump P boater-operated pump-out no yes NO
pumpout p boatyard pump-out no yes NO
rubbish R rubbish disposal no yes NO
showers S showers no yes NO
telephone T telephone no yes NO
toilets t toilets no yes NO
water W water point no yes NO
watercan w water (cans only) no yes NO
botrecyc B glass recycling no yes NO
paprecyc N paper recycling no yes NO
canrecyc C tin can recycling no yes NO
alrecyc a aluminium can recycling no yes NO
laundrette l laundrette no yes NO
electric e electric hook up no yes NO
wifi i WiFi no yes NO
wildcard * matches anything yes no !
boatyard b boatyard no yes NO
pub Z pub no yes NO
church c church no no NO
lock L lock yes yes yes
lock2 2 two locks yes yes yes
lock4 4 four locks yes yes yes
lock8 8 eight locks yes yes yes
anchor ! map anchor yes yes
bridge = bridge no yes yes
moveable / moveable bridge yes yes
moveopen | moveable bridge (usually left open) yes yes
overbridge ~ small aqueduct or overbridge yes yes
flight f place in a lock flight yes yes yes
topbot F top or bottom lock of a flight yes yes
cutting x place inside a cutting yes yes yes
endcutting X end of a cutting yes yes yes
embankment y place inside an embankment yes yes
endembank Y end of an embankment yes yes
winding @ winding hole yes yes yes
windable # windable waterway yes no
tunnel [ the end of a tunnel yes yes
aqueduct ] the end of a long aqueduct yes yes
navnote % a navigational note is attached yes yes
flightlabel ? the place to label a flight on a map no no
haven H a safe space to stop no yes yes
mooring M an official mooring no yes yes
marker m a marker place (a bend for example) yes yes yes
advertgaz $ a place with adverts in the gazeteer no no
narrow n a narrows no yes yes
wide o a wide spot no yes yes

Each line contains:

The first block are "facilities" and the second "attributes". They must stay in this order */

// quick reference of which have been used
// ABCDEFGH–LMN-P-RST–WXYZ
// -bcdef—-lmn-p—t–wxy-
// -2-4—8–
// !=/@|[]?$%


#ifdef FACILE
     LINE(diesel,   'D',"diesel for sale")
     LINE(elsan,    'E',"chemical toilet disposal")
     LINE(elsan_pump,   'd',"chemical toilet disposal suitable for DIY pump-out")
     LINE(gas,          'G',"gas for sale")
     LINE(coal,         'A',"coal for sale")
     LINE(selfpump, 'P',"boater-operated pump-out")
     LINE(pumpout,  'p',"boatyard pump-out")
     LINE(rubbish,  'R',"rubbish disposal")
     LINE(showers,  'S',"showers")
     LINE(telephone,'T',"telephone")
     LINE(toilets,   't',"toilets")
     LINE(water,    'W',"water point")
     LINE(watercan, 'w',"water (cans only)")
     LINE(botrecyc, 'B',"glass recycling")
     LINE(paprecyc, 'N',"paper recycling")
     LINE(canrecyc, 'C',"tin can recycling")
     LINE(alrecyc,      'a',"aluminium can recycling")
     LINE(laundrette,   'l',"laundrette")
     LINE(electric,     'e',"electric hook up")
     LINE(wifi,     'i',"WiFi")
     LINE(wildcard, '*',"matches anything")
#else 
     LINE(boatyard, 'b',"boatyard")
     LINE(pub,      'Z',"pub")
     LINE(church,   'c',"church")
     LINE(lock,   'L',"lock")
     LINE(lock2,    '2',"two locks")
     LINE(lock4,    '4',"four locks")
     LINE(lock8,    '8',"eight locks")
     LINE(anchor,   '!',"map anchor")
     LINE(bridge,   '=',"bridge")
     LINE(moveable, '/',"moveable bridge")
     LINE(moveopen, '|',"moveable bridge (usually left open)")
     LINE(overbridge,   '~',"small aqueduct or overbridge")
     LINE(flight,   'f',"place in a lock flight")
     LINE(topbot,   'F',"top or bottom lock of a flight")
     LINE(cutting,'x',"place inside a cutting")
     LINE(endcutting,'X',"end of a cutting")
     LINE(embankment,'y',"place inside an embankment")
     LINE(endembank, 'Y',"end of an embankment")
     LINE(winding,  '@',"winding hole")
     LINE(windable,     '#',"windable waterway")
     LINE(tunnel,   '[',"the end of a tunnel")
     LINE(aqueduct, ']',"the end of a long aqueduct")
         LINE(navnote,'%',"a navigational note is attached")
     LINE(flightlabel,  '?',"the place to label a flight on a map")
     LINE(haven,        'H',"a safe space to stop")
     LINE(mooring,      'M',"an official mooring")
     LINE(marker,       'm',"a marker place (a bend for example)")
     LINE(advertgaz,    '$',"a place with adverts in the gazeteer")
         LINE(narrow,       'n',"a narrows")
         LINE(wide,         'o',"a wide spot")
     LINE(last, '\0',"")        // always make this last in the list
#endif