Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HTTP to osmosis-pbf2 module #62

Merged
merged 3 commits into from
Apr 22, 2020
Merged

Conversation

mgcuthbert
Copy link
Contributor

This PR simply allows you to use http with the osmosis-pbf2 module. This really is just a convenience thing, so instead of downloading the pbf at http://server and then executing osmosis on the downloaded file, you can just reference the http location directly in the command like so:
osmosis --read-pbf-fast file="http://server:post/filelocation"

This does not update the osmosis-pbf module, as it is my assumption that it is deprecated (why would choose to read it slower?). However if it is required the exact same code can be applied to the osmosis-pbf module code.

@migurski
Copy link
Collaborator

PBF2 is only used for reads with the --read-pbf-fast task, right?

@migurski migurski merged commit 69f5b12 into openstreetmap:master Apr 22, 2020
@mgcuthbert
Copy link
Contributor Author

Yes, from my understanding that is correct.

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.

2 participants