mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
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:
@@ -10,7 +10,7 @@ $sOutputFormat = 'html';
|
||||
|
||||
$oDB =& getDB();
|
||||
|
||||
$sSQL = "select placex.place_id, calculated_country_code as country_code,";
|
||||
$sSQL = "select placex.place_id, country_code,";
|
||||
$sSQL .= " name->'name' as name, i.* from placex, import_polygon_delete i";
|
||||
$sSQL .= " where placex.osm_id = i.osm_id and placex.osm_type = i.osm_type";
|
||||
$sSQL .= " and placex.class = i.class and placex.type = i.type";
|
||||
|
||||
Reference in New Issue
Block a user