GithubHelp home page GithubHelp logo

Comments (10)

joto avatar joto commented on August 24, 2024

@simonpoole Anything still to do here?

from osm-binary.

simonpoole avatar simonpoole commented on August 24, 2024

Yes, this weekend (likely).

from osm-binary.

joto avatar joto commented on August 24, 2024

@simonpoole ping?

from osm-binary.

simonpoole avatar simonpoole commented on August 24, 2024

I was actually thinking on working on it when I get back next week.

from osm-binary.

divyanshuagarwal-23 avatar divyanshuagarwal-23 commented on August 24, 2024

Hello @joto I am a new contributor
I saw this open issue
can you share the base branch, I will create a PR from "Fix_OSMHeader_block_compression" to the base branch

Also @simonpoole is there any channel I can join to be in sync with the issues and project updates?

from osm-binary.

simonpoole avatar simonpoole commented on August 24, 2024

I was actually thinking on working on it when I get back next week.

Hmm this wasn't actually the issue I was thinking about when I wrote that. Anyway @divyanshuagarwal-23 this wouldn't really seem to be a good beginner issue, but by all means feel free to to port the PR if it is even still necessary.

from osm-binary.

divyanshuagarwal-23 avatar divyanshuagarwal-23 commented on August 24, 2024

@simonpoole I would like to work on the core codebase of OSM-binary, and need initial mentorship
please help me with this

from osm-binary.

divyanshuagarwal-23 avatar divyanshuagarwal-23 commented on August 24, 2024

Do you have any slack channel that I joining and learn

from osm-binary.

joto avatar joto commented on August 24, 2024

If I understand this issue correctly it is about the OSMHeader file block that should not be compressed. But there is only one place where we create such a file block and that is in a test file where compression is set to null. So I don't see how we can apply this patch from Osmosis here!?

@simonpoole Did I misunderstand something here? Can we close this?

from osm-binary.

simonpoole avatar simonpoole commented on August 24, 2024

Sigh, the confusion lies here openstreetmap/osmosis#109 (comment)

When I saw @brettch comment I mistakenly assumed he had removed all vendored bits wrt pbf handling. But that only applies to osmosis-osm-binary and not osmosis-pbf (which is the bit that writes OSMHeader file blocks).

So the only change necessary -here- is the mini change to expose the CompressFlag enum so that it can be used in the osmosis package. See https://github.com/openstreetmap/osmosis/pull/109/files#diff-e98fe772c729b5020654d4563dcb3c03bdf132f91a351adcd3a39467262bb0cb

I'll create a PR today or tomorrow. Sorry for the confusion.

PS: it could be argued that this was always a bug as the public method BlockOutputStream.write(FileBlock block, CompressFlags compression) references the only package level visible CompressFlags.

from osm-binary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.