/* * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ import { CoordinateSystem } from "../internal/coordinate-system.js"; //#region src/coordinates/latlon/degrees-minutes-seconds/system.d.ts /** * Degrees Minutes Seconds coordinate system implementation. * * Provides parsing, conversion, and formatting for coordinates in degrees minutes seconds notation. * Coordinates are expressed as integer degrees, integer minutes, and decimal seconds (e.g., 37° 46' 29.64″ N). * * @property name - Human-readable name of the coordinate system. * @property parse - Parses degrees minutes seconds coordinate strings. * @property toFloat - Converts parsed coordinate components to floating point numbers. * @property toFormat - Formats numeric coordinates back to degrees minutes seconds string. * * @example * ```typescript * // Parse a coordinate string * const [coords, errors] = systemDegreesMinutesSeconds.parse('37° 46' 29.64″ N / 122° 25' 9.84″ W', 'LATLON'); * ``` * * @example * ```typescript * // Convert to float * const lat = systemDegreesMinutesSeconds.toFloat(['37', '46', '29.64', 'N']); * // 37.7749 * ``` * * @example * ```typescript * // Format to string * const formatted = systemDegreesMinutesSeconds.toFormat('LATLON', [37.7749, -122.4194]); * // '37 46 29.64 N / 122 25 9.84 W' * ``` */ declare const systemDegreesMinutesSeconds: CoordinateSystem; //#endregion export { systemDegreesMinutesSeconds }; //# sourceMappingURL=system.d.ts.map