coordinates2statistics Question

67 views
Skip to first unread message

vi...@calsmart.com

unread,
Apr 29, 2015, 1:34:11 PM4/29/15
to dstk-...@googlegroups.com
Hi,
I have a question for the Group regarding coordinates2statistics.

What is the correct way to make a cURL call to coordinates2statistics using a JSON encoded array of objects containing two keys, one for lat and one for lng?  
I have it working fine for a single string, but cannot get multiple locations to work.
I am using curllib/c++ and a local VM  of  the DSTK if that helps...


thank you!

Vito \o/

vi...@calsmart.com

unread,
Apr 29, 2015, 2:56:01 PM4/29/15
to dstk-...@googlegroups.com
I answered my own question as I found the post "coordinates2politics: multiple coords" and it works for coordinates2statistics too;
--[["37.769456","-122.429128"],["37.769456","-122.429128"]]

But next question is how to limit all to just one statistic?  THis did not work:
[["37.769456","-122.429128"],["37.769456","-122.429128"]],elevation

Vito

Frank Rollpin

unread,
Feb 3, 2017, 3:30:28 PM2/3/17
to dstk-users
Vito, I am just wondering if you found a solution to that problem?
Reply all
Reply to author
Forward
0 new messages