]> Pileus Git - aweather/blobdiff - src/aweather-location.h
Subjectively adding LODs to cities
[aweather] / src / aweather-location.h
index a3a3b69b175a98a0e9339513e6c912cb17ad9fae..453f6868e0c9bc1521f0847ce969522cb798b4d8 100644 (file)
@@ -18,6 +18,8 @@
 #ifndef __LOCATION_H__
 #define __LOCATION_H__
 
+#include "gis-util.h"
+
 enum {
        LOCATION_END,
        LOCATION_CITY,
@@ -28,9 +30,8 @@ typedef struct {
        int type;
        char *code;
        char *label;
-       double lat;
-       double lon;
-       double elev;
+       GisPoint pos;
+       gdouble lod;
 } city_t;
 
 extern city_t cities[];