kartaview / openstreetcam.org

The openstreetcam.org web site
MIT License
74 stars 9 forks source link

APIs for obtaining street-view images #284

Closed bhparijat closed 3 years ago

bhparijat commented 3 years ago

Hi, Does OpenStreetCam have any APIs exposed that I could use for obtaining street-view images for lat, long pairs? Thanks

bhparijat commented 3 years ago

Also, how to get the auth key generated?

SviMik commented 3 years ago

Sure, check the documentation here: http://api.openstreetcam.org/api/doc.html I believe List of sequences can be used with its bbTopLeft and bbBottomRight parameters, or Get Nearby Photos seems to be even more precise, although I've never tried that one personally.

bhparijat commented 3 years ago

Does this database have images for most of the latitudes, longitude pairs? I see that it returns { "status": { "apiCode": "600", "apiMessage": " The request has been processed without incidents ", "httpCode": 200, "httpMessage": "Success" }, "currentPageItems": [], "totalFilteredItems": [ "0" ] } for most of the pairs that I have. I use url http://openstreetcam.org/1.0/list/nearby-photos/ and specify lat,lng, radius=500 and username in body.

Am I doing anything wrong?

alex-grab commented 3 years ago

I think username is a filter in that request (retrieving data contributed by a specific user), if you're interested in all imagery available at a lat-lon you should leave it out. Correct me if I'm wrong @chip-grab

ALFURJANI commented 3 years ago

Dear all, We would like to inform you that the OpenStreetMap community of contributors has launched the National street-imagery level project for the whole of Libya. actually we are facing some technical and operating issues with the OpenStreetCam platform, on both; mobile apps and desktops as described below:

alex-grab commented 3 years ago

@ALFURJANI this is probably a separate question from the issue. I see a very limited amount of imagery in Libya like this recording but we don't see any technical issues. What data was uploaded should be available. Can you share more details?

ALFURJANI commented 3 years ago

I'm Sory to ask such a question in this issue, anyway as I asked before the text in the Arabic language appears fragmented and left to right, and during the last seven days we uploaded photos to the OSC platform but the imaging path or sequence can not be visualized on the map! regards

ALFURJANI commented 3 years ago

Arabic language