bugfix
This commit is contained in:
parent
76c799cf2b
commit
aef042c07f
@ -282,10 +282,6 @@ salvis-wm-vw-chaikin-50k_2COLOR = orange
|
|||||||
salvis-wm-vw-chaikin-50k_3LINESTYLE = dotted
|
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
|
.faux_db_pre: db init.sql
|
||||||
bash db start
|
bash db start
|
||||||
bash db -f init.sql
|
bash db -f init.sql
|
||||||
|
@ -64,6 +64,7 @@ def read_layer(select, width, maybe_quadrant):
|
|||||||
|
|
||||||
conn = psycopg2.connect(PSQL_CREDS)
|
conn = psycopg2.connect(PSQL_CREDS)
|
||||||
sql = "SELECT {way} as way1 FROM {select}".format(way=way, select=select)
|
sql = "SELECT {way} as way1 FROM {select}".format(way=way, select=select)
|
||||||
|
|
||||||
return geopandas.read_postgis(sql, con=conn, geom_col='way1')
|
return geopandas.read_postgis(sql, con=conn, geom_col='way1')
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user