Again, Nielsen ratings does not determine what local stations are in what market.
Well, the ratings may not per se - but Nielsen themselves actually DO & set the (physical) boundary lines:
http://www.newportmedia.com/DMA-markets.html
The map presented above outlines 210 television markets in the United States. We structure these territories according to the "designated market areas" (DMAs) established by Nielson Media Research.