X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fb141e027a459e4e32d0ad71803ba2ac90d1d6f1..ca11fc90e6e646335045e087f03d824236c798f2:/lib/template/details-html.php
diff --git a/lib/template/details-html.php b/lib/template/details-html.php
index 4cacb307..ba41b931 100644
--- a/lib/template/details-html.php
+++ b/lib/template/details-html.php
@@ -9,7 +9,7 @@
@@ -82,8 +94,9 @@
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'])