For Bayesian spatial modeling, GeoBUGS, part of WinBUGS (OpenBUGS) is a widely used tool. The map format used by GeoBUGS differs from the standard formats used in geographical information systems (GIS). The QGIS plugin, maps2WinBUGS, helps the user prepare maps and tabular data for use in GeoBUGS. With this tool, one can obtain adjacency lists, convert maps, and merge back the results of model runs with a source map in QGIS. Through script wizards, users can generate R scripts from their own data (QGIS supported vector format map, attribute data) using different models. © 2010 The Authors.