X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e02c9b6e69eac1493316dbc69c7e94720c1217a8..7ca4259866625413a2f2a9112bc3b756a3fa3299:/lib/template/details-html.php
diff --git a/lib/template/details-html.php b/lib/template/details-html.php
index e7328b3a..ba41b931 100644
--- a/lib/template/details-html.php
+++ b/lib/template/details-html.php
@@ -9,7 +9,7 @@
@@ -79,10 +91,12 @@
}
echo ' ';
echo '
Type: '.$aPointDetails['class'].':'.$aPointDetails['type'].'
';
+ echo ' Last Updated: '.$aPointDetails['indexed_date'].'
';
echo ' Admin Level: '.$aPointDetails['admin_level'].'
';
echo ' Rank: '.$aPointDetails['rank_search_label'].'
';
- if ($aPointDetails['importance']) echo ' Importance: '.$aPointDetails['importance'].'
';
+ if ($aPointDetails['calculated_importance']) echo ' Importance: '.$aPointDetails['calculated_importance'].($aPointDetails['importance']?'':' (estimated)').'
';
echo ' Coverage: '.($aPointDetails['isarea']=='t'?'Polygon':'Point').'
';
+ echo ' Centre Point: '.$aPointDetails['lat'].','.$aPointDetails['lon'].'
';
$sOSMType = ($aPointDetails['osm_type'] == 'N'?'node':($aPointDetails['osm_type'] == 'W'?'way':($aPointDetails['osm_type'] == 'R'?'relation':'')));
if ($sOSMType) echo ' ';
if ($aPointDetails['wikipedia'])