{#snippet subheader()} {/snippet}
{#if aPlace}

{aPlace.localname || `${formatOSMType(aPlace.osm_type)} ${aPlace.osm_id}` }

{#if (isAdminBoundary(aPlace)) } {/if} {#if aPlace.calculated_importance} {/if} {#if aPlace.calculated_wikipedia} {/if}
Name {#if aPlace.names && typeof (aPlace.names) === 'object' && Object.keys(aPlace.names).length} {:else} No Name {/if}
Type{aPlace.category}:{aPlace.type}
Last Updated{aPlace.indexed_date}
Admin Level{aPlace.admin_level}
Search Rank{aPlace.rank_search}
Address Rank {aPlace.rank_address} ({formatAddressRank(aPlace.rank_address)})
Importance {aPlace.calculated_importance} {#if !aPlace.importance} (estimated){/if}
Coverage{coverageType(aPlace)}
Centre Point (lat,lon) {aPlace.centroid.coordinates[1]},{aPlace.centroid.coordinates[0]}
OSM
Place Id {aPlace.place_id} ( on this server )
Wikipedia Calculated
Computed Postcode {#if aPlace.calculated_postcode || (aPlace.type === 'postcode' || !aPlace.osm_id)} {aPlace.calculated_postcode || aPlace.names.ref} {/if}
Address Tags
Extra Tags
{:else if (window.location.search !== '' && api_request_finished)} No such place found. {/if} {#if aPlace}

Address

{#if aPlace.address} {#each aPlace.address as addressLine} {/each}
{/if}

Linked Places

{#if aPlace.linked_places} {#each aPlace.linked_places as addressLine} {/each}
{/if}

Entrances

{#if aPlace.entrances && aPlace.entrances.length} {#each aPlace.entrances as entrance, i} {/each}
Entrance Type OSM Extra Tags
{i + 1} {entrance.type}
{:else}

Place does not have entrances

{/if} {#if !reverse_only}

Keywords

{#if api_request_params.keywords} {#if place_has_keywords(aPlace)}

Name Keywords

{#each aPlace.keywords.name as keyword} {#if keyword.id} {/if} {/each}
{formatKeywordToken(keyword.token)}word id: {keyword.id}
{#if aPlace.keywords.address}

Address Keywords

{#each aPlace.keywords.address as keyword} {/each}
{formatKeywordToken(keyword.token)} word id: {keyword.id || '?'}
{/if} {:else}

Place has no keywords

{/if} {:else} display keywords {/if} {/if}

Parent Of

{#if api_request_params.hierarchy} {#if aPlace.hierarchy && typeof (aPlace.hierarchy) === 'object' && Object.keys(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}
{/if}