{"id":16457342,"url":"https://github.com/connectedsystems/rdl-mid-to-gpkg","last_synced_at":"2025-02-27T03:14:15.156Z","repository":{"id":115502503,"uuid":"370638476","full_name":"ConnectedSystems/rdl-mid-to-gpkg","owner":"ConnectedSystems","description":"MapInfo .mid to .gpkg convertor","archived":false,"fork":false,"pushed_at":"2021-06-09T11:25:18.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-12T10:30:23.232Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ConnectedSystems.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-25T09:33:52.000Z","updated_at":"2021-06-09T11:25:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"5702b870-f73f-4deb-832d-2d3055378eed","html_url":"https://github.com/ConnectedSystems/rdl-mid-to-gpkg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnectedSystems%2Frdl-mid-to-gpkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnectedSystems%2Frdl-mid-to-gpkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnectedSystems%2Frdl-mid-to-gpkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnectedSystems%2Frdl-mid-to-gpkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConnectedSystems","download_url":"https://codeload.github.com/ConnectedSystems/rdl-mid-to-gpkg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240970217,"owners_count":19886526,"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":[],"created_at":"2024-10-11T10:30:29.772Z","updated_at":"2025-02-27T03:14:15.129Z","avatar_url":"https://github.com/ConnectedSystems.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"rdl-mid-to-gpkg\n\nA utility program for GFDRR RDL to convert MapInfo files inside a 7z file or folder to geopackage.\n\nCurrently only tested on Windows.\n\nThis script assumes you have [7zip](https://www.7-zip.org/download.html) installed and available in PATH.\n\nIf unsure, see if this command returns an output with no error message.\n\n```bash\n$ 7z --help\n```\n\n# Usage\n\nIf the file is encrypted, set password as environment variable.\n\nIn a Windows terminal\n\n```bash\n$ set rdl_pw=SOME_PASSWORD\n```\n\nIf using powershell:\n\n```bash\n$ $env:rdl_pw = 'SOME_PASSWORD'\n```\n\nUse with the `convert-to-gpkg` command\n\n```bash\n# WARNING: Temporary file will be created in current location.\n$ python mid2gpkg.py convert-to-gpkg [PATH TO 7z FILE] --outdir [DESTINATION FOLDER]\n```\n\nIf `--outdir` is not specified, then the files are placed in a `gpkgs` directory created in the\ncurrent location.\n\n\n## Dev notes\n\n**Environment setup**\n\nHighly recommend using [`mamba`](https://mamba.readthedocs.io/en/latest/).\n\n```bash\n# Creating the environment\n$ conda install -c conda-forge mamba\n$ mamba env create -f environment.yml\n```\n\n\n**pip only approach**\n\n```bash\n$ pip install typer py7zr\n```\n\nDownload and install python binaries\n\nDownload the files for your python version and pip install each in the order shown below\n\n* https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal\n* https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyproj\n* https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely\n* https://www.lfd.uci.edu/~gohlke/pythonlibs/#fiona\n* https://www.lfd.uci.edu/~gohlke/pythonlibs/#geopandas\n\n```bash\n# Example:\n$ pip install GDAL-3.2.3-cp39-cp39-win_amd64.whl\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnectedsystems%2Frdl-mid-to-gpkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnectedsystems%2Frdl-mid-to-gpkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnectedsystems%2Frdl-mid-to-gpkg/lists"}