Skip to main content

ShapeImportOptions

Options for parseShapeFile.

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { ShapeImportOptions } from "@mapcairn/core";

interface ShapeImportOptions

Properties​

wktAxisOrder​

readonly wktAxisOrder?: WktAxisOrder;

The order of the two numbers in each WKT position: lng-lat (the default, as the standard has it) or lat-lng, which some systems write. GeoJSON and the draw tool's CSV are always longitude then latitude, so this does not touch them.

See also​

Source: packages/core/src/draw/import.ts:104