incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rhett Garber <>
Subject Re: designing a GIS app using couchdb
Date Thu, 19 Feb 2009 22:00:54 GMT
On Thu, Feb 19, 2009 at 1:40 PM, Martin Sarsale
<> wrote:
> On Thu, Feb 19, 2009 at 5:35 PM, Rhett Garber <> wrote:
>> On Thu, Feb 19, 2009 at 10:30 AM, Martin Sarsale
>> <> wrote:
>>> Now, I'm not too sure what is the natural id of the Place documents:
>>> the place name is an option, but probably there's going to be more
>>> than one place with the same name. Any hints?
>> I'm a little biased, and this has nothing to do with couchdb,
>> but I might recommend using the Yelp API for your businesses. If you
>> use the Phone number API
>> ( you can a lot
>> of good 'place' metadata as well
>> as a unique id.
> YELP API looks good, but unfortunately (not!) there're other countries
> on earth apart from US and I happen to live in one of those :)
> anyway, using the phone # for ID sounds good, maybe I could add a prefix?

True. It should also support UK and Canada, but that's still a pretty
limited set.

You could also generate some pseudo random id (or let couchdb generate
one) and use
a view and whatever criteria you want to find already created locations.


View raw message