From 2b725dd25746ae8418de18a381ca5792223a8a30 Mon Sep 17 00:00:00 2001 From: artemp Date: Mon, 8 Feb 2016 15:45:03 +0100 Subject: [PATCH] shapeindex - skip 'null' shapes (ref #3288) --- utils/shapeindex/shapeindex.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/shapeindex/shapeindex.cpp b/utils/shapeindex/shapeindex.cpp index eddb28d84..a96aba346 100644 --- a/utils/shapeindex/shapeindex.cpp +++ b/utils/shapeindex/shapeindex.cpp @@ -187,6 +187,8 @@ int main (int argc,char** argv) } shape_type = shp.read_ndr_integer(); + if (shape_type == shape_io::shape_null) continue; + if (shape_type==shape_io::shape_point || shape_type==shape_io::shape_pointm || shape_type == shape_io::shape_pointz)