Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code to generate SQL to import building footprints #1423

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

mdsimpson42
Copy link
Contributor

This is the code, written by Mateusz, used to import building footprints into the database for use in the Colouring Cities Platform. This Python code will generate an SQL script, which can then be ran to import the data into the database.

I have added parameters for input and output filenames, so the user will need to edit the file to specify the location of the geojson file containing the footprints. They will also have to specify the location code for the area they want to import. It will then create the SQL script and save it in the same folder, generate_footprints.sql.

We should continue to iterate on this file to make it easier to use - for example, allowing the geojson filename to be passed in as a command line parameter. But for now, I am adding it to the project so that people have access to it to help get their platforms up and running.

See issue: #1421

@mdsimpson42
Copy link
Contributor Author

Merging because we're just adding a new file to a new folder. This shouldn't affect the rest of the code.

@mdsimpson42 mdsimpson42 merged commit 5c37503 into master Oct 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant