From: Kaj-Michael Lang Date: Tue, 19 Feb 2008 14:30:48 +0000 (+0200) Subject: Add category and parsing support for shop=adult X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4783f03c587b913320f8133fef60003da1f22953;p=mapper Add category and parsing support for shop=adult --- 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" },