@jjlmoya/utils-drones 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/package.json +61 -0
  2. package/src/category/i18n/en.ts +107 -0
  3. package/src/category/i18n/es.ts +106 -0
  4. package/src/category/i18n/fr.ts +107 -0
  5. package/src/category/index.ts +15 -0
  6. package/src/category/seo.astro +92 -0
  7. package/src/components/PreviewNavSidebar.astro +116 -0
  8. package/src/components/PreviewToolbar.astro +143 -0
  9. package/src/data.ts +11 -0
  10. package/src/env.d.ts +5 -0
  11. package/src/index.ts +22 -0
  12. package/src/layouts/PreviewLayout.astro +117 -0
  13. package/src/pages/[locale]/[slug].astro +146 -0
  14. package/src/pages/[locale].astro +251 -0
  15. package/src/pages/index.astro +4 -0
  16. package/src/tests/faq_count.test.ts +19 -0
  17. package/src/tests/locale_completeness.test.ts +42 -0
  18. package/src/tests/mocks/astro_mock.js +2 -0
  19. package/src/tests/no_h1_in_components.test.ts +48 -0
  20. package/src/tests/seo_length.test.ts +22 -0
  21. package/src/tests/seo_section_types.test.ts +75 -0
  22. package/src/tests/tool_validation.test.ts +17 -0
  23. package/src/tool/antenna-length-calculator/AntennaLengthCalculator.css +684 -0
  24. package/src/tool/antenna-length-calculator/bibliography.astro +14 -0
  25. package/src/tool/antenna-length-calculator/component.astro +360 -0
  26. package/src/tool/antenna-length-calculator/i18n/en.ts +204 -0
  27. package/src/tool/antenna-length-calculator/i18n/es.ts +204 -0
  28. package/src/tool/antenna-length-calculator/i18n/fr.ts +204 -0
  29. package/src/tool/antenna-length-calculator/index.ts +27 -0
  30. package/src/tool/antenna-length-calculator/seo.astro +39 -0
  31. package/src/tool/drone-flight-time/FlightTimeCalculator.css +363 -0
  32. package/src/tool/drone-flight-time/bibliography.astro +14 -0
  33. package/src/tool/drone-flight-time/component.astro +262 -0
  34. package/src/tool/drone-flight-time/components/AutonomyChart.astro +13 -0
  35. package/src/tool/drone-flight-time/components/BatterySpecs.astro +46 -0
  36. package/src/tool/drone-flight-time/components/ConsumptionStats.astro +33 -0
  37. package/src/tool/drone-flight-time/components/FlightDashboard.astro +33 -0
  38. package/src/tool/drone-flight-time/i18n/en.ts +200 -0
  39. package/src/tool/drone-flight-time/i18n/es.ts +200 -0
  40. package/src/tool/drone-flight-time/i18n/fr.ts +200 -0
  41. package/src/tool/drone-flight-time/index.ts +27 -0
  42. package/src/tool/drone-flight-time/seo.astro +31 -0
  43. package/src/tool/gps-coordinates-converter/GpsCoordinatesConverter.css +310 -0
  44. package/src/tool/gps-coordinates-converter/bibliography.astro +14 -0
  45. package/src/tool/gps-coordinates-converter/component.astro +355 -0
  46. package/src/tool/gps-coordinates-converter/components/GpsHistory.astro +36 -0
  47. package/src/tool/gps-coordinates-converter/components/GpsInputs.astro +92 -0
  48. package/src/tool/gps-coordinates-converter/components/GpsMap.astro +18 -0
  49. package/src/tool/gps-coordinates-converter/components/GpsResults.astro +50 -0
  50. package/src/tool/gps-coordinates-converter/i18n/en.ts +201 -0
  51. package/src/tool/gps-coordinates-converter/i18n/es.ts +201 -0
  52. package/src/tool/gps-coordinates-converter/i18n/fr.ts +201 -0
  53. package/src/tool/gps-coordinates-converter/index.ts +27 -0
  54. package/src/tool/gps-coordinates-converter/seo.astro +39 -0
  55. package/src/tools.ts +16 -0
  56. package/src/types.ts +72 -0
