Map/Set - forked from: Create Polygonal Geometry 

Original code from : http://docs.alternativaplatform.com/display/TDEN/Building+geometry