From 866d0c995b2634282325cc0b5a384ad5cb4ba666 Mon Sep 17 00:00:00 2001 From: David Martinez <47610359+dvdmrtnz@users.noreply.github.com> Date: Sat, 28 Oct 2023 23:03:08 +0200 Subject: [PATCH] [generator] Add comment about discarding types without style Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com> --- data/mapcss-mapping.csv | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/mapcss-mapping.csv b/data/mapcss-mapping.csv index 6fd43a19bb..25aaf7e102 100644 --- a/data/mapcss-mapping.csv +++ b/data/mapcss-mapping.csv @@ -47,6 +47,9 @@ # A python parser implementation used to compile *.mapcss style files is in tools/kothic/src/libkomwm.py::komap_mapswithme(). # The app doesn't use this file directly, it loads a data/types.txt # which is derived from this file during style files compilation. +# +# Types that don't have any style defined are discarded by the generator. +# To prevent discarding, add them to the exceptions in indexer/feature_visibility.cpp::IsUsefulNondrawableType() building;[building];;addr:housenumber;name;1; highway|residential;2;