UNPKG

flatgeobuf

Version:

A performant binary encoding for geographic data

8 lines (7 loc) 398 B
import type { Feature as GeoJsonFeature } from 'geojson'; import type { Feature } from '../flat-geobuf/feature.js'; import { type IFeature } from '../generic/feature.js'; import type { HeaderMeta } from '../header-meta.js'; export interface IGeoJsonFeature extends IFeature, GeoJsonFeature { } export declare function fromFeature(id: number, feature: Feature, header: HeaderMeta): IGeoJsonFeature;