- <div class="row">
- <div class="col-sm-10">
- <h1>{{aPlace.localname}} <small>{{detailsPermaLink aPlace 'link to this page'}}</small></h1>
- </div>
- <div class="col-sm-2 text-right">
- {{formatMapIcon aPlace.icon}}
- </div>
+ <div class="row">
+ <div class="col-sm-10">
+ <h1>
+ {{aPlace.localname}}
+ <small><a href="{{detailsURL aPlace}}">link to this page</a></small>
+ </h1>
+ </div>
+ <div class="col-sm-2 text-right">
+ {{formatMapIcon aPlace}}
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-6">
+ <table id="locationdetails" class="table table-striped">
+ <tr>
+ <td>Name</td>
+ <td>
+ {{#each aPlace.names}}
+ <div class="line">
+ <span class="name">{{this}}</span> ({{@key}})
+ </div>
+ {{/each}}
+ </td>
+ </tr>
+ <tr>
+ <td>Type</td>
+ <td>{{aPlace.category}}:{{aPlace.type}}</td>
+ </tr>
+ <tr>
+ <td>Last Updated</td>
+ <td>{{aPlace.indexed_date}}</td>
+ </tr>
+ <tr>
+ <td>Admin Level</td>
+ <td>{{aPlace.admin_level}}</td>
+ </tr>
+ <tr>
+ <td>Rank</td>
+ <td>{{formatSearchRank aPlace.rank_search}}</td>
+ </tr>
+ {{#if aPlace.calculated_importance}}
+ <tr>
+ <td>Importance</td>
+ <td>
+ {{aPlace.calculated_importance}}
+ {{#unless aPlace.importance}} (estimated){{/unless}}
+ </td>
+ </tr>
+ {{/if}}
+ <tr>
+ <td>Coverage</td>
+ <td>{{coverageType aPlace}}</td>
+ </tr>
+ <tr>
+ <td>Centre Point (lat,lon)</td>
+ <td>
+ {{aPlace.centroid.coordinates.[1]}},{{aPlace.centroid.coordinates.[0]}}
+ </td>
+ </tr>
+ <tr>
+ <td>OSM</td>
+ <td>{{osmLink aPlace}}
+ </tr>
+ <tr>
+ <td>
+ Place Id
+ (<a href="https://nominatim.org/release-docs/develop/api/Output/#place_id-is-not-a-persistent-id">on this server</a>)
+ </td>
+ <td>{{aPlace.place_id}}</td>
+ </tr>
+ {{#if aPlace.calculated_wikipedia}}
+ <tr>
+ <td>Wikipedia Calculated</td>
+ <td>{{wikipediaLink aPlace}}</td>
+ </tr>
+ {{/if}}
+ <tr>
+ <td>Computed Postcode</td>
+ <td>{{aPlace.calculated_postcode}}</td>
+ </tr>
+ <tr>
+ <td>Address Tags</td>
+ <td>
+ {{#each aPlace.addresstags}}
+ <div class="line">
+ <span class="name">{{this}}</span> ({{@key}})
+ </div>
+ {{/each}}
+ </td>
+ </tr>
+ <tr>
+ <td>Extra Tags</td>
+ <td>
+ {{#each aPlace.extratags}}
+ <div class="line">
+ <span class="name">{{this}}</span> ({{@key}})
+ </div>
+ {{/each}}
+ </td>
+ </tr>
+ </table>