bcdata_py
bcdata_py copied to clipboard
Python and command line tools for quick access to DataBC geo-data available via WFS
Data types for numbers in Oracle are generally described by the catalogue api in format `'data_type': 'NUMBER', 'data_precision': '4'`. The precision is not currently used when creating output table in...
An empty table can be created fairly quickly with `bcdata bc2pg -e -c 1 `, but this still takes a bit of time to round-trip from WFS. For automated testing...
Requesting just a small set of features is often handy, and is *much* faster than piping `bcdata cat` into `head`. Could use curl directly, but it would be simple to...
Breaking change that is not a priority but would make sense to me: - `-s` should be short for `--schema` --> `--sortby` could be changed to `--orderby` / `-o` -...
https://github.com/bcgov/bcdata/issues/342 Swapping in the test url (https://toyger.data.gov.bc.ca/) results in several failures: ``` $ py.test tests/test_bcdc.py ========================================= test session starts ========================================= platform darwin -- Python 3.11.9, pytest-8.0.1, pluggy-1.4.0 rootdir: /Users/snorris/Projects/repo/bcdata plugins:...
See error at https://github.com/smnorris/bcfishpass/actions/runs/9815019608/job/27103503942 Same error with bcdata v0.10.2 and v0.10.4, as long as no cached response is present. Something must have changed with the response?
If we know the type and provide it to the tool, the resulting geometry column should match!