make the failing feature count a TODO because its actually a future feature to impl - better shapefile indexing that breaks out multigeom parts

This commit is contained in:
Dane Springmeyer 2011-07-12 01:04:28 +00:00
parent c357fcbf9d
commit 01d5768cea

View file

@ -2,7 +2,7 @@
from nose.tools import * from nose.tools import *
from utilities import execution_path from utilities import execution_path, Todo
import os, sys, glob, mapnik2 import os, sys, glob, mapnik2
@ -51,6 +51,7 @@ def test_shapefile_polygon_feature_query_id():
compare_shape_between_mapnik_and_ogr('../data/shp/world_merc.shp',query) compare_shape_between_mapnik_and_ogr('../data/shp/world_merc.shp',query)
def test_feature_hit_count(): def test_feature_hit_count():
raise Todo("need to optimize multigeom bbox handling in shapeindex")
# results in different results between shp and ogr! # results in different results between shp and ogr!
#bbox = (-14284551.8434, 2074195.1992, -7474929.8687, 8140237.7628) #bbox = (-14284551.8434, 2074195.1992, -7474929.8687, 8140237.7628)
bbox = (1113194.91,4512803.085,2226389.82,6739192.905) bbox = (1113194.91,4512803.085,2226389.82,6739192.905)