Think of a zip code as a polygon on a map.  A centroid point is what
is considered to be the center of that polygon.  However, since zip
code boundaries can be of all shares and sizes, it's difficult to
determine exactly where the centroid point can be without a bit of
work.

As far as a geocoded databases of zip codes, you could probably search
one out on Google, or make one yourself using the API Geocoder to pull
the lat/long Google considers the centroid point.

On Feb 27, 3:51 pm, ajstorm <[email protected]> wrote:
> I'm not sure. Whats a centroid point. I think we'd want to do the
> "contained within the radius" one. but the thing is I not looking to
> use any visual maps. I just need the zip codes and then figure out how
> to do the radius thing for the search function. Where can I get the
> geocoded database of zipcodes. Does it cost any thing?
>
> Thank you very much for your help.
>
> On Feb 27, 3:26 pm, "Maps.Huge.Info (Google Maps API Guru)"
>
> <[email protected]> wrote:
> > You'll first have to decide on what you mean by that, three
> > possibilities come to mind:
>
> > 1. That "touch" the radius.
> > 2. That are "contained within" the radius.
> > 3. Where the centroid point is contained within the radius.
>
> > All three of these methods require a geocoded database of zip codes.
> > The first two require polygon coordinates the third only requires the
> > centroid point.
>
> > To actually do the search, you'll need to have a spatially aware
> > database and run an SQL query. Technically, it's not challenging but
> > can be daunting if you haven't done this type of thing before.
>
> > -John Coryat
>
> >http://maps.huge.info
>
> >http://www.usnaviguide.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to