الاسم
Get_Geocode_Setting — تُعيد قيمة إعداد محدد مخزَّن في الجدول tiger.geocode_settings.
المختصر
text Get_Geocode_Setting(text setting_name);
الوصف
تُعيد قيمة إعداد محدد مخزَّن في الجدول tiger.geocode_settings. تتيح لك الإعدادات تبديل تصحيح أخطاء الدوال. والخطط اللاحقة هي التحكم في التقييم عبر الإعدادات. القائمة الحالية للإعدادات كما يلي:
name | setting | unit | category | short_desc
--------------------------------+---------+---------+-----------+------------------------------------------------------------------------------------------------------------------------------
debug_geocode_address | false | boolean | debug | outputs debug information in notice log such as queries when geocode_address is called if true
debug_geocode_intersection | false | boolean | debug | outputs debug information in notice log such as queries when geocode_intersection is called if true
debug_normalize_address | false | boolean | debug | outputs debug information in notice log such as queries and intermediate expressions when normalize_address is called if true
debug_reverse_geocode | false | boolean | debug | if true, outputs debug information in notice log such as queries and intermediate expressions when reverse_geocode
reverse_geocode_numbered_roads | 0 | integer | rating | For state and county highways, 0 - no preference in name,
1 - prefer the numbered highway name, 2 - prefer local state/county name
use_pagc_address_parser | false | boolean | normalize | If set to true, will try to use the address_standardizer extension (via pagc_normalize_address)
instead of tiger normalize_address built one
تغيّرت في: 2.2.0: تُحفظ الإعدادات الافتراضية الآن في جدول يُسمى geocode_settings_default. أما الإعدادات المخصصة فتوجد في geocode_settings ولا تحتوي إلا على ما ضبطه المستخدم.
متاحة منذ: 2.1.0
مثال على إعادة إعداد التصحيح (debugging)
SELECT get_geocode_setting('debug_geocode_address) As result;
result
---------
false