Skip to content

Commit 458dacd

Browse files
committed
V69
- Config back to default - Geometry data was not always copied to adressen table.
1 parent 6e51b6f commit 458dacd

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import psutil
44

5-
version = 68
5+
version = 69
66
version_date = '31 July 2023'
77

88
locale.setlocale(locale.LC_ALL, 'nl_NL')
@@ -39,7 +39,7 @@
3939

4040
# Enable if you want to parse geometry data for woonplaatsen, panden, ligplaatsen and standplaatsen.
4141
# The data is stored in polygon geojson format in the geometry field.
42-
# And the database size will increase from 1.7GB to 16GB or 8GB if no longer needed tables are deleted.
42+
# And the database size will increase from 1.7GB to 16GB. Or 7GB with delete_no_longer_needed_bag_tables enabled.
4343
# Parsing will also take a few minutes more.
4444
parse_geometries = False
4545

database_sqlite/database_sqlite.py

+1
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ def adressen_import_meerdere_panden(self):
356356
# Maybe add a multi-bouwjaar and multi-geometry option later.
357357
self.connection.executescript("""
358358
UPDATE adressen SET
359+
geometry = p.geometry,
359360
bouwjaar = p.bouwjaar
360361
FROM (
361362
SELECT

readme.MD

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ WGS84 coordinates if you need higher accuracy.
115115
values that are separated by commas. Be careful if you do queries with joins on those fields.
116116
* Adressen table:
117117
* Some gebruiksdoel and pand_id fields contain multiple values that are separated by commas.
118-
* The bouwjaar field always contains a single bouwjaar, even if an address has multiple panden.
118+
* The bouwjaar and geometry field only contain the data of one pand, even if an address has multiple panden.
119119
* There are probably several more things missing that I don't know about. Feel free to file a [GitHub issue](https://github.com/digitaldutch/BAG_parser/issues).
120120

121121
## Documents

0 commit comments

Comments
 (0)