Optional
layerThe name of the layer to extract (only for formats that can contain multiple layers
such as GeoPackage or TopoJSON). If the input dataset contains multiples layers
and this option is not provided, an error is returned by the toGeoJSON
function.
Optional
rfc7946Whether the returned GeoJSON must be RFC7946 compliant. Default to true.
Optional
writeWhether writing bbox at the Feature and FeatureCollection level. Default to false.
Optional
writeWhether to write NaN/Infinity values (note that some JSON parsers don't support these values since they are not strictly valid JSON). Default to false.
Options for the
toGeoJSON
function.