Ticket #161 (new task)

Opened 16 months ago

Last modified 13 months ago

osm2pgrouting patch by Vladislav Shikhov

Reported by: anton Owned by: somebody
Priority: major Milestone:
Component: osm2pgrouting Version:
Keywords: Cc:


Saved from the mailing list

Fist of all I'd like to admit that this patch doesn't solve all the osm2pgroute problems. Please, take it as is. The main idea was to store nodes not in the memory, but in the DB and select them on demand. It makes "-clean" arg unusable, but I introduce a new arg "-stage" with values starting from 0 (default). Now you can interrupt osm2pgroute after the message "Split ways" and rerun it again with "-stage 2", it will reuse previously imported nodes.

fell free to ask any questions, regards, Vladislav Shikhov

We encourage our community members to try this patch with different data sets and report results here.


db.patch Download (18.2 KB) - added by anton 16 months ago.

Change History

Changed 16 months ago by anton

Changed 13 months ago by ole

this patch doesnt work-

While parsing file for creating ways, every node is read from db, and a NEW object is created from it:

node->numsOfUse is never >1,

so function OSMDocument::SplitWays?() fails

Note: See TracTickets for help on using tickets.