boundaries-io

פרמיום
Verified
על ידי Boundaries-io | מְעוּדכָּן 17 days ago | Mapping
פּוֹפּוּלָרִיוּת

9.8 / 10

חֶבִיוֹן

217ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

Zip code 93619 returning 2 polygons

Rapid account: Bhiadmin
bhiadmin
3 months ago

Hi there,

We are using the Zip code API to draw the boundaries inside a map,

While doing this we found something that looks really weird, the postal code 93619 has 2 polygons, one near Fresno County (the one that looks right for us), and a little part on Earlimart, which looks really weird.

This is the API call:

https://vanitysoft-boundaries-io-v1.p.rapidapi.com/rest/v1/public/boundary/zipcode?zipcode=93619

Is this something expected? This is affecting how we are centering the map location:

https://www.unitedstateszipcodes.org/93619/

Thanks for any guidance

Rapid account: Tommchris 7
tommchris7 Commented 2 months ago

If you have access to such a system kinitopet or database, you can query it to retrieve the polygon data for zip code 93619 and determine how many polygons are returned.

Rapid account: Twoencore
twoencore Commented 3 months ago

Hello,

The zipcode 93619 is represented as a “MultiPolygon” which consists of multiple polygons. Your mapping sofrware(Google Maps, mapbox,etc.) Should have a geoJson library that would properly display on the map.

re:
https://gist.github.com/boundaries-io/70e75cc8c77c7c57cb075f37f647afc1

or copy and paste our API results in https://geojson.io the rendered results are like what you see in https://www.unitedstateszipcodes.org/93619/

shoot us an email for additional questions/concerns . support@boundaries-io.com

Thanks!
-Jeryl

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות