whosonfirst / go-whosonfirst-spelunker-httpd

Go package implementing an HTTP server for interacting with implementations of the whosonfirst/go-whosonfirst-spelunker.Spelunker interface.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

names_prefered counts of 0 #17

Closed stepps00 closed 4 months ago

stepps00 commented 4 months ago

The names_prefered counts value of records always seems to be 0, example record: https://spelunker.whosonfirst.org/id/85633345/

There are preferred name properties in this record.. my guess is this has to do with preferred v prefered.

thisisaaronland commented 4 months ago

Yes, this is a bug here: https://github.com/whosonfirst/go-whosonfirst-spelunker/blob/main/document/names.go#L20

We're already due for a re-indexing because of issue #7 so we'll just add this to the queue.

straup commented 4 months ago

Fixed with re-indexing (and changes to whosonfirst/go-whosonfirst-spelunker).