This commit is contained in:
Motiejus Jakštys 2021-05-19 22:57:52 +03:00 committed by Motiejus Jakštys
parent c45e4f90e5
commit acc76df08c
2 changed files with 1 additions and 4 deletions

View File

@ -282,10 +282,6 @@ salvis-wm-vw-chaikin-50k_2COLOR = orange
salvis-wm-vw-chaikin-50k_3LINESTYLE = dotted
salvis-wm-dp-chaikin-50k_1SELECT =
salvis-wm-vw-chaikin-50k_1SELECT =
.faux_db_pre: db init.sql
bash db start
bash db -f init.sql

View File

@ -64,6 +64,7 @@ def read_layer(select, width, maybe_quadrant):
conn = psycopg2.connect(PSQL_CREDS)
sql = "SELECT {way} as way1 FROM {select}".format(way=way, select=select)
return geopandas.read_postgis(sql, con=conn, geom_col='way1')