whosonfirst / whosonfirst-www-spelunker

A simple Flask-based spelunker for poking around Who's On First data
BSD 3-Clause "New" or "Revised" License
7 stars 9 forks source link

spelunker view does not match raw geojson data #129

Closed missinglink closed 7 years ago

missinglink commented 7 years ago

heya,

I was looking at this record today https://whosonfirst.mapzen.com/spelunker/id/890413117/ and the spelunker view shows:

Hierarchy
the continent of Oceania
the country of France
the dependency of New Caledonia
the region of Sud

but when I look at the raw geojson, it shows:

"wof:hierarchy": [],

it's super confusing when using the spelunker for debugging, I expected the web view to be the same as the data and so ended up wasting a bunch of time chasing my own tail :(

thisisaaronland commented 7 years ago

Closing because this is basically a dupe of issue #128, as in it's an ES indexing issue.

thisisaaronland commented 7 years ago

So many ways to hate Elasticsearch...

'{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"failed to parse [mz:min_zoom]"}],"type":"mapper_parsing_exception","reason":"failed to parse [\
mz:min_zoom]","caused_by":{"type":"number_format_exception","reason":"For input string: \\"6.0\\""}},"status":400}'