Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1008306 // openStreetMap_json

JavaX fragment (include)

static Map openStreetMap_json(S query) {
  ret (Map) first(jsonDecodeList(loadPage("http://nominatim.openstreetmap.org/search/" + urlencode(query).replace("+", "%20") + "?format=json&addressdetails=1&limit=1")));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008306
Snippet name: openStreetMap_json
Eternal ID of this version: #1008306/3
Text MD5: b5c9609890d298de75d2172878f0b9ef
Author: stefan
Category: javax / a.i. / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-07 23:44:27
Source code size: 216 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 478 / 483
Version history: 2 change(s)
Referenced in: [show references]