Skip to content

Conversation

onnimonni
Copy link

Hey,

I really admire that you have created such a nice tool and this really helps querying OSM data when using duckdb since geoparquet works way better with it compared to .osm.pbf.

How ever the installation guide is pretty complex for dummies like me and I think it would help with the adoption if you would provide oneliner to install with homebrew. Thanks a lot for releasing this great tool 🙇🚀

Requirements before merging

Currently these steps will not work before you will actually fork the homebrew formula from my repository https://github.com/onnimonni/homebrew-ohsome-planet

In order to do this you need to for example run following commands:

$ git clone https://github.com/onnimonni/homebrew-ohsome-planet
$ cd homebrew-ohsome-planet
$ gh repo fork --org GIScience --fork-name homebrew-tap
$ git push origin main

Ensure that the fork will go into GIScience/homebrew-tap

Why would we not add it directly to homebrew?

I tried this already but it can't yet be added into hombrew formulas because they have silly rules like these:

$ HOMEBREW_NO_INSTALL_FROM_API=1 brew audit --new ohsome-planet
ohsome-planet
  * GitHub repository not notable enough (<30 forks, <30 watchers and <75 stars)

Once the ohsome-planet has enough forks/watchers/stars we can remove this repository and add it directly to homebrew.

To test the installation on Mac from my repository

# Install latest from the main branch
$ brew install onnimonni/ohsome-planet/ohsome-planet --build-from-source

# Install latest release 1.1.0
$ brew install onnimonni/ohsome-planet/ohsome-planet

@onnimonni
Copy link
Author

In a similiar manner here's also my attempt to package this into nix: NixOS/nixpkgs#433363

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant