diethard2 / nl_basis Goto Github PK
View Code? Open in Web Editor NEWQGIS plugin to generate Spatiale databases from big zipped xml-files holding the basis registration geodata of the Netherlands
QGIS plugin to generate Spatiale databases from big zipped xml-files holding the basis registration geodata of the Netherlands
When running the tool, all data fields end up in text-format, including fields like: Huisnummer, Oppervlakte, etc.
This is a problem in released version 0.5.
When the plugin is installed it is not immediately added to the list processing tools.
When QGIS is restarted it is added.
I will need to fix this today and update the released plugin to 0.5.1
I tested the plugin on OSX Yosemite and Ubuntu 14.04 (trusty) and found out it creates the spatialite database and datamodel correctly. But unfortunately the data is not read from the zipped xml files. For the next release I need to find out the actual cause of this problem and if I can fix it.
I used the created plugin to create the bag.sqlite database in another place than where I created the layer styles to be loaded. I was surprised that the saved styles do not work anymore. When I looked at the table layer_styles in spatialite I see references to the C:\data\bag. I dumped the records, changed the reference to the new location and loaded the records back into the spatiality database. Now the styles are applied when loading the layers.
During creation I need to replace the folder with provided target folder.
Tabel33 Gemeententabel (gesorteerd op omschrijving).csv no longer seems to be available. Is there somewhere else this can be download from?
Following was experienced by Richard Duivenvoorde
Log using test files I have downloaded:
Algorithm Create BAG database starting...
The BAG database is created!
Create initial datamodel BAG database
Datamodel BAG database is created!
Start to read data in input folder and fill BAG database
not well-formed (invalid token): line 1, column 2 See log for more details
015-10-23T22:31:19 2 Uncaught error while executing algorithm
Traceback (most recent call last):
Traceback (most recent call last):| File
"/home/richard/apps/qgis/2.12/debug/share/qgis/python/plugins/processing/core/GeoAlgorithm.py",
line 230, in execute| self.processAlgorithm(progress)| File
"/home/richard/.qgis2/python/plugins/nl_basis/bag_algorithm.py", line
128, in processAlgorithm| self.fill_database(progress)| File
"/home/richard/.qgis2/python/plugins/nl_basis/bag_algorithm.py", line
164, in fill_database| filler.run()| File
"/home/richard/.qgis2/python/plugins/nl_basis/fill_bag_db.py", line 52,
in run| self.process_xml_file(root, name)| File
"/home/richard/.qgis2/python/plugins/nl_basis/fill_bag_db.py", line 124,
in process_xml_file| event, self._root = an_iterator.next()| File
"", line 91, in next|ParseError: not well-formed (invalid
token): line 1, column 2|
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.