RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

Cannot import data for Geolocation queries

According to the docs I need to have a number column as shown at: http://screencast.com/t/CzRNwKh9 in order to do a geo query.

When I attempt to import a conforming csv file, I get this error: http://screencast.com/t/wvcnjmpynhCd

I believe my csv header for the last column (LongLat) shown at http://screencast.com/t/GeiUqwYgQGj and data shown at http://screencast.com/t/j6NpQ7P3 are correct.

What am I doing wrong? Thanks.

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

Cannot import data for Geolocation queries

UPDATE: Priority support ticket #13810 created which hopefully will get some response. If so, I will update solution here.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Cannot import data for Geolocation queries

Answered personally

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

Cannot import data for Geolocation queries

No you didn't - you responded but did not answer. Your totally useless "answer" was:

Hello,

It looks like you set type = number for the array value

Regards,

If you read my initial support request, I said that's what I did because that's what the docs say I should do. My head spins from going around in circles.

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

Cannot import data for Geolocation queries

UPDATE: There was a bug in the docs that showed field type "number" rather than the correct "geopoint" (all lower case). I believe Appery has already corrected it. The only minor confusion I have right now is whether an index should be created for best performance.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Cannot import data for Geolocation queries

Hello Robert,

Doc is corrected.
Thank you for update.

Return to “Issues”