using the python library flatlib and geonames.org for getting the geographical cordinates
- Astrology houses
- Zodiac signs
tiden = yy+'/'+mm+'/'+dd
date = Datetime(tiden, '17:00', '+00:00')
geo_coordinates = get_geo_cords(town,country)
if not geo_coordinates:
return flask.render_template("advanced.html", countries=countries, error="Could not find the city")
g0,g1 = float(geo_coordinates[0]), float(geo_coordinates[1].replace('</span>', ''))
pos = GeoPos(g0, g1)
chart = Chart(date, pos, IDs=const.LIST_OBJECTS)
sun = chart.getObject(const.SUN)