def post(self):

		has_construction = self.request.get("has_construction")
		computed_weight = None

		if has_construction == "true":
			computed_weight = 5
		else:
			computed_weight = 3

		new_location = TrafficReport(
			latitude = float(self.request.get("latitude")),
			longitude = float(self.request.get("longitude")),
			report_date = datetime.now(),
			weight = computed_weight)
		new_location.put()
		self.response.out.write("Your post has been processed. You will now be redirected.")