- Get your DMA data into an sqlite file. This sqlite file must contain the county FIPS, the name of the DMA area, and the unique DMA code for that area.
- Create a county sqlite file from a county shapefile that contains county FIPS.
- Join DMA sqlite with a geographic enabled county polygon sqlite file to create a DMA sqlite file that has a geometry column.
- Load the DMA sqlite file into Qgis
- Use the dissolve tool to create the larger dma shapes from the smaller counties (Vector>Geoprocessing Tools>Dissolve)
- The
Input vector layer
is the DMA sqlite file - The
Dissolve Field
is whatever unique ID each DMA has. So all the counties surrounding around Mobile Alabama and Pensacola Florida, for instance, would use the dissolve field that containedMobile, AL-Pensacola, FL
.
- View your new DMA polygons, and save as an sqlite file, in whatever projection you need it in.
Troubleshooting: