The function outputs a SpatialPolygonsDataFrame object to be used by Mondrian

sp2Mondrian(SP, file, new_format=TRUE)

## Arguments

SP a SpatialPolygonsDataFrame object file where output is written default TRUE, creates a text data file and a separate map file; the old format put both data sets in a single file - the map file is named by inserting "MAP\_" into the file= argument after the rightmost directory separator (if any)

## References

http://www.theusrus.de/Mondrian/

## Note

At this release, the function writes out a text file with both data and polygon(s) identified as belonging to each row of data.

## Examples

if (FALSE) {
td <- tempdir()
}