node.js - openstreet map using node-geocoder sending garbage value -
node.js - openstreet map using node-geocoder sending garbage value -
geocoder module nail open street map seems returning garbage value
below url , request , response headers
url parameters
{"host":"nominatim.openstreetmap.org","path":"/search?format=json&addressdetails=1&q=adyar"}
response headers
{"date":"fri, 20 jun 2014 06:48:57 gmt","server":"apache/2.2.22 (ubuntu)","content-location":"reverse.php","vary":"negotiate,accept","tcn":"choice","x-powered-by":"php/5.3.10-1ubuntu3.11","access-control-allow-methods":"options,get","access-control-max-age":"8640000","access-control-allow-origin":"*","connection":"close","transfer-encoding":"chunked","content-type":"application/json; charset=utf-8"}
below response i'm receiving
[ { latitude: '25.0706658', longitude: '34.2062962', country: '٠صر (egypt)', city: undefined, zipcode: undefined, streetname: '212', streetnumber: undefined, countrycode: 'eg', state: 'ا٠بØر ا٠أØ٠٠ر', statecode: undefined } ]
i'm receiving garbage values above dont know i'm going wrong.any help much appreciated
that's not garbage, need decode correctly.
node.js garbage-collection geocoding openstreetmap
Comments
Post a Comment