0

Here is my get query

'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'

The query is HOSPITAL which is the same with the Bing.com search. Here are the results

 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
    }
  ]

The results from the bing search are:

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

As you see the Bing.com results are way better and accurate compared to the atlas Azure map search. I can't really see anything from the payload response to filter the data any better either.

There is everything polluted in the results from rheumatology to marijuana doctors.

How can I properly search for hospitals and or urgent care clinics in the results and that's all?

4

1 回答 1

0

Azure Maps 有大量 POI 类别,可用于将结果细化为您感兴趣的特定类别:https ://docs.microsoft.com/en-us/azure/azure-maps/supported-search-类别

有多种医疗保健和医院相关类别可供选择。我相信 HOSPITAL_POLYCLINIC 是更符合您正在寻找的类别。

您的查询仅返回前 7 个结果。最远的结果是 1.12 英里。但是查看您提到的 Bing.com 结果,第一个结果是 2.5 英里以外。

于 2020-05-26T18:09:26.697 回答