TerraME / terrame

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

create spatial index for shapefiles #1094

Closed pedro-andrade-inpe closed 8 years ago

pedro-andrade-inpe commented 8 years ago

When creating a Layer, add a new argument index = true that creates a spatial index for the shamefile if it does not exist. See the code in TerraView. When a shapefile is imported, it asks if the user wants to create such index. This makes attributeFill operations faster.

pedro-andrade-inpe commented 8 years ago

890

avancinirodrigo commented 8 years ago

@pedro-andrade-inpe, what is the default?

pedro-andrade-inpe commented 8 years ago

Default is true. This operation does not take much time to execute.

avancinirodrigo commented 8 years ago

@pedro-andrade-inpe, the function fill() auto add in Layer, should be put this argument in it?

pedro-andrade-inpe commented 8 years ago

No.