Giter Club home page Giter Club logo

Comments (4)

tygrysio avatar tygrysio commented on July 21, 2024

Perhaps the problem stems from the fact that the road follows the same trail as the tramline.
I think when the paths coincide, each node generates an intersection point. Maybe it can be detected and eliminated somehow.

from osm2pgrouting.

cvvergara avatar cvvergara commented on July 21, 2024

When you mention "It gets something like this."
the map shows only nodes and the data is osm data.
A curved line geometry is made out of many nodes.
I do not know which table you are showing on your image, but the nodes that belong to intersections are on table ways_vertices_pgr
does the image of nodes come from that table?

from osm2pgrouting.

tygrysio avatar tygrysio commented on July 21, 2024

Yes. Circles are nodes in the ways_vertices_pgr table. I used the map image to see it better.

I solved the problem with osmfilter.
I have noticed that osm2pgrouting generates nodes when a road crosses railroads, pedestrian crossings and cycle routes.
You can get rid of it by using an osmfilter .

There are also vertices whose origin I don't understand. Maybe they are the outlines of intersections or roads. However, I cannot get rid of them.

from osm2pgrouting.

cvvergara avatar cvvergara commented on July 21, 2024

Roads are segmented like with speed bumps, stop signs, pedestrian crossings, etc

from osm2pgrouting.

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.