这是我的获取查询
'https://atlas.microsoft.com/search/poi/json?api-version=1.0&subscription-key=keygoesherexxxxxxxx&query=HOSPITAL&limit=7&lat=28.46538&lon=-81.47917&radius=100000'
查询的内容是 HOSPITAL
这与Bing.com的搜索结果是一样的。以下是搜索结果
medical_locations: [
MedicalLocation {
name: 'Doctor Anika Alar MD',
city: 'Orlando',
street_number: '6900',
street_name: 'Turkey Lake Rd',
postal_code: '32819',
url: 'https://rheumatologyorlando.com',
phone: '+(1)-(407)-2093711',
freeform_address: '6900 Turkey Lake Rd, Orlando, FL 32819',
distance: 0.35
},
MedicalLocation {
name: 'Orlando Health Winnie Palmer Center for Maternal Fetal Medicine-Spring Lake',
city: 'Doctor Phillips',
street_number: '7243',
street_name: 'Della Dr',
postal_code: '32819',
url: undefined,
phone: undefined,
freeform_address: '7243 Della Dr, Doctor Phillips, FL 32819',
distance: 0.76
},
MedicalLocation {
name: 'Orlando Health Physicians Urology Group',
city: 'Doctor Phillips',
street_number: '7243',
street_name: 'Della Dr',
postal_code: '32819',
url: undefined,
phone: undefined,
freeform_address: '7243 Della Dr, Doctor Phillips, FL 32819',
distance: 0.76
},
MedicalLocation {
name: 'Doctor Green Relief Orlando Marijuana Doctors',
city: 'Orlando',
street_number: '6000',
street_name: 'Turkey Lake Rd',
postal_code: '32819',
url: 'https://www.drgreenrelief.com/locations/orlando-marijuana-doctors/',
phone: '+(1)-(407)-8016500',
freeform_address: '6000 Turkey Lake Rd, Orlando, FL 32819',
distance: 0.81
},
MedicalLocation {
name: 'Universal Studios Health Services',
city: 'Orlando',
street_number: undefined,
street_name: 'Canal St',
postal_code: '32819',
url: undefined,
phone: undefined,
freeform_address: 'Canal St, Orlando, FL 32819',
distance: 1.02
},
MedicalLocation {
name: 'Clear Sinus-Orlando',
city: 'Doctor Phillips',
street_number: '7601',
street_name: 'Della Dr',
postal_code: '32819',
url: undefined,
phone: '+(1)-(407)-9561522',
freeform_address: '7601 Della Dr, Doctor Phillips, FL 32819',
distance: 1.11
},
MedicalLocation {
name: 'MD & NP 2 Me',
city: 'Doctor Phillips',
street_number: '7380',
street_name: 'W Sand Lake Rd',
postal_code: '32819',
url: 'mdnp2me.com/',
phone: '+(1)-(844)-6367263',
freeform_address: '7380 W Sand Lake Rd, Doctor Phillips, FL 32819',
distance: 1.12
}
]
bing搜索的结果是。
Orlando Health - Dr. P Phillips Hospital
Yelp (85) · Hospital
9400 Turkey Lake Rd, Orlando · (407) 351-8500
Open 24 hours
DIRECTIONS
WEBSITE
Sand Lake Surgery Center
Yelp (5) · Health & Medical
7477 Sandlake Commons Blvd, Orlando · (407) 264-9633
Closed · Opens tomorrow 6 AM
DIRECTIONS
WEBSITE
Arnold Palmer Hospital for Children
Yelp (35) · Hospital
92 W Miller St, Orlando · (407) 649-9111
Open 24 hours
DIRECTIONS
WEBSITE
Orlando Health - Winnie Palmer Hospital for Women & Babies
Yelp (74) · Hospital
83 W Miller St, Orlando · (321) 843-2584
Open 24 hours
DIRECTIONS
WEBSITE
Orlando Health Orlando Regional Medical Center
Yelp (61) · Hospital
52 W Underwood St, Orlando · (321) 841-5111
Open 24 hours
DI
如你所见,Bing.com的结果比Atlas Azure地图搜索更好更准确。从payload响应中,我也看不出有什么更好的数据过滤方法。
从风湿病学到大麻医生,结果中什么都有污染。
我怎样才能在结果中正确搜索医院和或紧急护理诊所,仅此而已?
Azure 地图有大量的 POI 类别,可以用来将结果细化到你感兴趣的特定类别。https:/docs.microsoft.comen-usazureazure-mapssupported-search-categories。
有几个保健和医院相关的类别可供选择。我相信HOSPITAL_POLYCLINIC是更符合您所寻找的类别。
您的查询只返回了前7个结果,最远的结果是1.12英里。最远的结果是1.12英里。然而看你提到的Bing.com结果,第一个结果是超过2.5英里远。