login

<     >

2021-08-26 09:59:38 (UTC-03:00)

Marcel Rodrigues <marcelgmr@gmail.com>

shp: print shape in summary

diff --git a/shp.lua b/shp.lua
index e311f7d..0bbd3b9 100644
--- a/shp.lua
+++ b/shp.lua
@@ -88,6 +88,7 @@ function SF:print_summary(n)
         print(table.concat(row, sep))
     end
     print("records".. sep .. #self.tab)
+    print("shape".. sep .. self.header.shape)
 end
 
 function SF:tab2csv(sep, fp)