/** * The point layers of the USGS National Map structures MapServer, one entry per layer the * fetcher pulls, the adapter trains on, and the structures layer writes into `structures.db`. * * The service publishes every layer twice: layers 0–34 are the `Labels` group * and serve the same rows as the `Features` layers 35 ids above them. * The table lists the `Features` layers. * * The group layers (35, 36, 48, 52, 55, 59, 68) hold no features. * * Each layer is queried by its own id rather than by feature code, because a feature * code isn't unique to a layer: Campgrounds (60) and Shelters (63) are both FCODE 82008. * * Layer 69, `Alaska Pipeline`, is left out: it holds polylines with no name, address * or feature-level identifier, so it is neither a venue nor an address. */ /** * One point layer of the structures MapServer. */ export interface USGSStructureLayer { /** * The layer's id in the MapServer's `Features` group. */ layerID: number; /** * A stable identifier for the layer, stored on every fetched feature as `layer`. */ slug: string; /** * The layer's name as the service states it. */ name: string; /** * The `@mailwoman/poi-taxonomy` category id a feature of the layer is filed under. */ poiCategory: string; /** * Whether the adapter emits venue-and-address training rows for the layer. * * A layer whose features have no street address (picnic areas, cabins, trailheads) * is a retrieval layer only: its few addressed features describe the access road * of a remote site rather than a delivery address. */ trains: boolean; } /** * Every point layer of the structures MapServer, in layer-id order. */ export declare const USGS_STRUCTURE_LAYERS: readonly USGSStructureLayer[]; /** * The layer with id `layerID`. * * @throws When the table holds no such layer, so a feature from an unlisted layer * is never filed under a guessed category. */ export declare function usgsStructureLayer(layerID: number): USGSStructureLayer; //# sourceMappingURL=layers.d.ts.map