4   <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
 
   5   <title>OpenStreetMap Nominatim</title>
 
   6   <meta name="viewport" content="width=device-width, initial-scale=1">
 
   8   <link rel="icon" type="image/png" href="/assets/images/favicon-194x194.png" sizes="194x194" />
 
   9   <link rel="icon" type="image/png" href="/assets/images/favicon-16x16.png" sizes="16x16" />
 
  11   <link href="assets/css/leaflet.css" rel="stylesheet" />
 
  12   <link href="assets/css/Control.MiniMap.min.css" rel="stylesheet" />
 
  13   <link href="assets/css/bootstrap.min.css" rel="stylesheet" />
 
  14   <link href="assets/css/common.css" rel="stylesheet" />
 
  15   <link href="assets/css/search.css" rel="stylesheet" type="text/css" />
 
  16   <link href="assets/css/details.css" rel="stylesheet" type="text/css" />
 
  18 <body id="details-page">
 
  20   <div id="error-overlay">
 
  21     You need Javascript enabled to view this page.
 
  24   <header class="container-fluid">
 
  29             <img alt="logo" src="assets/images/osm_logo.120px.png" width="30" height="30"/>
 
  34       <div id="last-updated" class="col-4 text-center">
 
  35         Data from <a id="api-request-link" href="">API request</a>
 
  38         <span id="data-date"></span>
 
  40       <div class="col-4 text-right">
 
  41         <div class="dropdown">
 
  42           <button class="dropdown-toggle btn btn-sm btn-outline-secondary" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
 
  45           <div class="dropdown-menu dropdown-menu-right">
 
  46             <a class="dropdown-item" href="https://nominatim.org/release-docs/develop/api/Overview/" target="_blank">API Reference</a>
 
  47             <a class="dropdown-item" href="https://nominatim.org/release-docs/develop/api/Faq/" target="_blank">FAQ</a>
 
  48             <a class="dropdown-item" href="https://help.openstreetmap.org/tags/nominatim/">OpenStreetMap Help</a>
 
  49             <a class="dropdown-item" href="https://github.com/osm-search/Nominatim">Nominatim on Github</a>
 
  50             <a class="dropdown-item" href="https://github.com/osm-search/nominatim-ui">This frontend on Github</a>
 
  51             <div class="dropdown-divider"></div>
 
  52             <a class="dropdown-item" href="#" data-toggle="modal" data-target="#report-modal">Report problem with results</a>
 
  59   <div class="modal fade" id="report-modal">
 
  60     <div class="modal-dialog">
 
  61       <div class="modal-content">
 
  62         <div class="modal-header">
 
  63           <h4 class="modal-title">Report a problem</h4>
 
  64           <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
 
  66         <div class="modal-body">
 
  68             Before reporting problems please read the <a target="_blank" href="https://nominatim.org/release-docs/develop/api/Overview/">user documentation</a>
 
  70             <a target="_blank" href="https://nominatim.org/release-docs/develop/api/Faq/">FAQ</a>.
 
  72             If your problem relates to the address of a particular search result please use the 'details' link 
 
  73             to check how the address was generated before reporting a problem.
 
  76             Use <a target="_blank" href="https://github.com/osm-search/Nominatim/issues">Nominatim issues on github</a>
 
  80             Please ensure that you include a full description of the problem, including the search
 
  81             query that you used, the problem with the result and, if the problem relates to missing data,
 
  82             the osm type (node, way, relation) and id of the item that is missing.
 
  85             Problems that contain enough detail are likely to get looked at before ones that require
 
  89         <div class="modal-footer">
 
  90           <button type="button" class="btn btn-outline-secondary" data-dismiss="modal">OK</button>
 
 100     <p class="disclaimer">
 
 101       Addresses and postcodes are approximate
 
 103     <p class="copyright">
 
 104       © <a href="https://osm.org/copyright">OpenStreetMap</a> contributors
 
 108   <script src="assets/js/jquery.min.js"></script>
 
 109   <script src="assets/js/bootstrap.bundle.min.js"></script>
 
 110   <script src="assets/js/leaflet.js"></script>
 
 111   <script src="assets/js/Control.MiniMap.min.js"></script>
 
 112   <script src="assets/js/handlebars.min.js"></script>
 
 113   <script src="assets/js/url-search-params.js"></script>
 
 115   <script src="config.js"></script>
 
 116   <script src="handlebar_helpers.js"></script>
 
 118   <script src="assets/js/nominatim-ui.js"></script>
 
 119 <script id="detailspage-template" type="text/x-handlebars-template">
 
 121 {{#*inline "partial_details_one_row"}}
 
 122   <tr class="{{#unless this.isaddress}}notused{{/unless}}">
 
 124       {{#if this.localname}}
 
 127         <span class="noname">No Name</span>
 
 130     <td>{{formatPlaceType this}}</td>
 
 131     <td>{{osmLink this}}</td>
 
 132     <td>{{this.rank_address}}</td>
 
 133     <td>{{formatAdminLevel this.admin_level}}</td>
 
 134     <td>{{formatDistance this.distance}}</td>
 
 135     <td>{{detailsPermaLink this 'details >'}}</td>
 
 139 {{#*inline "partial_details_keyword_one_row"}}
 
 141     <td>{{formatKeywordToken this.token}}</td>
 
 143       <td>word id: {{this.id}}</td>
 
 149 {{#*inline "partial_h2"}}
 
 150   <tr class="all-columns"><td colspan="6"><h2>{{this}}</h2></td></tr>
 
 153 {{#*inline "partial_h3"}}
 
 154   <tr class="all-columns"><td colspan="6"><h3>{{this}}</h3></td></tr>
 
 157 <div class="container">
 
 159     <div class="col-sm-10">
 
 162         <small>{{detailsPermaLink aPlace 'link to this page'}}</small>
 
 165     <div class="col-sm-2 text-right">
 
 166       {{formatMapIcon aPlace.icon}}
 
 170     <div class="col-md-6">
 
 171       <table id="locationdetails" class="table table-striped">
 
 175             {{#each aPlace.names}}
 
 177                 <span class="name">{{this}}</span> ({{@key}})
 
 184           <td>{{aPlace.category}}:{{aPlace.type}}</td>
 
 187           <td>Last Updated</td>
 
 188           <td>{{aPlace.indexed_date}}</td>
 
 192           <td>{{aPlace.admin_level}}</td>
 
 196           <td>{{formatSearchRank aPlace.rank_search}}</td>
 
 198         {{#if aPlace.calculated_importance}}
 
 202               {{aPlace.calculated_importance}}
 
 203               {{#unless aPlace.importance}} (estimated){{/unless}}
 
 209           <td>{{coverageType aPlace}}</td>
 
 212           <td>Centre Point (lat,lon)</td>
 
 214             {{aPlace.centroid.coordinates.[1]}},{{aPlace.centroid.coordinates.[0]}}
 
 219           <td>{{osmLink aPlace}}
 
 224             (<a href="https://nominatim.org/release-docs/develop/api/Output/#place_id-is-not-a-persistent-id">on this server</a>)
 
 226           <td>{{aPlace.place_id}}</td>
 
 228         {{#if aPlace.calculated_wikipedia}}
 
 230             <td>Wikipedia Calculated</td>
 
 231             <td>{{wikipediaLink aPlace}}</td>
 
 235           <td>Computed Postcode</td>
 
 236           <td>{{aPlace.calculated_postcode}}</td>
 
 239           <td>Address Tags</td>
 
 241             {{#each aPlace.addresstags}}
 
 243                 <span class="name">{{this}}</span> ({{@key}})
 
 251             {{#each aPlace.extratags}}
 
 253                 <span class="name">{{this}}</span> ({{@key}})
 
 260     <div class="col-md-6">
 
 265     <div class="col-md-12">
 
 267        <table id="address" class="table table-striped table-small">
 
 273             <th>Address rank</th>
 
 280           {{#if aPlace.address}}
 
 281             {{#each aPlace.address}}
 
 282               {{> partial_details_one_row}}
 
 286           {{#if aPlace.linked_places}}
 
 287             {{> partial_h2 'Linked Places'}}
 
 288             {{#each aPlace.linked_places}}
 
 289               {{> partial_details_one_row}}
 
 293           {{#if aPlace.keywords}}
 
 294             {{> partial_h2 'Name Keywords'}}
 
 295             {{#each aPlace.keywords.name}}
 
 296               {{> partial_details_keyword_one_row}}
 
 299             {{> partial_h2 'Address Keywords'}}
 
 300             {{#each aPlace.keywords.address}}
 
 301               {{> partial_details_keyword_one_row}}
 
 305           {{> partial_h2 'Parent Of'}}
 
 306           {{#if aPlace.hierarchy}}
 
 308             {{#each aPlace.hierarchy as |lines type|}}
 
 309               {{> partial_h3 type}}
 
 311                 {{> partial_details_one_row}}
 
 317                 <a class="btn btn-outline-secondary btn-sm"
 
 318                   href="{{base_url}}&hierarchy=1">display child places</a>
 
 322           {{tooManyHierarchyLinesWarning aPlace}}
 
 330 <script id="detailspage-index-template" type="text/x-handlebars-template">
 
 331 <div class="container" id="details-index-page">
 
 333     <div class="col-md-12">
 
 335       <h1>Show details for place</h1>
 
 337       <div class="search-form">
 
 338         <h4>Search by place id</h4>
 
 340         <form class="form-inline" action="details.html">
 
 342                  class="form-control input-sm"
 
 345                  placeholder="12345" />
 
 347                  class="btn btn-primary btn-sm"
 
 352       <div class="search-form">
 
 353         <h4>Search by OSM type and OSM id</h4>
 
 355         <form id="form-by-type-and-id"
 
 357               action="details.html">
 
 359                  class="form-control input-sm"
 
 360                  pattern="^[NWR][0-9]+$"
 
 361                  placeholder="N123 or W123 or R123" />
 
 362           <input type="hidden" name="osmtype" />
 
 363           <input type="hidden" name="osmid" />
 
 364           <input type="submit" class="btn btn-primary btn-sm" value="Show" />
 
 368       <div class="search-form">
 
 369         <h4>Search by openstreetmap.org URL</h4>
 
 371         <form id="form-by-osm-url"
 
 373               action="details.html">
 
 375                  class="form-control input-sm"
 
 376                  pattern=".*openstreetmap.*"
 
 377                  placeholder="https://www.openstreetmap.org/relation/123" />
 
 378           <input type="hidden" name="osmtype" />
 
 379           <input type="hidden" name="osmid" />
 
 380           <input type="submit" class="btn btn-primary btn-sm" value="Show" />