This looks like a bug. GeoPlanet has zip code children for each of
the counties covered by New York City except Manhattan (New York
County). The Manhattan zip code areas are parented by New York City.
We'll investigate the cause of this issue.
Since New York City appears to have only Manhattan zip code areas
among its children, you may assume that a zip code area parented by
New York City (woeid 2459115) is actually parented by Manhattan (woeid
12589342).
Thanks for bring this issue to our attention!
Eddie
Y! Geo
--- In yws-geo@yahoogroups.com, "bretwalkernu" <bret-walker@...> wrote:
>
> I am trying to develop an application that can take a ZIP code and
> normalize to its parent county (basically, give me a ZIP, and I'll
> find the Admin2).
>
> I've run into a problem with Manhattan ZIP codes (and I'm sure there
> are others).
>
> ZIP code 10027 = WOEID 12761358
> 12761358's Parent is WOEID 2459115 (Town New York)
>
> Why isn't it's parent Manhattan or New York County (WOEID 12589342)
>
> Similarly, New York County (12589342) does not show ZIP codes as
> children, neighbors, ancestors, belongsto, siblings or parent.
>
> It's almost like the Manhattan ZIP codes are not at all related to
> Manhattan. How can this be?
>
> Any info would be greatly appreciated.
>
> Thanks!
>