GithubHelp home page GithubHelp logo

Comments (5)

joto avatar joto commented on July 23, 2024

Can you try to replace every occurance of the form {1, {1.2, 2.3}} with osmium::NodeRef{1, osmium::Location{1.2, 2.3}} (with any number of course)?

from libosmium.

alex85k avatar alex85k commented on July 23, 2024

My first attempt was unsuccessful, will try again later.

from libosmium.

alex85k avatar alex85k commented on July 23, 2024

I confirm that the only remaining visible Windows-bug is #38 . Just tried using osmium_convert and osmium_dump on Bulgaria dump 45Mb(pbf)-1Gb(osm) - no crashes or visible errors. I'll try to find a solution for #38 and add test/osm-testdata to autotesting.

from libosmium.

alex85k avatar alex85k commented on July 23, 2024

The error is in passing initializer list into buffer_add_area .
Experiments showed, that the simplified code gives the same error

    const std::vector<std::pair<bool,
        const std::vector<int>
        >> &test =  { { true,   { 10, 20, 30 } }};

but the code

    const std::vector<std::pair<bool,
        std::vector<int>
        >> &test =  { { true,   { 10, 20, 30 } }};

compiles well. So the proposed fix is simple:
alex85k@5931171
I do not know exactly why it helped :)

from libosmium.

joto avatar joto commented on July 23, 2024

I don't understand it either. :-) But awesome anyway!

from libosmium.

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.