introduce address column for place tables

The column is a hstore containing the full OSM tag with key and
value.
This commit is contained in:
Sarah Hoffmann
2017-03-25 23:11:09 +01:00
parent 43eedfd253
commit c8e79397f5
8 changed files with 157 additions and 217 deletions

View File

@@ -83,7 +83,7 @@ $hLog = logStart($oDB, 'details', $_SERVER['QUERY_STRING'], $aLangPrefOrder);
// Get the details for this point
$sSQL = "SELECT place_id, osm_type, osm_id, class, type, name, admin_level,";
$sSQL .= " housenumber, street, isin, postcode, calculated_country_code AS country_code,";
$sSQL .= " housenumber, street, postcode, country_code,";
$sSQL .= " importance, wikipedia,";
$sSQL .= " to_char(indexed_date, 'YYYY-MM-DD HH24:MI') AS indexed_date,";
$sSQL .= " parent_place_id, ";