Geocode address to location

免费增值
通过 KEPTAGO LTD | 已更新 vor 4 Tagen | Location
人气

9.4 / 10

延迟

558ms

服务等级

100%

Health Check

N/A

返回所有讨论

Endpoint return: Wrong Geo Coordinates

Rapid account: Tpj 728
tpj728
vor 4 Jahren

Hello -

I’m interested in using your Geocoding API, but do you know why the below happened? It looks like it matched, but with a completely different street address. Is there any way I can ensure this pulls the actual input address?

{“type”:“FeatureCollection”,“features”:[{“type”:“Feature”,“geometry”:{“type”:“Point”,“coordinates”:[-117.58216,34.098447]},“properties”:{“housenumber”:“10223”,“street”:“San Nicholas Ct”,“country”:“United States”,“county”:“San Bernardino County”,“datasource”:{“sourcename”:“openstreetmap”,“continent”:“North America”},“country_code”:“us”,“postcode”:“91730”,“state”:“California”,“city”:“Rancho Cucamonga”,“lon”:-117.58216,“lat”:34.098447,"****formatted":“10223 San Nicholas Ct, Rancho Cucamonga, CA 91730, United States of America”,"****address_line1":“10223 San Nicholas Ct”,“address_line2”:“Rancho Cucamonga, CA 91730, United States of America”,“result_type”:“building”,“rank”:{“popularity”:4.2102906373971924,“confidence”:0.09375,“match_type”:“full_match”}}}],“query”:{“text”:“1151 San Nicholas Ct 101 Corona CA 92882”,“parsed”:{“housenumber”:“1151”,“street”:“san nicholas ct 101”,“postcode”:“92882”,“city”:“corona”,“state”:“ca”,“expected_type”:“building”}}}

Thanks.

Rapid account: Geoapify
geoapify Commented vor 2 Jahren

Hi, sorry for the late answer. It looks like the provided address is misspelled. So the API didn’t find the correct result and provided the most possible. However, the confidence of the answer is almost 0.
When you search for “1151 San Nicolas Ct Corona CA 92882”, the result is correct:
{“results”:[{“datasource”:{“sourcename”:“openstreetmap”,“attribution”:“© OpenStreetMap contributors”,“license”:“Open Database License”,“url”:“https://www.openstreetmap.org/copyright"},“housenumber”:“1151”,“street”:"San Nicolas Court”,“city”:“Corona”,“county”:“Riverside County”,“state”:“California”,“postcode”:“92882”,“country”:“United States”,“country_code”:“us”,“lon”:-117.62662704081633,“lat”:33.87371530612245,“state_code”:“CA”,“formatted”:“1151 San Nicolas Court, Corona, CA 92882, United States of America”,“address_line1”:“1151 San Nicolas Court”,“address_line2”:“Corona, CA 92882, United States of America”,“result_type”:“building”,“rank”:{“importance”:0.42099999999999993,“popularity”:3.826735327170377,“confidence”:1,“confidence_city_level”:1,“confidence_street_level”:1,“match_type”:“full_match”},“place_id”:“511bc64da81a685dc059c0e734e7d5ef4040f00102f9017c386f0000000000c00203”}],“query”:{“text”:“1151 San Nicolas Ct Corona CA 92882”,“parsed”:{“housenumber”:“1151”,“street”:“san nicolas ct”,“postcode”:“92882”,“city”:“corona”,“state”:“ca”,“expected_type”:“building”}}}

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论