From 4783f03c587b913320f8133fef60003da1f22953 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Tue, 19 Feb 2008 16:30:48 +0200 Subject: [PATCH] Add category and parsing support for shop=adult --- src/osm-db-import.c | 1 + src/osm.h | 1 + src/poi.c | 1 + 3 files changed, 3 insertions(+) diff --git a/src/osm-db-import.c b/src/osm-db-import.c index df9aac8..4f4d00c 100644 --- a/src/osm-db-import.c +++ b/src/osm-db-import.c @@ -176,6 +176,7 @@ struct _nodeinfo { { "shop", "general_store",NODE_AMENITY_SHOP }, { "shop", "food", NODE_AMENITY_SHOP }, { "shop", "drinks", NODE_AMENITY_SHOP }, + { "shop", "sex", NODE_AMENITY_SHOP_ADULT }, { "shop", "pharmacy", NODE_AMENITY_PHARMACY }, /* Sport */ diff --git a/src/osm.h b/src/osm.h index 28ccfb3..244788f 100644 --- a/src/osm.h +++ b/src/osm.h @@ -87,6 +87,7 @@ typedef enum { NODE_AMENITY_POW=310, NODE_AMENITY_LIBRARY=311, NODE_AMENITY_NIGHTCLUB=312, + NODE_AMENITY_SHOP_ADULT=313, NODE_AMENITY_COLLEGE=320, NODE_AMENITY_SCHOOL=321, NODE_AMENITY_TOWNHALL=325, diff --git a/src/poi.c b/src/poi.c index f612cb9..dbfba02 100644 --- a/src/poi.c +++ b/src/poi.c @@ -74,6 +74,7 @@ static struct _poi_categories default_poi_categories[] = { { NODE_AMENITY_CINEMA, "Cinema", "Place to see movies" , "recreation/cinema", "#9090a0" }, { NODE_AMENITY_THEATRE, "Theatre", "Place to see people performing" , "recreation/theater", "#9595a5" }, { NODE_AMENITY_SHOP, "Shopping", "Places to shop or acquire services." , "shopping", "#61ef1b" }, + { NODE_AMENITY_SHOP_ADULT, "Adult shop", "Shops providing adult items, such as sex toys,pornography and fetish clothing" , "", "#ff0000" }, { NODE_AMENITY_POW, "Place of Worchip", "" , "religion/church", "#7c5b0b" }, { NODE_TOURISM_THEME_PARK, "Theme Park", "Place to have fun and ride for example rollercoasters." , "recreation/theme_park", "#8eef1b" }, { NODE_AMENITY_COLLEGE, "College Campus/Building", "" , "education/college", "#813fdc" }, -- 2.39.5