{#if aPlace}
{aPlace.localname || `${formatOSMType(aPlace.osm_type)} ${aPlace.osm_id}` }
link to this page
{#if (Array.isArray(aPlace.names)) }
No Name
{:else}
{/if}
{aPlace.category}:{aPlace.type}
{aPlace.indexed_date}
{#if (isAdminBoundary(aPlace)) }
{aPlace.admin_level}
{/if}
{aPlace.rank_search}
{aPlace.rank_address} ({formatAddressRank(aPlace.rank_address)})
{#if aPlace.calculated_importance}
{aPlace.calculated_importance}
{#if !aPlace.importance} (estimated){/if}
{/if}
{coverageType(aPlace)}
{aPlace.centroid.coordinates[1]},{aPlace.centroid.coordinates[0]}
{@html osmLink(aPlace)}
{aPlace.place_id}
(on this server)
{#if aPlace.calculated_wikipedia}
{@html wikipediaLink(aPlace)}
{/if}
{#if aPlace.calculated_postcode}
{aPlace.calculated_postcode}
{/if}
Address
Local name |
Type |
OSM |
Address rank |
Admin level |
Distance |
|
{#if aPlace.address}
{#each aPlace.address as addressLine}
{/each}
{/if}
{#if aPlace.linked_places}
Linked Places |
{#each aPlace.linked_places as addressLine}
{/each}
{/if}
Keywords |
{#if api_request_params.keywords}
{#if aPlace.keywords && (aPlace.keywords.name || aPlace.keywords.address) }
Name Keywords |
{#each aPlace.keywords.name as keyword}
{formatKeywordToken(keyword.token)} |
{#if keyword.id}
word id: {keyword.id} |
{/if}
{/each}
{#if aPlace.keywords.address}
Address Keywords |
{#each aPlace.keywords.address as keyword}
{formatKeywordToken(keyword.token)} |
{#if keyword.id}
word id: {keyword.id} |
{/if}
{/each}
{/if}
{:else}
Place has no keywords |
{/if}
{:else}
display keywords
|
{/if}
Parent Of |
{#if api_request_params.hierarchy}
{#if aPlace.hierarchy && aPlace.hierarchy.length}
{#each Object.keys(aPlace.hierarchy) as type}
{type} |
{#each aPlace.hierarchy[type] as line}
{/each}
{/each}
{#if Object.keys(aPlace.hierarchy) > 500}
There are more child objects which are not shown.
{/if}
{:else}
Place is not parent of other places |
{/if}
{:else}
display child places
|
{/if}
{:else if (window.location.search !== '' && api_request_finished)}
No such place found.
{/if}