@@ -0,0 +1,201 @@
1
+ import type { GpsCoordinatesConverterLocaleContent } from '../index';
2
+
3
+ const slug = 'gps-coordinates-converter';
4
+ const title = 'GPS Coordinates Converter | Decimal to DMS Online Free';
5
+ const description = 'Convert GPS coordinates from Decimal to Degrees, Minutes, and Seconds (DMS) instantly. Visual tool with map for drones, sailing, and geolocation.';
6
+
7
+ export const content: GpsCoordinatesConverterLocaleContent = {
8
+ slug,
9
+ title,
10
+ description,
11
+ faqTitle: 'Frequently Asked Questions',
12
+ bibliographyTitle: 'Bibliographic References',
13
+ ui: {
14
+ faqTitle: 'Frequently Asked Questions',
15
+ bibliographyTitle: 'Bibliographic References',
16
+ decimalDD: 'Decimal (DD)',
17
+ degreesGMS: 'Degrees (DMS)',
18
+ useLocation: 'Use my location',
19
+ lat: 'Latitude',
20
+ lng: 'Longitude',
21
+ latGMS: 'Latitude (DMS)',
22
+ lngGMS: 'Longitude (DMS)',
23
+ gmsTraditional: 'Traditional DMS',
24
+ nauticalDM: 'Degrees & Dec. Min. (Nautical)',
25
+ googleMapsFormat: 'Google Maps Format',
26
+ copy: 'Copy',
27
+ copied: 'Copied!',
28
+ recentHistory: 'Recent History',
29
+ clear: 'Clear',
30
+ noHistory: 'No recent conversions.',
31
+ load: 'Load',
32
+ delete: 'Delete',
33
+ },
34
+ seo: [
35
+ {
36
+ type: 'title',
37
+ text: 'GPS Coordinates Converter: From Decimal to Degrees, Minutes, and Seconds',
38
+ level: 2,
39
+ },
40
+ {
41
+ type: 'paragraph',
42
+ html: 'Geolocation is the cornerstone of modern navigation. From FPV drone flight to professional sailing, the ability to interpret and convert coordinates between different formats is an essential skill. Our <strong>GPS coordinates calculator</strong> is designed to simplify this process, allowing a seamless transition between Decimal Degrees (DD), the standard format for Google Maps, and Degrees, Minutes, and Seconds (DMS), the universal language of classic cartography.',
43
+ },
44
+ {
45
+ type: 'title',
46
+ text: 'Understanding Coordinate Formats',
47
+ level: 3,
48
+ },
49
+ {
50
+ type: 'paragraph',
51
+ html: 'Although a position on the Earth\'s surface is unique, there are several ways to express it mathematically. Each sector has adopted a standard based on its tools and historical needs. The two main systems we handle in this tool are the pillars of current geolocation.',
52
+ },
53
+ {
54
+ type: 'paragraph',
55
+ html: '<strong>1. Decimal Degrees (DD):</strong> This is the most widely used format in digital environments, computer science, and web APIs. It represents latitude and longitude as real numbers. For example, the center of London is near 51.5074° N. The simplicity of this format makes it ideal for direct mathematical calculations in drone GPS and telemetry software.',
56
+ },
57
+ {
58
+ type: 'paragraph',
59
+ html: '<strong>2. Degrees, Minutes, and Seconds (DMS):</strong> This is the traditional format inherited from astronomy and ancient navigation. It divides each degree into 60 minutes and each minute into 60 seconds. It is the standard used in physical nautical charts and in many civil aviation equipment. Seeing a coordinate like 51° 30\' 26" N provides a sense of scale and historical precision that decimals sometimes omit.',
60
+ },
61
+ {
62
+ type: 'title',
63
+ text: 'The Importance of Conversion in the Drone Sector',
64
+ level: 3,
65
+ },
66
+ {
67
+ type: 'paragraph',
68
+ html: 'For a drone pilot, precision is non-negotiable. Many mission plans are designed in Google Earth or Google Maps using decimals, but when transferring those points to an old Ground Control Station (GCS) or setting a "Home Point" manually on certain radio transmitters, the DMS format may be required.',
69
+ },
70
+ {
71
+ type: 'list',
72
+ items: [
73
+ 'Mission Planning: Cross-referencing data from mobile flight apps with official topographic maps.',
74
+ 'Search and Rescue: Communicating a target\'s position to emergency teams using radio frequency and DMS coordinates.',
75
+ 'Photogrammetry: Verifying EXIF metadata of images captured by the drone\'s sensor.',
76
+ 'Long Range FPV Navigation: Configuring directional antennas based on exact coordinates of prominent geographic points.',
77
+ ],
78
+ },
79
+ {
80
+ type: 'title',
81
+ text: 'How to Perform Manual Conversion',
82
+ level: 3,
83
+ },
84
+ {
85
+ type: 'paragraph',
86
+ html: 'While our tool automates the calculation for you, understanding the underlying mathematics is fundamental for any navigator. The process is based on the sexagesimal system (base 60).',
87
+ },
88
+ {
89
+ type: 'paragraph',
90
+ html: 'To convert from <strong>Decimal to DMS</strong>, we take the integer part as the degrees. The remaining decimal part is multiplied by 60 to get the minutes. From that result, the remaining decimal part is multiplied again by 60 to get the final seconds. It is a cascading process that ensures no fraction of precision is lost along the way.',
91
+ },
92
+ {
93
+ type: 'paragraph',
94
+ html: 'Inversely, from <strong>DMS to Decimal</strong>, we divide the seconds by 3600 and the minutes by 60, adding both results to the whole degrees. It is vital to remember that S (South) latitudes and W (West) longitudes are represented with a negative sign in the decimal system to maintain consistency in the Cartesian coordinate axis.',
95
+ },
96
+ {
97
+ type: 'title',
98
+ text: 'Decimal Precision',
99
+ level: 3,
100
+ },
101
+ {
102
+ type: 'paragraph',
103
+ html: 'Five decimal places in a DD coordinate offer a precision of approximately 1.1 meters at the equator. Six decimal places bring that precision down to about 11 centimeters. For most commercial drone uses, 6 decimal places are the gold standard.',
104
+ },
105
+ {
106
+ type: 'title',
107
+ text: 'Latitude and Longitude: The Axes of the Earth',
108
+ level: 3,
109
+ },
110
+ {
111
+ type: 'paragraph',
112
+ html: '<strong>Latitude</strong> measures the distance north or south of the Equator. Its values range from 0° at the Equator to 90° at the poles. It is the "Y" axis of our global map. Mistaking an N latitude for an S latitude would instantly transport you to the opposite hemisphere, a critical error that our tool helps avoid through visual validation on the map.',
113
+ },
114
+ {
115
+ type: 'paragraph',
116
+ html: '<strong>Longitude</strong> measures the distance east or west of the Greenwich Meridian. Its values go from 0° to 180°. It is the "X" axis. The combination of both points creates a unique grid that allows any object to be identified, from a square centimeter of forest to the summit of Everest, with total accuracy.',
117
+ },
118
+ {
119
+ type: 'title',
120
+ text: 'The Nautical Format: Decimal Degrees and Minutes',
121
+ level: 3,
122
+ },
123
+ {
124
+ type: 'paragraph',
125
+ html: 'There is a hybrid format very popular in the marine and nautical community: Decimal Degrees and Minutes (DM). In this system, whole degrees are kept but the rest is expressed as minutes with decimals, omitting seconds. Example: 51° 30.443\' N.',
126
+ },
127
+ {
128
+ type: 'paragraph',
129
+ html: 'Our calculator also offers this result, as many old and modern nautical GPS receivers (like handheld Garmin units used for hiking) are configured by default with this nomenclature. Having this conversion at hand avoids dangerous confusion during real-time navigation.',
130
+ },
131
+ {
132
+ type: 'title',
133
+ text: 'Datum and Ellipsoids',
134
+ level: 3,
135
+ },
136
+ {
137
+ type: 'paragraph',
138
+ html: 'Almost all modern GPS uses the WGS84 standard. Our tool assumes this datum by default. If you are using very old topographic plans (pre-1980), you might find slight deviations of a few meters due to how the Earth\'s curvature was modeled at that time.',
139
+ },
140
+ {
141
+ type: 'title',
142
+ text: 'History Usage and Privacy',
143
+ level: 3,
144
+ },
145
+ {
146
+ type: 'paragraph',
147
+ html: 'We understand that a pilot often works with multiple points of interest (POIs) in a single session. Therefore, we have implemented a local history system. Your last 5 conversions are stored in your browser\'s memory (localStorage), allowing you to switch between takeoff and landing points without re-entering data.',
148
+ },
149
+ {
150
+ type: 'paragraph',
151
+ html: 'This process happens entirely on your device. No coordinate is sent to external servers, ensuring <strong>total privacy</strong> for your flight locations. This is particularly relevant for professionals working in restricted or sensitive areas.',
152
+ },
153
+ {
154
+ type: 'title',
155
+ text: 'Tips for Successful Geolocation',
156
+ level: 3,
157
+ },
158
+ {
159
+ type: 'paragraph',
160
+ html: '<strong>Visual verification:</strong> Always use the integrated mini-map to confirm the "pin" falls where you expect. A common mistake is swapping Latitude and Longitude, which usually places the point in the middle of the ocean or on the wrong continent.',
161
+ },
162
+ {
163
+ type: 'paragraph',
164
+ html: '<strong>Watch the signs:</strong> If you use DD, remember that West (W) is negative. In New York (-74.00), forgetting the minus sign would place you in central Asia instead of the USA.',
165
+ },
166
+ {
167
+ type: 'paragraph',
168
+ html: 'In summary, mastering coordinates is mastering your environment. Whether you are configuring your drone\'s Failsafe or plotting a maritime navigation route, our tool is here to ensure that every degree, minute, and second counts. Explore the world with the precision your missions deserve!',
169
+ },
170
+ ],
171
+ faq: [
172
+ {
173
+ question: 'What is the difference between DD and DMS?',
174
+ answer: 'DD (Decimal Degrees) uses a single number with decimals (e.g., 51.50). DMS (Degrees, Minutes, Seconds) divides the degree into sexagesimal fractions (e.g., 51° 30\' 0").',
175
+ },
176
+ {
177
+ question: 'Why are negative coordinates used?',
178
+ answer: 'In the Decimal system (DD), latitudes south of the Equator and longitudes west of Greenwich are indicated with a negative sign to facilitate mathematical calculations.',
179
+ },
180
+ {
181
+ question: 'How much precision do I lose when converting?',
182
+ answer: 'Our tool uses double-precision floating point. With 6 decimals in DD, the precision is about 11 centimeters, which is more than enough for drones and civil navigation.',
183
+ },
184
+ {
185
+ question: 'Does this tool work offline?',
186
+ answer: 'Yes, once the page is loaded, all conversion logic is local (client-side). Only the map requires a connection to download new tiles.',
187
+ },
188
+ ],
189
+ bibliography: [
190
+ {
191
+ name: 'WGS 84 (World Geodetic System 1984): The global technical standard for mapping and GPS.',
192
+ url: 'https://en.wikipedia.org/wiki/World_Geodetic_System',
193
+ },
194
+ {
195
+ name: 'USGS: Using GPS and Coordinate Systems.',
196
+ url: 'https://www.usgs.gov/faqs/how-do-i-find-latitude-and-longitude-a-location',
197
+ },
198
+ ],
199
+ howTo: [],
200
+ schemas: [],
201
+ };
@@ -0,0 +1,201 @@
1
+ import type { GpsCoordinatesConverterLocaleContent } from '../index';
2
+
3
+ const slug = 'conversor-coordenadas-gps';
4
+ const title = 'Conversor Coordenadas GPS | Decimal a GMS Online Gratis';
5
+ const description = 'Convierte coordenadas GPS de Decimal a Grados, Minutos y Segundos (GMS) al instante. Herramienta visual con mapa para drones, náutica y geolocalización.';
6
+
7
+ export const content: GpsCoordinatesConverterLocaleContent = {
8
+ slug,
9
+ title,
10
+ description,
11
+ faqTitle: 'Preguntas Frecuentes',
12
+ bibliographyTitle: 'Referencias Bibliográficas',
13
+ ui: {
14
+ faqTitle: 'Preguntas Frecuentes',
15
+ bibliographyTitle: 'Referencias Bibliográficas',
16
+ decimalDD: 'Decimal (DD)',
17
+ degreesGMS: 'Grados (GMS)',
18
+ useLocation: 'Usar mi ubicación',
19
+ lat: 'Latitud',
20
+ lng: 'Longitud',
21
+ latGMS: 'Latitud (GMS)',
22
+ lngGMS: 'Longitud (GMS)',
23
+ gmsTraditional: 'GMS Tradicional',
24
+ nauticalDM: 'Grados y Min. Dec. (Náutica)',
25
+ googleMapsFormat: 'Formato Google Maps',
26
+ copy: 'Copiar',
27
+ copied: '¡Copiado!',
28
+ recentHistory: 'Historial Reciente',
29
+ clear: 'Borrar',
30
+ noHistory: 'No hay conversiones recientes.',
31
+ load: 'Cargar',
32
+ delete: 'Eliminar',
33
+ },
34
+ seo: [
35
+ {
36
+ type: 'title',
37
+ text: 'Conversor de Coordenadas GPS: De Decimal a Grados, Minutos y Segundos',
38
+ level: 2,
39
+ },
40
+ {
41
+ type: 'paragraph',
42
+ html: 'La geolocalización es la piedra angular de la navegación moderna. Desde el vuelo de drones FPV hasta la náutica profesional, la capacidad de interpretar y convertir coordenadas entre diferentes formatos es una habilidad esencial. Nuestra <strong>calculadora de coordenadas GPS</strong> está diseñada para simplificar este proceso, permitiendo una transición fluida entre los Grados Decimales (DD), el formato estándar de Google Maps, y los Grados, Minutos y Segundos (GMS), el lenguaje universal de la cartografía clásica.',
43
+ },
44
+ {
45
+ type: 'title',
46
+ text: 'Entendiendo los Formatos de Coordenadas',
47
+ level: 3,
48
+ },
49
+ {
50
+ type: 'paragraph',
51
+ html: 'Aunque la posición en la superficie terrestre es única, existen diversas formas de expresarla matemáticamente. Cada sector ha adoptado un estándar basado en sus herramientas y necesidades históricas. Los dos sistemas principales que manejamos en esta herramienta son los pilares de la geolocalización actual.',
52
+ },
53
+ {
54
+ type: 'paragraph',
55
+ html: '<strong>1. Grados Decimales (DD):</strong> Es el formato más utilizado en entornos digitales, informática y APIs web. Representa la latitud y longitud como números reales. Por ejemplo, la Puerta del Sol en Madrid se encuentra cerca de los 40.4168° N. La simplicidad de este formato lo hace ideal para cálculos matemáticos directos en GPS de drones y software de telemetría.',
56
+ },
57
+ {
58
+ type: 'paragraph',
59
+ html: '<strong>2. Grados, Minutos y Segundos (GMS):</strong> Es el formato tradicional heredado de la astronomía y la navegación antigua. Divide cada grado en 60 minutos y cada minuto en 60 segundos. Es el estándar utilizado en cartas náuticas físicas y en muchos equipos de aviación civil. Ver una coordenada como 40° 25\' 0.48" N aporta una sensación de escala y precisión histórica que los decimales a veces omiten.',
60
+ },
61
+ {
62
+ type: 'title',
63
+ text: 'La Importancia de la Conversión en el Sector de Drones',
64
+ level: 3,
65
+ },
66
+ {
67
+ type: 'paragraph',
68
+ html: 'Para un piloto de drones, la precisión no es negociable. Muchos planes de misión se diseñan en Google Earth o Google Maps usando decimales, pero al transferir esos puntos a un Ground Control Station (GCS) antiguo o al configurar un "Home Point" manualmente en ciertos transmisores de radiofrecuencia, se puede requerir el formato GMS.',
69
+ },
70
+ {
71
+ type: 'list',
72
+ items: [
73
+ 'Planificación de Misiones: Cruzar datos de aplicaciones móviles de vuelo con mapas topográficos oficiales.',
74
+ 'Rescate y Salvamento: Comunicar la posición de un objetivo a equipos de emergencia que usan radiofrecuencia y coordenadas GMS.',
75
+ 'Fotogrametría: Verificación de los metadatos EXIF de las imágenes capturadas por el sensor del dron.',
76
+ 'Navegación FPV Long Range: Configuración de antenas direccionales basadas en coordenadas exactas de puntos geográficos destacados.'
77
+ ],
78
+ },
79
+ {
80
+ type: 'title',
81
+ text: 'Cómo Realizar la Conversión Manual',
82
+ level: 3,
83
+ },
84
+ {
85
+ type: 'paragraph',
86
+ html: 'Aunque nuestra herramienta automatiza el cálculo por ti, entender la matemática subyacente es fundamental para cualquier navegante. El proceso se basa en el sistema sexagesimal (base 60).',
87
+ },
88
+ {
89
+ type: 'paragraph',
90
+ html: 'Para pasar de <strong>Decimal a GMS</strong>, tomamos la parte entera como los grados. La parte decimal sobrante se multiplica por 60 para obtener los minutos. De ese resultado, la parte decimal restante se vuelve a multiplicar por 60 para obtener los segundos finales. Es un proceso de cascada que garantiza que ninguna fracción de precisión se pierda por el camino.',
91
+ },
92
+ {
93
+ type: 'paragraph',
94
+ html: 'A la inversa, de <strong>GMS a Decimal</strong>, dividimos los segundos entre 3600 y los minutos entre 60, sumando ambos resultados a los grados enteros. Es vital recordar que las latitudes S (Sur) y longitudes W (Oeste) se representan con signo negativo en el sistema decimal para mantener la coherencia en el eje de coordenadas cartesianas.',
95
+ },
96
+ {
97
+ type: 'title',
98
+ text: 'Precisión Decimal',
99
+ level: 3,
100
+ },
101
+ {
102
+ type: 'paragraph',
103
+ html: 'Cinco decimales en una coordenada DD ofrecen una precisión de aproximadamente 1,1 metros en el ecuador. Seis decimales bajan esa precisión a unos 11 centímetros. Para la mayoría de usos con drones comerciales, 6 decimales son el estándar de oro.',
104
+ },
105
+ {
106
+ type: 'title',
107
+ text: 'Latitud y Longitud: Los Ejes de la Tierra',
108
+ level: 3,
109
+ },
110
+ {
111
+ type: 'paragraph',
112
+ html: 'La <strong>Latitud</strong> mide la distancia al norte o al sur del Ecuador. Sus valores oscilan entre 0° en el Ecuador y 90° en los polos. Es el eje "Y" de nuestro mapa global. Equivocar una latitud N por una S te transportaría instantáneamente al hemisferio opuesto, un error crítico que nuestra herramienta ayuda a evitar mediante la validación visual en el mapa.',
113
+ },
114
+ {
115
+ type: 'paragraph',
116
+ html: 'La <strong>Longitud</strong> mide la distancia al este o al oeste del Meridiano de Greenwich. Sus valores van de 0° a 180°. Es el eje "X". La combinación de ambos puntos crea una cuadrícula única que permite identificar cualquier objeto, desde un centímetro cuadrado de bosque hasta la cima del Everest, con total exactitud.',
117
+ },
118
+ {
119
+ type: 'title',
120
+ text: 'El Formato Náutico: Grados y Minutos Decimales',
121
+ level: 3,
122
+ },
123
+ {
124
+ type: 'paragraph',
125
+ html: 'Existe un formato híbrido muy popular en la comunidad marina y náutica: los Grados y Minutos Decimales (DM). En este sistema, se mantienen los grados enteros pero el resto se expresa como minutos con decimales, omitiendo los segundos. Ejemplo: 40° 25.016\' N.',
126
+ },
127
+ {
128
+ type: 'paragraph',
129
+ html: 'Nuestra calculadora también ofrece este resultado, ya que muchos receptores GPS náuticos antiguos y modernos (como los Garmin de mano usados en senderismo) vienen configurados por defecto con esta nomenclatura. Tener esta conversión a mano evita confusiones peligrosas durante la navegación en tiempo real.',
130
+ },
131
+ {
132
+ type: 'title',
133
+ text: 'Datum y Elipsoides',
134
+ level: 3,
135
+ },
136
+ {
137
+ type: 'paragraph',
138
+ html: 'Casi todo el GPS moderno utiliza el estándar WGS84. Nuestra herramienta asume este datum por defecto. Si estás usando planos topográficos muy antiguos (anteriores a 1980), podrías encontrar ligeras desviaciones de pocos metros debido a la forma en que se modelaba la curvatura terrestre en aquella época.',
139
+ },
140
+ {
141
+ type: 'title',
142
+ text: 'Uso del Historial y Privacidad',
143
+ level: 3,
144
+ },
145
+ {
146
+ type: 'paragraph',
147
+ html: 'Entendemos que un piloto a menudo trabaja con múltiples puntos de interés (POIs) en una misma sesión. Por ello, hemos implementado un sistema de historial local. Tus últimas 5 conversiones se guardan en la memoria de tu navegador (localStorage), permitiéndote alternar entre puntos de despegue y aterrizaje sin tener que reintroducir los datos.',
148
+ },
149
+ {
150
+ type: 'paragraph',
151
+ html: 'Este proceso ocurre íntegramente en tu dispositivo. Ninguna coordenada es enviada a servidores externos, garantizando la <strong>privacidad total</strong> de tus ubicaciones de vuelo. Esto es especialmente relevante para profesionales que trabajan en zonas restringidas o sensibles.',
152
+ },
153
+ {
154
+ type: 'title',
155
+ text: 'Consejos para una Geolocalización Exitosa',
156
+ level: 3,
157
+ },
158
+ {
159
+ type: 'paragraph',
160
+ html: '<strong>Verificación visual:</strong> Siempre utiliza el mini-mapa integrado para confirmar que el "pin" cae donde esperas. Un error común es intercambiar Latitud por Longitud, lo que suele situar el punto en medio del océano o en un continente equivocado.',
161
+ },
162
+ {
163
+ type: 'paragraph',
164
+ html: '<strong>Cuidado con los signos:</strong> Si usas DD, recuerda que el Oeste (W) es negativo. En Madrid (-3.70), olvidar el signo menos te situaría en el interior de Argelia en lugar de España.',
165
+ },
166
+ {
167
+ type: 'paragraph',
168
+ html: 'En resumen, dominar las coordenadas es dominar tu entorno. Ya sea que estés configurando el Failsafe de tu dron o trazando una ruta de navegación marítima, nuestra herramienta está aquí para asegurarte de que cada grado, minuto y segundo cuente. ¡Explora el mundo con la precisión que tus misiones merecen!',
169
+ },
170
+ ],
171
+ faq: [
172
+ {
173
+ question: '¿Qué diferencia hay entre DD y GMS?',
174
+ answer: 'DD (Grados Decimales) usa un solo número con decimales (ej. 40.41). GMS (Grados, Minutos, Segundos) divide el grado en fracciones sexagesimales (ej. 40° 25\' 0"").',
175
+ },
176
+ {
177
+ question: '¿Por qué se usan coordenadas negativas?',
178
+ answer: 'En el sistema Decimal (DD), las latitudes al sur del Ecuador y las longitudes al oeste de Greenwich se indican con signo negativo para facilitar el cálculo matemático.',
179
+ },
180
+ {
181
+ question: '¿Cuánta precisión pierdo al convertir?',
182
+ answer: 'Nuestra herramienta usa precisión de doble coma flotante. Con 6 decimales en DD, la precisión es de unos 11 centímetros, más que suficiente para drones y navegación civil.',
183
+ },
184
+ {
185
+ question: '¿Funciona esta herramienta sin conexión?',
186
+ answer: 'Sí, una vez cargada la página, toda la lógica de conversión es local (client-side). Solo el mapa requiere conexión para descargar las nuevas teselas (tiles).',
187
+ },
188
+ ],
189
+ bibliography: [
190
+ {
191
+ name: 'WGS 84 (World Geodetic System 1984): El estándar técnico global para cartografía y GPS.',
192
+ url: 'https://es.wikipedia.org/wiki/WGS84',
193
+ },
194
+ {
195
+ name: 'IGN (Instituto Geográfico Nacional): Guía sobre sistemas de coordenadas y proyecciones en España.',
196
+ url: 'https://www.ign.es/web/resources/cartografiaEnsenanza/conceptosCarto/descargas/Conceptos_Cartograficos_def.pdf',
197
+ },
198
+ ],
199
+ howTo: [],
200
+ schemas: [],
201
+ };
@@ -0,0 +1,201 @@
1
+ import type { GpsCoordinatesConverterLocaleContent } from '../index';
2
+
3
+ const slug = 'conversisseur-coordonnees-gps';
4
+ const title = 'Convertisseur de Coordonnées GPS | Décimal vers DMS en Ligne Gratuit';
5
+ const description = 'Convertissez instantanément vos coordonnées GPS du format décimal vers le format Degrés, Minutes et Secondes (DMS). Outil visuel avec carte pour drones, navigation et géolocalisation.';
6
+
7
+ export const content: GpsCoordinatesConverterLocaleContent = {
8
+ slug,
9
+ title,
10
+ description,
11
+ faqTitle: 'Foire Aux Questions',
12
+ bibliographyTitle: 'Références Bibliographiques',
13
+ ui: {
14
+ faqTitle: 'Foire Aux Questions',
15
+ bibliographyTitle: 'Références Bibliographiques',
16
+ decimalDD: 'Décimal (DD)',
17
+ degreesGMS: 'Degrés (DMS)',
18
+ useLocation: 'Utiliser ma position',
19
+ lat: 'Latitude',
20
+ lng: 'Longitude',
21
+ latGMS: 'Latitude (DMS)',
22
+ lngGMS: 'Longitude (DMS)',
23
+ gmsTraditional: 'DMS Traditionnel',
24
+ nauticalDM: 'Degrés & Min. Déc. (Nautique)',
25
+ googleMapsFormat: 'Format Google Maps',
26
+ copy: 'Copier',
27
+ copied: 'Copié !',
28
+ recentHistory: 'Historique Récent',
29
+ clear: 'Effacer',
30
+ noHistory: 'Aucune conversion récente.',
31
+ load: 'Charger',
32
+ delete: 'Supprimer',
33
+ },
34
+ seo: [
35
+ {
36
+ type: 'title',
37
+ text: 'Convertisseur de Coordonnées GPS : Du Décimal vers Degrés, Minutes et Secondes',
38
+ level: 2,
39
+ },
40
+ {
41
+ type: 'paragraph',
42
+ html: 'La géolocalisation est la pierre angulaire de la navigation moderne. Du vol de drone FPV à la navigation professionnelle, la capacité d\'interpréter et de convertir des coordonnées entre différents formats est une compétence essentielle. Notre <strong>calculateur de coordonnées GPS</strong> est conçu pour simplifier ce processus, permettant une transition fluide entre les Degrés Décimaux (DD), le format standard de Google Maps, et les Degrés, Minutes et Secondes (DMS), le langage universel de la cartographie classique.',
43
+ },
44
+ {
45
+ type: 'title',
46
+ text: 'Comprendre les Formats de Coordonnées',
47
+ level: 3,
48
+ },
49
+ {
50
+ type: 'paragraph',
51
+ html: 'Bien que la position sur la surface terrestre soit unique, il existe plusieurs façons de l\'exprimer mathématiquement. Chaque secteur a adopté un standard basé sur ses outils et des besoins historiques. Les deux systèmes principaux que nous traitons dans cet outil sont les piliers de la géolocalisation actuelle.',
52
+ },
53
+ {
54
+ type: 'paragraph',
55
+ html: '<strong>1. Degrés Décimaux (DD) :</strong> C\'est le format le plus utilisé dans les environnements numériques, l\'informatique et les API Web. Il représente la latitude et la longitude sous forme de nombres réels. Par exemple, le centre de Paris se situe près de 48.8566° N. La simplicité de ce format le rend idéal pour les calculs mathématiques directs dans le GPS du drone et les logiciels de télémétrie.',
56
+ },
57
+ {
58
+ type: 'paragraph',
59
+ html: '<strong>2. Degrés, Minutes et Secondes (DMS) :</strong> C\'est le format traditionnel hérité de l\'astronomie et de la navigation ancienne. Il divise chaque degré en 60 minutes et chaque minute en 60 secondes. C\'est le standard utilisé sur les cartes nautiques physiques et dans de nombreux équipements d\'aviation civile. Voir une coordonnée telle que 48° 51\' 24" N apporte une sensation d\'échelle et de précision historique que les décimales omettent parfois.',
60
+ },
61
+ {
62
+ type: 'title',
63
+ text: 'L\'Importance de la Conversion dans le Secteur des Drones',
64
+ level: 3,
65
+ },
66
+ {
67
+ type: 'paragraph',
68
+ html: 'Pour un pilote de drone, la précision n\'est pas négociable. De nombreux plans de mission sont conçus dans Google Earth ou Google Maps avec des décimales, mais lors du transfert de ces points vers une station de contrôle au sol (GCS) ancienne ou lors du réglage manuel d\'un "Home Point" sur certains émetteurs radio, le format DMS peut être requis.',
69
+ },
70
+ {
71
+ type: 'list',
72
+ items: [
73
+ 'Planification de Mission : Croisement des données des applications de vol mobiles avec les cartes topographiques officielles.',
74
+ 'Recherche et Sauvetage : Communication de la position d\'une cible aux équipes de secours utilisant la radiofréquence et les coordonnées DMS.',
75
+ 'Photogrammétrie : Vérification des métadonnées EXIF des images capturées par le capteur du drone.',
76
+ 'Navigation FPV Longue Portée : Configuration d\'antennes directionnelles basées sur les coordonnées exactes de points géographiques clés.',
77
+ ],
78
+ },
79
+ {
80
+ type: 'title',
81
+ text: 'Comment Réaliser la Conversion Manuellement',
82
+ level: 3,
83
+ },
84
+ {
85
+ type: 'paragraph',
86
+ html: 'Bien que notre outil automatise le calcul pour vous, comprendre les mathématiques sous-jacentes est fondamental pour tout navigateur. Le processus est basé sur le système sexagésimal (base 60).',
87
+ },
88
+ {
89
+ type: 'paragraph',
90
+ html: 'Pour convertir du <strong>Décimal vers le DMS</strong>, nous prenons la partie entière comme les degrés. La partie décimale restante est multipliée par 60 pour obtenir les minutes. De ce résultat, la partie décimale restante est à nouveau multipliée par 60 pour obtenir les secondes finales. C\'est un processus en cascade qui garantit qu\'aucune fraction de précision n\'est perdue en chemin.',
91
+ },
92
+ {
93
+ type: 'paragraph',
94
+ html: 'Inversement, du <strong>DMS vers le Décimal</strong>, nous divisons les secondes par 3600 et les minutes par 60, en ajoutant les deux résultats aux degrés entiers. Il est vital de se rappeler que les latitudes S (Sud) et les longitudes W (Ouest) sont représentées par un signe négatif dans le système décimal pour maintenir la cohérence dans l\'axe des coordonnées cartésiennes.',
95
+ },
96
+ {
97
+ type: 'title',
98
+ text: 'Précision Décimale',
99
+ level: 3,
100
+ },
101
+ {
102
+ type: 'paragraph',
103
+ html: 'Cinq décimales dans une coordonnée DD offrent une précision d\'environ 1,1 mètre à l\'équateur. Six décimales font descendre cette précision à environ 11 centimètres. Pour la plupart des usages de drones commerciaux, 6 décimales sont la référence absolue.',
104
+ },
105
+ {
106
+ type: 'title',
107
+ text: 'Latitude et Longitude : les Axes de la Terre',
108
+ level: 3,
109
+ },
110
+ {
111
+ type: 'paragraph',
112
+ html: 'La <strong>Latitude</strong> mesure la distance au nord ou au sud de l\'équateur. Ses valeurs oscillent entre 0° à l\'équateur et 90° aux pôles. C\'est l\'axe "Y" de notre carte globale. Confondre une latitude N avec une S vous transporterait instantanément dans l\'hémisphère opposé, une erreur critique que notre outil aide à éviter grâce à la validation visuelle sur la carte.',
113
+ },
114
+ {
115
+ type: 'paragraph',
116
+ html: 'La <strong>Longitude</strong> mesure la distance à l\'est ou à l\'ouest du méridien de Greenwich. Ses valeurs vont de 0° à 180°. C\'est l\'axe "X". La combinaison des deux points crée une grille unique qui permet d\'identifier n\'importe quel objet, d\'un centimètre carré de forêt au sommet de l\'Everest, avec une exactitude totale.',
117
+ },
118
+ {
119
+ type: 'title',
120
+ text: 'Le Format Nautique : Degrés et Minutes Décimales',
121
+ level: 3,
122
+ },
123
+ {
124
+ type: 'paragraph',
125
+ html: 'Il existe un format hybride très populaire dans la communauté marine et nautique : les Degrés et Minutes Décimales (DM). Dans ce système, on conserve les degrés entiers mais le reste est exprimé en minutes avec décimales, en omettant les secondes. Exemple : 48° 51.365\' N.',
126
+ },
127
+ {
128
+ type: 'paragraph',
129
+ html: 'Notre calculateur propose également ce résultat, car de nombreux récepteurs GPS nautiques anciens et modernes (comme les Garmin portables utilisés pour la randonnée) sont configurés par défaut avec cette nomenclature. Avoir cette conversion à portée de main évite des confusions dangereuses lors de la navigation en temps réel.',
130
+ },
131
+ {
132
+ type: 'title',
133
+ text: 'Datum et Ellipsoïdes',
134
+ level: 3,
135
+ },
136
+ {
137
+ type: 'paragraph',
138
+ html: 'Presque tous les GPS modernes utilisent la norme WGS84. Notre outil assume ce datum par défaut. Si vous utilisez des plans topographiques très anciens (antérieurs à 1980), vous pourriez trouver de légers écarts de quelques mètres en raison de la façon dont la courbure terrestre était modélisée à l\'époque.',
139
+ },
140
+ {
141
+ type: 'title',
142
+ text: 'Utilisation de l\'Historique et Confidentialité',
143
+ level: 3,
144
+ },
145
+ {
146
+ type: 'paragraph',
147
+ html: 'Nous comprenons qu\'un pilote travaille souvent avec plusieurs points d\'intérêt (POI) au cours d\'une même session. C\'est pourquoi nous avons mis en œuvre un système d\'historique local. Vos 5 dernières conversions sont enregistrées dans la mémoire de votre navigateur (localStorage), vous permettant d\'alterner entre les points de décollage et d\'atterrissage sans avoir à ressaisir les données.',
148
+ },
149
+ {
150
+ type: 'paragraph',
151
+ html: 'Ce processus se déroule entièrement sur votre appareil. Aucune coordonnée n\'est envoyée à des serveurs externes, garantissant une <strong>confidentialité totale</strong> pour vos lieux de vol. Ceci est particulièrement pertinent pour les professionnels travaillant dans des zones restreintes ou sensibles.',
152
+ },
153
+ {
154
+ type: 'title',
155
+ text: 'Conseils pour une Géolocalisation Réussie',
156
+ level: 3,
157
+ },
158
+ {
159
+ type: 'paragraph',
160
+ html: '<strong>Vérification visuelle :</strong> Utilisez toujours la mini-carte intégrée pour confirmer que le repère tombe là où vous l\'attendez. Une erreur courante consiste à inverser Latitude et Longitude, ce qui place généralement le point au milieu de l\'océan ou sur un autre continent.',
161
+ },
162
+ {
163
+ type: 'paragraph',
164
+ html: '<strong>Attention aux signes :</strong> Si vous utilisez les DD, rappelez-vous que l\'ouest (W) est négatif. À Montréal (-73.56), oublier le signe moins vous placerait en Asie centrale au lieu du Canada.',
165
+ },
166
+ {
167
+ type: 'paragraph',
168
+ html: 'En résumé, maîtriser les coordonnées, c\'est maîtriser son environnement. Que vous configuriez le Failsafe de votre drone ou traciez une route de navigation maritime, notre outil est là pour s\'assurer que chaque degré, minute et seconde compte. Explorez le monde avec la précision que vos missions méritent !',
169
+ },
170
+ ],
171
+ faq: [
172
+ {
173
+ question: 'Quelle est la différence entre DD et DMS ?',
174
+ answer: 'DD (Degrés Décimaux) utilise un seul nombre avec des décimales (ex : 48.85). DMS (Degrés, Minutes, Secondes) divise le degré en fractions sexagésimales (ex : 48° 51\' 0").',
175
+ },
176
+ {
177
+ question: 'Pourquoi utilise-t-on des coordonnées négatives ?',
178
+ answer: 'Dans le système décimal (DD), les latitudes au sud de l\'équateur et les longitudes à l\'ouest de Greenwich sont indiquées par un signe négatif pour faciliter le calcul mathématique.',
179
+ },
180
+ {
181
+ question: 'Quelle précision est perdue lors de la conversion ?',
182
+ answer: 'Notre outil utilise une précision de double virgule flottante. Avec 6 décimales en DD, la précision est d\'environ 11 centimètres, ce qui est largement suffisant pour les drones et la navigation civile.',
183
+ },
184
+ {
185
+ question: 'Cet outil fonctionne-t-il hors ligne ?',
186
+ answer: 'Oui, une fois la page chargée, toute la logique de conversion est locale (côté client). Seule la carte nécessite une connexion pour télécharger les nouvelles tuiles.',
187
+ },
188
+ ],
189
+ bibliography: [
190
+ {
191
+ name: 'WGS 84 (World Geodetic System 1984) : La norme technique globale pour la cartographie et le GPS.',
192
+ url: 'https://fr.wikipedia.org/wiki/WGS_84',
193
+ },
194
+ {
195
+ name: 'IGN (Institut national de l\'information géographique et forestière) : Guides sur les coordonnées et projections.',
196
+ url: 'https://www.ign.fr',
197
+ },
198
+ ],
199
+ howTo: [],
200
+ schemas: [],
201
+ };
@@ -0,0 +1,27 @@
1
+ import type { DronesToolEntry, ToolDefinition, ToolLocaleContent } from '../../types';
2
+ import GpsCoordinatesConverterComponent from './component.astro';
3
+ import GpsCoordinatesConverterSEO from './seo.astro';
4
+ import GpsCoordinatesConverterBibliography from './bibliography.astro';
5
+
6
+ export interface GpsCoordinatesConverterUI {
7
+ [key: string]: string;
8
+ }
9
+
10
+ export type GpsCoordinatesConverterLocaleContent = ToolLocaleContent<GpsCoordinatesConverterUI>;
11
+
12
+ export const gpsCoordinatesConverter: DronesToolEntry<GpsCoordinatesConverterUI> = {
13
+ id: 'gps-coordinates-converter',
14
+ icons: { bg: 'mdi:map-marker', fg: 'mdi:crosshairs-gps' },
15
+ i18n: {
16
+ es: () => import('./i18n/es').then((m) => m.content),
17
+ en: () => import('./i18n/en').then((m) => m.content),
18
+ fr: () => import('./i18n/fr').then((m) => m.content),
19
+ },
20
+ };
21
+
22
+ export const GPS_COORDINATES_CONVERTER_TOOL: ToolDefinition = {
23
+ entry: gpsCoordinatesConverter,
24
+ Component: GpsCoordinatesConverterComponent,
25
+ SEOComponent: GpsCoordinatesConverterSEO,
26
+ BibliographyComponent: GpsCoordinatesConverterBibliography,
27
+ };