]> git.street.me.uk Git - andy/viking.git/blobdiff - src/dem.h
Hide Expedia view mode when expedia is not built in.
[andy/viking.git] / src / dem.h
index 13c5e422ef3d81953a7f70e2615d2c030384bed0..998ab088f1cdfa1a341314fa7783d9519efb4b3c 100644 (file)
--- a/src/dem.h
+++ b/src/dem.h
@@ -9,11 +9,15 @@
 
 #define VIK_DEM_VERT_DECIMETERS 2
 
 
 #define VIK_DEM_VERT_DECIMETERS 2
 
+#define VIK_DEM_VERT_METERS 1 /* wrong in 250k?         */
+
+
 typedef struct {
   guint n_columns;
   GPtrArray *columns;
 
 typedef struct {
   guint n_columns;
   GPtrArray *columns;
 
-  guint16 horiz_units, vert_units;
+  guint8 horiz_units;
+  guint8 orig_vert_units; /* original, always converted to meters when loading. */
   gdouble east_scale; /* gap between samples */
   gdouble north_scale;
 
   gdouble east_scale; /* gap between samples */
   gdouble north_scale;