lib/feature-transform.js
function polygonize (str, properties) {
  var coordinates = str.split(' ').map(function (pairStr) {
    return pairStr.split(',').reverse().map(Number);
  });

  return polygon([coordinates], properties);
}
function polygonize (str, properties) {
  var coordinates = str.split(' ').map(function (pairStr) {
    return pairStr.split(',').reverse().map(Number);
  });

  return polygon([coordinates], properties);
}
function polygonize ( str , properties ) { var coordinates = str . split ( ' ' ) . map ( function ( pairStr ) { return pairStr . split ( ',' ) . reverse ( ) . map ( Number ) ; } ) ; return polygon ( [ coordinates ] , properties ) ; }
converts an alert polygon string to a GeoJSON polygon geometry
converts an alert polygon string to a GeoJSON polygon geometry