def GeocodeItem(self, item):
		"""Geocode a single WORK item, writing in the lat/lon

		Lat/Lon is written in depending on the path values
		for 'latitude' and 'longitude' in self.pd
		"""

		ll = self.GeocodeToLatLon(item)
		if ll:
			bm_extract.set(item, self.pd['latitude'], ll[0])
			bm_extract.set(item, self.pd['longitude'], ll[1])

		return	item
Beispiel #2
0
	def __setitem__(self, key, value):
		"""Make this a little dict-like looking"""

		bm_extract.set(self.stack[0], key, value)