TerraME / terrame

TerraME is a programming environment for spatial dynamical modelling
www.terrame.org
GNU Lesser General Public License v3.0
36 stars 13 forks source link

empty shapefile #2361

Closed pedro-andrade-inpe closed 4 years ago

pedro-andrade-inpe commented 4 years ago

When one tries to open an empty shapefile as a CellularSpace it produces an internal error:

Error: attempt to index a nil value (field '?')

It should show: "The file is empty."

The code and the shapefile are: error-empty-shape.zip

avancinirodrigo commented 4 years ago

@pedro-andrade-inpe Associated to #2347