These are chat archives for ushahidi/Community

19th
Aug 2018
nishadhka
@nishadhka
Aug 19 2018 10:14
Requesting experts on Ushahidi to work on Kerala Flood rescue coordination survey, pls ping here keralarescue.slack.com , the running ushahidi instance is here https://volunteers.keralarescue.in, it will be much help, thank you
nishadhka
@nishadhka
Aug 19 2018 11:18
@rowasc how to get the map.json and values.json for a typical survey
Romina Suarez
@rowasc
Aug 19 2018 13:58
@nishadhka looking up an example now.
syamkumar
@syam3526
Aug 19 2018 14:32
is some ushahidi staff online here
urgent please respond
Romina Suarez
@rowasc
Aug 19 2018 14:33
@nishadhka
  • To get the survey import working now, can you try modifying the php executing limit temporarily so you can do the import right now? It's going to be easier and faster than using the CLI importer and it'll give you more guidance step by step . You can reset it back after you're done with the import.
syamkumar
@syam3526
Aug 19 2018 14:36
@/all
Romina Suarez
@rowasc
Aug 19 2018 14:36
I'm here for another hour or so, @syam3526 . How can I help?
nishadhka
@nishadhka
Aug 19 2018 14:39
thank you very much
okay
https://volunteers.keralarescue.in this is the insatnce
can I please DM you
Romina Suarez
@rowasc
Aug 19 2018 14:40
sure @nishadhka .
Sanjay Bhangar
@batpad
Aug 19 2018 15:32
@rowasc sorry to bug you a Sunday - would you be able to point to any links / documentation / examples on using the CLI importer?
@rowasc never mind - getting it off @nishadhka :-)
nishadhka
@nishadhka
Aug 19 2018 15:39
@batpad share the how to do right away with you
sharing*
Sanjay Bhangar
@batpad
Aug 19 2018 16:12
@nishadhka @rowasc not sure how to map the latitude and longitude fields .. the don't seem to have keys like the other form fields .. would you know anything about that ?
Ushbot
@ushbot
Aug 19 2018 16:33
[Angela Oduor Lungati, Ushahidi] Hey Syam and team. Prioritizing your request. Thanks for flagging
Sanjay Bhangar
@batpad
Aug 19 2018 18:03
Is there anyone around who has any experience using the import function of the CLI? We are trying something like ./bin/ushahidi import --type CSV --file /tmp/data.csv --map /tmp/map.json --values /tmp/values.json but it needs an "action" parameter and we are not sure what that is - we tried run, but also resulted in failure.
Ushbot
@ushbot
Aug 19 2018 19:25
[Angela Oduor Lungati, Ushahidi] @batpad (just in case you haven't seen these yet) - our api docs, incase they're helpful http://preview.ushahidi.com/platform/develop/api/index.html
Ushbot
@ushbot
Aug 19 2018 22:33
[Robbie Mackay, Ushahidi] @batpad did you make any progress with the CLI importer?
[Robbie Mackay, Ushahidi] I think @rowasc is right that increasing the php execution limit will be the faster way to get imports working. But I can probably help with the CLI if needed
[Robbie Mackay, Ushahidi] However I'm not actually confident if that import is really working, since we only use the API based import in production
[Robbie Mackay, Ushahidi] Can you share what your values and map json files look like? And maybe 1 or 2 lines of the CSV?