Skip to main content
Version: 7.4.0

removeBbox

Description

Recursively removes bounding boxes from a GeoJSON object.

This function mutates the input GeoJSON object.

Parameters

NameTypeDescription
geojsonGeoJSONGeoJSON object whose bounding boxes should be removed

Returns

void

Installation

$ npm install @turf/helpers

import { removeBbox } from "@turf/helpers";
const result = removeBbox(...);
$ npm install @turf/turf

import * as turf from "@turf/turf";
const result = turf.removeBbox(...);