foursquare/twofishes

Lookup by geonameid

Closed this issue · 1 comments

Have been pouring over the docs/source, but can't seem to find a way to lookup by geonameid. Is this an option? If not, what are some suggestions for the easiest way to add it in/rig it up to my app?

I knew I would discover the solution shortly after I opened an issue. Well for anyone else looking for this the solution can be found here: https://github.com/foursquare/twofishes/blob/master/interface/src/main/thrift/geocoder.thrift#L328

And example is this:

 localhost:8081/?slug=geonameid:2521525