From f889b7c6d6b6764850389d44feae2a79785e629a Mon Sep 17 00:00:00 2001
From: Jonathan Lambrechts <jonathan.lambrechts@uclouvain.be>
Date: Tue, 15 Dec 2009 12:19:09 +0000
Subject: [PATCH] upgrade gshhs plugin to gshhs 2.0

---
 Plugin/GSHHS.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Plugin/GSHHS.cpp b/Plugin/GSHHS.cpp
index 5b96f80330..ce67809a0f 100644
--- a/Plugin/GSHHS.cpp
+++ b/Plugin/GSHHS.cpp
@@ -118,7 +118,10 @@ public:
        * 4th byte:      source = (flag >> 24) & 255: Values: 0 = CIA WDBII, 1 = WVS
        */
       int west, east, south, north;     /* min/max extent in micro-degrees */
-      int area;                 /* Area of polygon in 1/10 km^2 */
+      int area;	/* Area of polygon in 1/10 km^2 */
+      int area_full;	/* Area of original full-resolution polygon in 1/10 km^2 */
+      int container;	/* Id of container polygon that encloses this polygon (-1 if none) */
+      int ancestor;	/* Id of ancestor polygon in the full resolution set that was the source of this polygon (-1 if none) */
     };
     GSHHS h;
     POINT p;
-- 
GitLab