src/lib/ogr-cmd.js
function shapefileParams (cmd, options) {
  // make sure geometries are still written even if the first is null
  if (options.geometry !== 'NONE') cmd.push('-nlt', options.geometry.toUpperCase())
  cmd.push('-fieldmap', 'identity')
  if (!options.ignoreShpLimit) cmd.push('-lco', '2GB_LIMIT=yes')
  if (options.srs) cmd.push('-t_srs', options.srs)
  return cmd
}
function shapefileParams (cmd, options) {
  // make sure geometries are still written even if the first is null
  if (options.geometry !== 'NONE') cmd.push('-nlt', options.geometry.toUpperCase())
  cmd.push('-fieldmap', 'identity')
  if (!options.ignoreShpLimit) cmd.push('-lco', '2GB_LIMIT=yes')
  if (options.srs) cmd.push('-t_srs', options.srs)
  return cmd
}
Add parameters specific to a shapefile export

@param {string} cmd - an array of OGR command parts to modify
@param {object} options - may contain a wkid or srs
@param {function} callback - calls back back with a modified command array or an error
@private