예제 #1
0
def new_england_distribution_map(request, genus, epithet):
    """Return a vector map of New England showing county-level
    distribution data for a plant.
    """
    distribution_map = NewEnglandPlantDistributionMap()
    return _distribution_map(request, distribution_map, genus, epithet)
예제 #2
0
 def setUp(self):
     self.dist_map = NewEnglandPlantDistributionMap()
     self.legend = Legend(self.dist_map.svg_map,
                          maximum_categories=2,
                          maximum_items=5)
예제 #3
0
 def setUp(self):
     dist_map = NewEnglandPlantDistributionMap()
     path_nodes = dist_map.svg_map.findall(
         '{http://www.w3.org/2000/svg}path')
     self.path = Path(path_nodes[0])
예제 #4
0
 def setUp(self):
     self.distribution_map = NewEnglandPlantDistributionMap()
     create_distribution_records()
예제 #5
0
 def setUp(self):
     self.chloropleth_map = NewEnglandPlantDistributionMap()