Update SQL_check_geo_consistency.sql

12 functions