GithubHelp home page GithubHelp logo

diethard2 / nl_basis Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 96 KB

QGIS plugin to generate Spatiale databases from big zipped xml-files holding the basis registration geodata of the Netherlands

Python 62.13% QML 35.92% HTML 1.95%

nl_basis's People

Contributors

diethard2 avatar

Watchers

 avatar  avatar

Forkers

andresmorales86

nl_basis's Issues

All data types are text

When running the tool, all data fields end up in text-format, including fields like: Huisnummer, Oppervlakte, etc.

Activate plugin in Plugin Manager does not activate plugin

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

plugin does not work on OSX and Ubuntu

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.

Saved Styles do not work when creating the bag database in another location than C:\data\bag

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.

Link to csv no longer available

Tabel33 Gemeententabel (gesorteerd op omschrijving).csv no longer seems to be available. Is there somewhere else this can be download from?

Error using test files

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|

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.