Geography : 9207: geography view Location could not convert string to float
This commit is contained in:
parent
5fe4ab64a9
commit
97fbbfa31c
@ -276,8 +276,8 @@ class GeoPlaces(GeoGraphyView):
|
|||||||
place = dbstate.db.get_place_from_handle(place_x)
|
place = dbstate.db.get_place_from_handle(place_x)
|
||||||
self._create_one_place(place)
|
self._create_one_place(place)
|
||||||
if ( place.get_latitude() != "" and place.get_longitude() != "" ):
|
if ( place.get_latitude() != "" and place.get_longitude() != "" ):
|
||||||
self.osm.set_center_and_zoom(float(place.get_latitude()),
|
latitude, longitude = conv_lat_lon(latitude, longitude, "D.D8")
|
||||||
float(place.get_longitude()),
|
self.osm.set_center_and_zoom(latitude, longitude,
|
||||||
int(config.get("geography.zoom")))
|
int(config.get("geography.zoom")))
|
||||||
_LOG.debug(" stop createmap.")
|
_LOG.debug(" stop createmap.")
|
||||||
_LOG.debug("%s" % time.strftime("begin sort : "
|
_LOG.debug("%s" % time.strftime("begin sort : "
|
||||||
|
Loading…
Reference in New Issue
Block a user