Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
pveigadecamargo committed Feb 12, 2024
1 parent afa381f commit 9a0d09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aequilibrae/project/network/osm/osm_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def importing_network(self, conn):
# self.links_df.to_file(self.project.path_to_file, driver="SQLite", spatialite=True, layer="links", mode="a")

# I could not get the above line to work, so I used the following code instead
self.links_df.index.name="osm_id"
self.links_df.index.name = "osm_id"
self.links_df.reset_index(inplace=True)
insert_qry = "INSERT INTO links ({},a_node, b_node, distance, geometry) VALUES({},0,0,0, GeomFromText(?, 4326))"
cols_no_geo = self.links_df.columns.tolist()
Expand Down

0 comments on commit 9a0d09b

Please sign in to comment.