Open straup opened 2 months ago
Notes to self:
This needs to be a template function that takes {{ .Feature }}
as its input and:
wof:hierarchy
list for that feature creating a single unified list of common ancestors{{ .Feature }}
– use code in go-whosonfirst-placetypes
<span class="wof-namify" data-id="{ID}">{ID}</span>
and leaves resolving the name of each place to the wof-namify.js
codeFor an example of a place with multiple hierarchies:
https://spelunker.whosonfirst.org/id/102527513
Steps 1-3 should probably be bundled in go-whosonfirst-placetypes
once all the kinks have been worked out.
For example:
https://spelunker.whosonfirst.org/search?q=alberta
Should render items with the following contextual information:
And so on.