From: Sarah Hoffmann Date: Tue, 27 Sep 2022 20:12:48 +0000 (+0200) Subject: simplify use of secondary importance X-Git-Tag: v4.2.0~25^2~4 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/abf349fb0da9c1f08cbe17a70b3134b64c0e61c3?hp=abf349fb0da9c1f08cbe17a70b3134b64c0e61c3 simplify use of secondary importance The values in the raster are already normalized between 0 and 2**16, so a simple conversion to [0, 1] will do. Check for existance of secondary_importance table statically when creating the SQL function. For that to work importance tables need to be created before the functions. ---