ustroetz / log-road

A model to estimate the location of potential or existing logging roads.
8 stars 0 forks source link

Use arrays in order to create `gridDict` #3

Open ustroetz opened 10 years ago

ustroetz commented 10 years ago

Use arrays in order to create the gridDict (https://github.com/ustroetz/log-road/blob/master/logroad/RoadModel.py#L242) as recommended by @perrygeo.

Necessary functions

  1. Buffers2Array
  2. New array gridDictArray based on overlaid arrays
  3. Create gridDict from gridDictArray