开发者

Obtaining automatically the Foursquare VenueId of many POIs

In my iphone app, I've the latitude and longitude of hundred of places represented in a MapKit. Is there any automatic way of getting the 4sq venue ids of them us开发者_运维百科ing the api? I don't want to do that task manually.

Thanks


There is no one-to-one mapping between annotations in the MapKit and foursquare venues. You would have to map these somehow yourself, whether amnually or by som fancy algorithm.

You should however be careful by mapping a "place" to a foursquare venue - how do you know it's the same just because it's within a few meters? How do you obtain these "places"?

You can see the Foursquare API documentation here in case you decide to map these using some form of script or code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