Support Topics Documentation Slack YouTube Blog

I am getting loading problem getting all geopoints data

in-progress

(Rajasekhar Puligadda) #3
  1. I am using JS API

  2. 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

  3. 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

  4. I need to fetch the data fast (locate geopoints on map)


(Mark Piller) #4

So what is the actual problem?


(Rajasekhar Puligadda) #5

Geopoints data getting slowly, it leads more loading time

I need to lessen the loading time


(Vladimir Upirov) #6

Hello Rajasekhar,

Could you please provide your AppId, and we will investigate the issue more deeper

Thanks, Vlad


(Rajasekhar Puligadda) #7

FB4CB018-6F5D-7274-FF56-46A6BFAE8300

Check once


(Sergey Kukurudzyak) #8

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


Geoquery metadata
(Rajasekhar Puligadda) #9

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


(Sergey Kukurudzyak) #10

I have reproduced, we will check what we can do here


(Sergey Kukurudzyak) #11

I had made export of you application and created internal ticket BKNDLSS-17942


(Rajasekhar Puligadda) #12

Okay, Thank you for that


(Rajasekhar Puligadda) #13

Can i get only list of cities from geopoints table?


(Sergey Kukurudzyak) #14

Okay, Thank you for that

No, you can not


(Rajasekhar Puligadda) #15

means i can’t get list of cities only?


(Sergey Kukurudzyak) #16

yes, if you want include metadata then all metadata will be added


(Rajasekhar Puligadda) #17

did you get solution for issue regarding the geopoints loading issue as above


(Anton Govorushkin) #18

Hi @rajasekhar_puligadda

Not yet. I believe this will not be a very quick fix. We’ll notify you as soon as the issue is resolved

Anton


(Rajasekhar Puligadda) #19

Okay, Thanks for your info. We need the solution ASAP for mobile app


(Rajasekhar Puligadda) #20

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”:{}}"


(Mark Piller) #21

That’s a console URL and not the API which we describe in the documentation


(Rajasekhar Puligadda) #22

Okay, As discussed above, i am getting very slower response while loading geoclustring with 10000 points