Loading problem when fetching geopoints with metadata
Please provide the following information:
- What API you use? (Android, iOS, JS, REST)
- How do you structure your query? Show a sample of how you use Backendless API (do not post entire code listing, we need to know only the information related to Backendless API)
- What result do you get?
- What is the expected result?
Regards,
Mark
-
I am using JS API
-
var geoQuery = {
categories: [“GEOSERVICE_SAMPLE”],
pageSize: 100,
includeMetadata:true
}
return Backendless.Geo.find( geoQuery )
.then(res => {
this.getMarkers(res);
});Here i have some more metedata also
-
Actually i have more that 10000 geo points, due to cloud version i am able to get only 100 maximum, even though i am getting data slowly
-
I need to fetch the data fast (locate geopoints on map)
So what is the actual problem?
Geopoints data getting slowly, it leads more loading time
I need to lessen the loading time
Hello Rajasekhar,
Could you please provide your AppId, and we will investigate the issue more deeper
Thanks, Vlad
FB4CB018-6F5D-7274-FF56-46A6BFAE8300
Check once
I cannot use example from your post because it also includes some function getMarkers
that I have not. But I have tried with cUrl
curl http://api.backendless.com/FB4CB018-6F5D-7274-FF56-46A6BFAE8300/<api-key>/geo/points?categories=events&metaInResponse=true&pageSize=100
and execution time is between 300 ms and 900 ms
If you see this url “https://api.backendless.com/FB4CB018-6F5D-7274-FF56-46A6BFAE8300/5143AA78-2737-C628-FFE3-C69937E8C200/geo/points?categories=EVENTS&pagesize=100&includemetadata=true”, its loading slowly
I have reproduced, we will check what we can do here
I had made export of you application and created internal ticket BKNDLSS-17942
Okay, Thank you for that
Can i get only list of cities from geopoints table?
Okay, Thank you for that
No, you can not
means i can’t get list of cities only?
yes, if you want include metadata then all metadata will be added
did you get solution for issue regarding the geopoints loading issue as above
Not yet. I believe this will not be a very quick fix. We’ll notify you as soon as the issue is resolved
Anton
Okay, Thanks for your info. We need the solution ASAP for mobile app
While i am opening url “https://develop.backendless.com/FB4CB018-6F5D-7274-FF56-46A6BFAE8300/console/geo/rect?offset=0&pagesize=15&includemetadata=true&nwlat=65.38526300544227&nwlon=-66.16385368932231&selat=38.00287478458176&selon=97.66427131067769” in browser tab then i am getting error as " {“code”:9007,“message”:“You are not authorized.”,“errorData”:{}}"