Skip to main content

MAX_CSV_CELL_CHARACTERS

The most characters a spreadsheet keeps in one cell. Excel cuts a longer cell, which would leave a geometry that is no longer valid JSON, so a geometry over this is left out of the CSV row. The GeoJSON file holds it.

This is a constant exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { MAX_CSV_CELL_CHARACTERS } from "@mapcairn/core";

MAX_CSV_CELL_CHARACTERS = 32767

Source: packages/core/src/layers/saveFeatures.ts:33