Debian Codegraph @

docs/gexiv2-0.16/method.Metadata.try_get_gps_info.html

raw symbols SCIP
1 <!--
2 SPDX-FileCopyrightText: Unknown authors
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5 -->
6
7 <!DOCTYPE html>
8 <html lang="en">
9 <head>
10 <title>GExiv2.Metadata.try_get_gps_info</title>
11 <meta name="viewport" content="width=device-width, initial-scale=1">
12
13 <meta charset="utf-8" />
14
15
16 <meta property="og:type" content="website"/>
17
18
19
20
21 <meta priority="og:title" content="GExiv2.Metadata.try_get_gps_info"/>
22 <meta priority="og:description" content="Reference for GExiv2.Metadata.try_get_gps_info"/>
23 <meta name="twitter:title" content="GExiv2.Metadata.try_get_gps_info"/>
24 <meta name="twitter:description" content="Reference for GExiv2.Metadata.try_get_gps_info"/>
25
26
27
28 <meta name="twitter:card" content="summary"/>
29
30
31
32
33
34
35 <link rel="stylesheet" href="style.css" type="text/css" />
36
37
38
39
40 <script src="urlmap.js"></script>
41
42
43 <script src="fzy.js"></script>
44 <script src="search.js"></script>
45
46 <script src="main.js"></script>
47
48
49 </head>
50
51 <body>
52 <div id="body-wrapper" tabindex="-1">
53
54 <nav class="sidebar devhelp-hidden">
55
56
57 <div class="search section">
58 <form id="search-form" autocomplete="off">
59 <input id="search-input" type="text" name="do-not-autocomplete" placeholder="Click, or press 's' to search" autocomplete="off"/>
60 </form>
61 </div>
62
63 <div class="section namespace">
64 <h3><a href="index.html">GExiv2</a></h3>
65 <p>API Version: 0.16</p>
66
67 <p>Library Version: 0.16.2</p>
68
69 </div>
70
71 <div class="section">
72 <h5>Type</h5>
73 <div class="links">
74 <a href="class.Metadata.html">Metadata</a>
75 </div>
76 </div>
77 <div class="section">
78 <h5>Methods</h5>
79 <div class="links">
80
81 <a class="method" href="method.Metadata.as_bytes.html">as_bytes</a>
82
83 <a class="method" href="method.Metadata.clear.html">clear</a>
84
85 <a class="method" href="method.Metadata.clear_comment.html">clear_comment</a>
86
87 <a class="method" href="method.Metadata.clear_exif.html">clear_exif</a>
88
89 <a class="method" href="method.Metadata.clear_iptc.html">clear_iptc</a>
90
91 <a class="method" href="method.Metadata.clear_tag.html">clear_tag</a>
92
93 <a class="method" href="method.Metadata.clear_xmp.html">clear_xmp</a>
94
95 <a class="method" href="method.Metadata.delete_gps_info.html">delete_gps_info</a>
96
97 <a class="method" href="method.Metadata.erase_exif_thumbnail.html">erase_exif_thumbnail</a>
98
99 <a class="method" href="method.Metadata.from_app1_segment.html">from_app1_segment</a>
100
101 <a class="method" href="method.Metadata.from_stream.html">from_stream</a>
102
103 <a class="method" href="method.Metadata.generate_xmp_packet.html">generate_xmp_packet</a>
104
105 <a class="method" href="method.Metadata.get_comment.html">get_comment</a>
106
107 <a class="method" href="method.Metadata.get_exif_data.html">get_exif_data</a>
108
109 <a class="method" href="method.Metadata.get_exif_tag_rational.html">get_exif_tag_rational</a>
110
111 <a class="method" href="method.Metadata.get_exif_tags.html">get_exif_tags</a>
112
113 <a class="method" href="method.Metadata.get_exif_thumbnail.html">get_exif_thumbnail</a>
114
115 <a class="method" href="method.Metadata.get_exposure_time.html">get_exposure_time</a>
116
117 <a class="method" href="method.Metadata.get_fnumber.html">get_fnumber</a>
118
119 <a class="method" href="method.Metadata.get_focal_length.html">get_focal_length</a>
120
121 <a class="method" href="method.Metadata.get_gps_altitude.html">get_gps_altitude</a>
122
123 <a class="method" href="method.Metadata.get_gps_info.html">get_gps_info</a>
124
125 <a class="method" href="method.Metadata.get_gps_latitude.html">get_gps_latitude</a>
126
127 <a class="method" href="method.Metadata.get_gps_longitude.html">get_gps_longitude</a>
128
129 <a class="method" href="method.Metadata.get_iptc_tags.html">get_iptc_tags</a>
130
131 <a class="method" href="method.Metadata.get_iso_speed.html">get_iso_speed</a>
132
133 <a class="method" href="method.Metadata.get_metadata_pixel_height.html">get_metadata_pixel_height</a>
134
135 <a class="method" href="method.Metadata.get_metadata_pixel_width.html">get_metadata_pixel_width</a>
136
137 <a class="method" href="method.Metadata.get_mime_type.html">get_mime_type</a>
138
139 <a class="method" href="method.Metadata.get_orientation.html">get_orientation</a>
140
141 <a class="method" href="method.Metadata.get_pixel_height.html">get_pixel_height</a>
142
143 <a class="method" href="method.Metadata.get_pixel_width.html">get_pixel_width</a>
144
145 <a class="method" href="method.Metadata.get_preview_image.html">get_preview_image</a>
146
147 <a class="method" href="method.Metadata.get_preview_properties.html">get_preview_properties</a>
148
149 <a class="method" href="method.Metadata.get_supports_exif.html">get_supports_exif</a>
150
151 <a class="method" href="method.Metadata.get_supports_iptc.html">get_supports_iptc</a>
152
153 <a class="method" href="method.Metadata.get_supports_xmp.html">get_supports_xmp</a>
154
155 <a class="method" href="method.Metadata.get_tag_interpreted_string.html">get_tag_interpreted_string</a>
156
157 <a class="method" href="method.Metadata.get_tag_long.html">get_tag_long</a>
158
159 <a class="method" href="method.Metadata.get_tag_multiple.html">get_tag_multiple</a>
160
161 <a class="method" href="method.Metadata.get_tag_raw.html">get_tag_raw</a>
162
163 <a class="method" href="method.Metadata.get_tag_string.html">get_tag_string</a>
164
165 <a class="method" href="method.Metadata.get_xmp_packet.html">get_xmp_packet</a>
166
167 <a class="method" href="method.Metadata.get_xmp_tags.html">get_xmp_tags</a>
168
169 <a class="method" href="method.Metadata.has_exif.html">has_exif</a>
170
171 <a class="method" href="method.Metadata.has_iptc.html">has_iptc</a>
172
173 <a class="method" href="method.Metadata.has_tag.html">has_tag</a>
174
175 <a class="method" href="method.Metadata.has_xmp.html">has_xmp</a>
176
177 <a class="method" href="method.Metadata.open_buf.html">open_buf</a>
178
179 <a class="method" href="method.Metadata.open_path.html">open_path</a>
180
181 <a class="method" href="method.Metadata.save_external.html">save_external</a>
182
183 <a class="method" href="method.Metadata.save_file.html">save_file</a>
184
185 <a class="method" href="method.Metadata.set_comment.html">set_comment</a>
186
187 <a class="method" href="method.Metadata.set_exif_tag_rational.html">set_exif_tag_rational</a>
188
189 <a class="method" href="method.Metadata.set_exif_thumbnail_from_buffer.html">set_exif_thumbnail_from_buffer</a>
190
191 <a class="method" href="method.Metadata.set_exif_thumbnail_from_file.html">set_exif_thumbnail_from_file</a>
192
193 <a class="method" href="method.Metadata.set_gps_info.html">set_gps_info</a>
194
195 <a class="method" href="method.Metadata.set_metadata_pixel_height.html">set_metadata_pixel_height</a>
196
197 <a class="method" href="method.Metadata.set_metadata_pixel_width.html">set_metadata_pixel_width</a>
198
199 <a class="method" href="method.Metadata.set_orientation.html">set_orientation</a>
200
201 <a class="method" href="method.Metadata.set_tag_long.html">set_tag_long</a>
202
203 <a class="method" href="method.Metadata.set_tag_multiple.html">set_tag_multiple</a>
204
205 <a class="method" href="method.Metadata.set_tag_string.html">set_tag_string</a>
206
207 <a class="method" href="method.Metadata.set_xmp_tag_struct.html">set_xmp_tag_struct</a>
208
209 <a class="method" href="method.Metadata.tag_supports_multiple_values.html">tag_supports_multiple_values</a>
210
211 <a class="method" href="method.Metadata.try_clear_tag.html">try_clear_tag</a>
212
213 <a class="method" href="method.Metadata.try_delete_gps_info.html">try_delete_gps_info</a>
214
215 <a class="method" href="method.Metadata.try_erase_exif_thumbnail.html">try_erase_exif_thumbnail</a>
216
217 <a class="method" href="method.Metadata.try_generate_xmp_packet.html">try_generate_xmp_packet</a>
218
219 <a class="method" href="method.Metadata.try_get_comment.html">try_get_comment</a>
220
221 <a class="method" href="method.Metadata.try_get_exif_tag_rational.html">try_get_exif_tag_rational</a>
222
223 <a class="method" href="method.Metadata.try_get_exposure_time.html">try_get_exposure_time</a>
224
225 <a class="method" href="method.Metadata.try_get_fnumber.html">try_get_fnumber</a>
226
227 <a class="method" href="method.Metadata.try_get_focal_length.html">try_get_focal_length</a>
228
229 <a class="method" href="method.Metadata.try_get_gps_altitude.html">try_get_gps_altitude</a>
230
231 <a class="method current" href="method.Metadata.try_get_gps_info.html">try_get_gps_info</a>
232
233 <a class="method" href="method.Metadata.try_get_gps_latitude.html">try_get_gps_latitude</a>
234
235 <a class="method" href="method.Metadata.try_get_gps_longitude.html">try_get_gps_longitude</a>
236
237 <a class="method" href="method.Metadata.try_get_iso_speed.html">try_get_iso_speed</a>
238
239 <a class="method" href="method.Metadata.try_get_metadata_pixel_height.html">try_get_metadata_pixel_height</a>
240
241 <a class="method" href="method.Metadata.try_get_metadata_pixel_width.html">try_get_metadata_pixel_width</a>
242
243 <a class="method" href="method.Metadata.try_get_orientation.html">try_get_orientation</a>
244
245 <a class="method" href="method.Metadata.try_get_preview_image.html">try_get_preview_image</a>
246
247 <a class="method" href="method.Metadata.try_get_tag_interpreted_string.html">try_get_tag_interpreted_string</a>
248
249 <a class="method" href="method.Metadata.try_get_tag_long.html">try_get_tag_long</a>
250
251 <a class="method" href="method.Metadata.try_get_tag_multiple.html">try_get_tag_multiple</a>
252
253 <a class="method" href="method.Metadata.try_get_tag_raw.html">try_get_tag_raw</a>
254
255 <a class="method" href="method.Metadata.try_get_tag_string.html">try_get_tag_string</a>
256
257 <a class="method" href="method.Metadata.try_get_xmp_packet.html">try_get_xmp_packet</a>
258
259 <a class="method" href="method.Metadata.try_has_tag.html">try_has_tag</a>
260
261 <a class="method" href="method.Metadata.try_set_comment.html">try_set_comment</a>
262
263 <a class="method" href="method.Metadata.try_set_exif_tag_rational.html">try_set_exif_tag_rational</a>
264
265 <a class="method" href="method.Metadata.try_set_exif_thumbnail_from_buffer.html">try_set_exif_thumbnail_from_buffer</a>
266
267 <a class="method" href="method.Metadata.try_set_gps_info.html">try_set_gps_info</a>
268
269 <a class="method" href="method.Metadata.try_set_metadata_pixel_height.html">try_set_metadata_pixel_height</a>
270
271 <a class="method" href="method.Metadata.try_set_metadata_pixel_width.html">try_set_metadata_pixel_width</a>
272
273 <a class="method" href="method.Metadata.try_set_orientation.html">try_set_orientation</a>
274
275 <a class="method" href="method.Metadata.try_set_tag_long.html">try_set_tag_long</a>
276
277 <a class="method" href="method.Metadata.try_set_tag_multiple.html">try_set_tag_multiple</a>
278
279 <a class="method" href="method.Metadata.try_set_tag_string.html">try_set_tag_string</a>
280
281 <a class="method" href="method.Metadata.try_set_xmp_tag_struct.html">try_set_xmp_tag_struct</a>
282
283 <a class="method" href="method.Metadata.try_tag_supports_multiple_values.html">try_tag_supports_multiple_values</a>
284
285 <a class="method" href="method.Metadata.try_update_gps_info.html">try_update_gps_info</a>
286
287 <a class="method" href="method.Metadata.update_gps_info.html">update_gps_info</a>
288
289 </div>
290 </div>
291
292 <div class="section generator">
293 <p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2025.5</p>
294 </div>
295 </nav>
296
297 <button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>
298
299
300 <section id="main" class="content">
301 <header>
302 <h3>Method</h3>
303 <h1><a href="index.html">GExiv2</a><span class="sep"></span><a href="class.Metadata.html">Metadata</a><span class="sep"></span>try_get_gps_info</h1>
304 </header>
305
306 <section>
307 <div class="docblock">
308 <p><span class="emblem deprecated">deprecated: 0.16.0</span>&nbsp;<span class="emblem available">since: 0.12.2</span></p>
309 </div>
310
311 <div class="declaration toggle-wrapper">
312 <h4 style="display:flex;" id="declaration">
313 Declaration
314 <a class="anchor" href="#declaration"></a>
315
316 <a class="srclink" title="go to source location" href="https://gitlab.gnome.org/GNOME/gexiv2/-/blob/gexiv2/gexiv2-metadata.h#L1850">[src]</a>
317
318 </h4>
319
320 <div class="docblock c-decl">
321 <pre><code><div class="highlight"><pre><span></span><span class="n">gboolean</span>
322 <span class="n">gexiv2_metadata_try_get_gps_info</span><span class="w"> </span><span class="p">(</span>
323 <span class="w"> </span><span class="n">GExiv2Metadata</span><span class="o">*</span><span class="w"> </span><span class="n">self</span><span class="p">,</span>
324 <span class="w"> </span><span class="n">gdouble</span><span class="o">*</span><span class="w"> </span><span class="n">longitude</span><span class="p">,</span>
325 <span class="w"> </span><span class="n">gdouble</span><span class="o">*</span><span class="w"> </span><span class="n">latitude</span><span class="p">,</span>
326 <span class="w"> </span><span class="n">gdouble</span><span class="o">*</span><span class="w"> </span><span class="n">altitude</span><span class="p">,</span>
327 <span class="w"> </span><span class="n">GError</span><span class="o">**</span><span class="w"> </span><span class="n">error</span>
328 <span class="p">)</span>
329 </pre></div>
330 </code></pre>
331 </div>
332 </div>
333
334 <div class="description toggle-wrapper">
335 <h4 style="display:flex;" id="description">
336 Description
337 <a class="anchor" href="#description"></a>
338
339 <a class="srclink" title="go to source location" href="https://gitlab.gnome.org/GNOME/gexiv2/-/blob/gexiv2/gexiv2-metadata.h#L1834">[src]</a>
340
341 </h4>
342
343 <div class="docblock">
344 <p>Convenience function to query all available <span class="caps">GPS</span> information at&nbsp;once.</p>
345 </div>
346
347 <div class="docblock">
348
349 <p>Available since: 0.12.2</p>
350 <div class="admonition deprecation">
351 <p class="admonition-title">Deprecated since: 0.16.0</p><p>Use <a href="method.Metadata.get_gps_info.html"><code>gexiv2_metadata_get_gps_info()</code></a>&nbsp;instead.</p></div>
352
353
354
355
356 </div>
357
358
359 </div>
360
361
362 <div class="parameters toggle-wrapper">
363 <h4 id="parameters">
364 Parameters
365 <a href="#parameters" class="anchor"></a>
366 </h4>
367
368 <div class="docblock">
369 <dl class="arguments">
370
371
372
373 <dt class="arg-name"><code>longitude</code></dt>
374 <dd class="arg-description">
375 <p><em>Type:</em>&nbsp;<code>gdouble*</code></p>
376 <p>Storage for longitude&nbsp;value.</p>
377 <table>
378 <tr><td title="direction: out">The argument will be set by the function.</td></tr>
379
380
381
382
383
384
385
386
387 </table>
388 </dd>
389
390 <dt class="arg-name"><code>latitude</code></dt>
391 <dd class="arg-description">
392 <p><em>Type:</em>&nbsp;<code>gdouble*</code></p>
393 <p>Storage for latitude&nbsp;value.</p>
394 <table>
395 <tr><td title="direction: out">The argument will be set by the function.</td></tr>
396
397
398
399
400
401
402
403
404 </table>
405 </dd>
406
407 <dt class="arg-name"><code>altitude</code></dt>
408 <dd class="arg-description">
409 <p><em>Type:</em>&nbsp;<code>gdouble*</code></p>
410 <p>Storage for altitude&nbsp;value.</p>
411 <table>
412 <tr><td title="direction: out">The argument will be set by the function.</td></tr>
413
414
415
416
417
418
419
420
421 </table>
422 </dd>
423
424
425
426 <dt class="arg-name"><code>error</code></dt>
427 <dd class="arg-description">
428 <p><em>Type:</em>&nbsp;<a href="javascript:void(0)" data-namespace="GLib" data-link="struct.Error.html" class="external"><code>GError **</code></a></p>
429 <p>The return location for <a href="https://docs.gtk.org/glib/error-reporting.html#rules-for-use-of-gerror">a recoverable error</a>.</p>
430 <table>
431 <tr><td>The argument can be <code>NULL</code>.</td></tr>
432 <tr><td>If the return location is not <code>NULL</code>, then you must initialize it to a <code>NULL</code> <code>GError*</code>.</td></tr>
433 <tr><td>The argument will be left initialized to <code>NULL</code> by the method if there are no errors.</td></tr>
434 <tr><td>In case of error, the argument will be set to a newly allocated <code>GError</code>; the caller will take ownership of the data, and be responsible for freeing it.</td></tr>
435 </table>
436 </dd>
437
438 </dl>
439 </div>
440 </div>
441
442
443
444 <div class="return-value toggle-wrapper">
445 <h4 id="return-value">
446 Return value
447 <a href="#return-value" class="anchor"></a>
448 </h4>
449
450 <div class="docblock">
451 <div class="returns">
452 <div class="arg-description">
453 <p><em>Type:</em>&nbsp;<code>gboolean</code></p>
454 <p>Boolean success&nbsp;value.</p>
455 </div>
456 <div>
457 <table>
458
459
460
461
462
463
464 </table>
465 </div>
466 </div>
467 </div>
468 </div>
469
470
471 </section>
472 </section>
473
474
475
476
477 <section id="search" class="content hidden"></section>
478
479 <footer>
480
481 </footer>
482 </div>
483 </body>
484 </html>