g-battaglia / kerykeion

Data driven Astrology 💫
Kerykeion is a python library for astrology. It can generate SVG charts and extract all data about a birthchart, a synastry chart and a transit chart.
https://kerykeion.net
GNU Affero General Public License v3.0
298 stars 103 forks source link

Birth Location in charts created with lat/lon set to default #48

Closed Pretorian29 closed 1 year ago

Pretorian29 commented 2 years ago

I am creating charts using lat/lon like this: kanye = KrInstance( "Kanye", 1977, 6, 8, 8, 45, lng=50, lat=50, tz_str="Europe/Rome" )

The chart shows the coordinates correctly, except the birth location, this is set to the default 'London' in every single output. is there any way to add the location without connecting to GeoNames?

g-battaglia commented 2 years ago

Hi, check #41

Pretorian29 commented 2 years ago

Thank you for your reply. I am passing a string variable to tz-str that change according to the input, and still getting ther same result. Screenshot 2022-09-14 132553 Screenshot 2022-09-14 132705 Can you please give a comment about this? Thank you.

g-battaglia commented 2 years ago

Hi, the name of the city defaults on "London" if you do not give a parameter city=%%, in your case you should create the object giving also the parameter city="Tokio". This parameter, when you give the coordinates and the timezone, is just a name and does not change the result of the calculation.

g-battaglia commented 1 year ago

Hi @Pretorian29, did it work? Can I close the issue?

Pretorian29 commented 1 year ago

Hello, sorry I could not reply over the weekend. I will try that now and I will let you know the results. thank you for your time.

Pretorian29 commented 1 year ago

It worked! Thank you.