aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Utils.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-04-08 13:50:09 +0100
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-04-08 13:50:09 +0100
commit109b355d511098de2f8ff630ab530caa3c6eb6f5 (patch)
tree5ca9021c8e94d8f55de0ca97f179f544abd78244 /perllib/Utils.pm
parent56bbdf2268b04dc6afa212d3c6bcd117a327ceac (diff)
parentab818265ab3eeaa226ce94288f7e6c286d2a28db (diff)
Merge branch 'london'
Diffstat (limited to 'perllib/Utils.pm')
-rw-r--r--perllib/Utils.pm29
1 files changed, 29 insertions, 0 deletions
diff --git a/perllib/Utils.pm b/perllib/Utils.pm
index 21994d20b..c16a02cd4 100644
--- a/perllib/Utils.pm
+++ b/perllib/Utils.pm
@@ -107,4 +107,33 @@ sub truncate_coordinate {
return $out;
}
+sub london_categories {
+ return {
+ 'Abandoned vehicle' => 'AbandonedVehicle',
+ 'Car parking' => 'Parking',
+ 'Dangerous structure' => 'DangerousStructure',
+ 'Dead animal' => 'DeadAnimal',
+ 'Dumped cylinder' => 'DumpedCylinder',
+ 'Dumped rubbish' => 'DumpedRubbish',
+ 'Flyposting' => 'FlyPosting',
+ 'Graffiti' => 'Graffiti',
+ 'Litter bin' => 'LitterBin',
+ 'Public toilet' => 'PublicToilet',
+ 'Refuse collection' => 'RefuseCollection',
+ 'Road or pavement defect' => 'Road',
+ 'Road or pavement obstruction' => 'Obstruction',
+ 'Skip problem' => 'Skip',
+ 'Street cleaning' => 'StreetCleaning',
+ 'Street drainage' => 'StreetDrainage',
+ 'Street furniture' => 'StreetFurniture',
+ 'Street needs gritting' => 'StreetGritting',
+ 'Street lighting' => 'StreetLighting',
+ 'Street sign' => 'StreetSign',
+ 'Traffic light' => 'TrafficLight',
+ 'Tree (dangerous)' => 'DangerousTree',
+ 'Tree (fallen branches)' => 'FallenTree',
+ 'Untaxed vehicle' => 'UntaxedVehicle',
+ };
+}
+
1;