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

Error in the .format of the cbm/scripts/extraction/postgisS2Extract.py #5

Open
jsegu opened this issue Apr 29, 2021 · 1 comment
Open
Assignees

Comments

@jsegu
Copy link

jsegu commented Apr 29, 2021

In the script "cbm/scripts/extraction/postgisS2Extract.py", the query parcelcountsql on line 127 has 7 "{}" and the .format on line 137 has 9 words. The code of incurs.execute should look like this:

incurs.execute(parcelcountsql.format(
    dbconfig['tables']['parcel_table'],
    dbconfig['tables']['aoi_table'], srid, srid,
    dbconfig['args']['aoi_field'], dbconfig['args']['name'],oid))
@glemoine62
Copy link
Collaborator

We have recently refactored the extraction code. It is significantly faster now. This should replace the current extraction code, hopefully before the end of this month (May 2021). Thanks for your contribution.

@glemoine62 glemoine62 self-assigned this May 2, 2021
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

No branches or pull requests

2 participants