Skip to content

Commit

Permalink
Amendment to previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrodjpl committed Aug 30, 2018
1 parent 1437bfa commit 9e6b7ab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/vectorgen/oe_create_mvt_mrf.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ def create_vector_mrf(input_file_path, output_path, mrf_prefix, layer_name, targ
print 'Processing ' + input_file
with fiona.open(input_file) as shapefile:
try:
for x in rtree_index_generator(list(shapefile), filter_list):
print x
spatial_db = rtree.index.Index(rtree_index_generator(list(shapefile), filter_list))
except rtree.core.RTreeError as e:
print 'ERROR -- problem importing feature data. If you have filters configured, the source dataset may have no features that pass. Err: {0}'.format(e)
Expand Down

0 comments on commit 9e6b7ab

Please sign in to comment.