Esempio n. 1
0
 def cities_in_region(self):
     from pyrocko.dataset import geonames
     cities = geonames.get_cities_region(region=self.wesn, minpop=0)
     cities.extend(self.custom_cities)
     cities.sort(key=lambda x: x.population)
     return cities
Esempio n. 2
0
 def cities_in_region(self):
     from pyrocko.dataset import geonames
     cities = geonames.get_cities_region(region=self.wesn, minpop=0)
     cities.extend(self.custom_cities)
     cities.sort(key=lambda x: x.population)
     return cities