]> git.street.me.uk Git - andy/viking.git/blob - test/geotag_read.c
Fix typo word Polygonized
[andy/viking.git] / test / geotag_read.c
1 // Copyright: CC0
2 #include <stdio.h>
3 #include <glib.h>
4 #include <glib/gstdio.h>
5 #include "geotag_exif.h"
6 #include "vikcoord.h"
7  
8 int main(int argc, char *argv[])
9 {
10 #if !GLIB_CHECK_VERSION(2,36,0)
11   g_type_init ();
12 #endif
13  
14   if ( argv[1] ) {
15     struct LatLon ll = a_geotag_get_position ( argv[1] );
16     g_printf ( "%.6f %.6f\n", ll.lat, ll.lon );
17   }
18  
19   return 0;
20 }
21