{"id":24490107,"url":"https://github.com/linz/linz-bde-copy","last_synced_at":"2025-04-13T23:05:01.979Z","repository":{"id":2330398,"uuid":"1396132","full_name":"linz/linz-bde-copy","owner":"linz","description":"LINZ software for pre-processing Landonline BDE files.","archived":false,"fork":false,"pushed_at":"2023-06-18T22:55:36.000Z","size":35318,"stargazers_count":4,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-06-19T04:59:49.632Z","etag":null,"topics":["bde","cmake","lds"],"latest_commit_sha":null,"homepage":"http://data.linz.govt.nz","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2011-02-22T03:57:03.000Z","updated_at":"2023-07-05T15:15:48.501Z","dependencies_parsed_at":"2023-07-05T18:31:32.687Z","dependency_job_id":null,"html_url":"https://github.com/linz/linz-bde-copy","commit_stats":null,"previous_names":[],"tags_count":25,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linz%2Flinz-bde-copy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linz%2Flinz-bde-copy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linz%2Flinz-bde-copy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linz%2Flinz-bde-copy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linz","download_url":"https://codeload.github.com/linz/linz-bde-copy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234988207,"owners_count":18918097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bde","cmake","lds"],"created_at":"2025-01-21T17:17:03.534Z","updated_at":"2025-01-21T17:17:04.182Z","avatar_url":"https://github.com/linz.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LINZ bde_copy\n\n[![Actions Status](https://github.com/linz/linz-bde-copy/workflows/test/badge.svg?branch=master)](https://github.com/linz/linz-bde-copy/actions)\n\nProgramme that extracts LINZ Bulk Data Extracts (BDE) files and optionally creates normalised files\nthat are more suitable for loading into external systems. BDE files were once available as a public\nformat for accessing Landonline data, but has now been discontinued. However the BDE file format is\nstill used internally for transfering data from the Landonline system to the\n[LDS](https://data.linz.govt.nz). For more information see\n[here](http://www.linz.govt.nz/data/linz-data/property-ownership-and-boundary-data/historic-property-databases)\n\n## Copyright\n\nCopyright 2011 Crown copyright (c) Land Information New Zealand and the New Zealand Government. All\nrights reserved.\n\n## License\n\nThis program is released under the terms of the license contained in the file LICENSE.\n\n## Running `bde_copy`\n\nSee `bde_copy.help` or run `bde_copy -?` for more information\n\n## Build Requirements\n\n`bde_copy` requires the cross platform make system `cmake`. Version 2.8 or greater must be\ndownloaded and installed. See www.cmake.org for more information\n\n`bde_copy` also requires `zlib` for `gzip` compression support. www.zlib.net\n\n## How to Build on Windows (Visual Studio 2008)\n\n- Install cmake 2.8 from www.cmake.org. Make sure you have cmake in your path\n- Install the complete zlib development library from\n  http://gnuwin32.sourceforge.net/packages/zlib.htm\n- In the top level of `bde_copy` source directory create a \"build\" directory:\n\n```\n    mkdir build\n    cd build\n```\n\n- Run cmake for a visual studio release project\n\n```\n    cmake -G \"Visual Studio 9 2008\" -DCMAKE_BUILD_TYPE=Release ..\n```\n\n- Open up the Visual Studio solution file `bde_copy.sln` and then build the solution\n- You should now have new build `bde_copy` in MSWin32/Release directory.\n\n## How to Build on UNIX (GNU make)\n\n- Make sure cmake is installed\n- Make sure zlib runtime library and development headers are installed\n- In the top level of `bde_copy` source directory create a \"build\" directory:\n\n```\n    mkdir build \u0026\u0026 cd build\n```\n\n- Run cmake (setting the install path to /usr):\n\n```\n    cmake -DCMAKE_INSTALL_PREFIX=/usr ..\n```\n\n- Make and (optionally) run tests and install:\n\n```\n    make\n    make check\n    make install\n```\n\nTo create a debug build use\n\n```\n    cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..\n```\n\n## Testing\n\nIf you have Nix installed you can simply run\n`nix-shell --pure --run 'mkdir -p build \u0026\u0026 cd build \u0026\u0026 cmake -DCMAKE_INSTALL_PREFIX=$(mktemp --directory) .. \u0026\u0026 make \u0026\u0026 make check \u0026\u0026 make install'`\n\nOtherwise, make sure you have Perl installed on your system.\n\nOn GNU systems you can run tests using `make check`, or run\n`testdata/runtests.bash \u003cabs_path_to_build_dir\u003e`.\n\nFor windows, change into testdata directory and run `runtests.bat`, then use a programme like kdiff3\nor BeyondCompare and do a directory comparison between the output and validate directories. At a\nfuture point this will be automated so file comparisons are not required.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinz%2Flinz-bde-copy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinz%2Flinz-bde-copy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinz%2Flinz-bde-copy/lists"}