/** * GeoJSON conversion from S-101 dataset. * * Resolves feature geometry by following spatial record references. * Includes S-101-specific properties and S-57 OBJL mapping for * compatibility with existing S-52 renderers. */ import type { S101Dataset } from './types.js'; export interface GeoJSONFeatureCollection { type: 'FeatureCollection'; features: GeoJSONFeature[]; } export interface GeoJSONFeature { type: 'Feature'; geometry: GeoJSONGeometry | null; properties: Record; } export type GeoJSONGeometry = { type: 'Point'; coordinates: [number, number]; } | { type: 'MultiPoint'; coordinates: [number, number][]; } | { type: 'LineString'; coordinates: [number, number][]; } | { type: 'Polygon'; coordinates: [number, number][][]; } | { type: 'GeometryCollection'; geometries: GeoJSONGeometry[]; }; /** * Convert an S-101 dataset to GeoJSON FeatureCollection. * * Properties include both S-101 feature type info and a mapped S-57 OBJL * code (when available) for rendering with S-52 symbology. */ export declare function toGeoJSON(dataset: S101Dataset, featureTypeFilter?: number[]): GeoJSONFeatureCollection; //# sourceMappingURL=geojson.d.ts.map