[pgrouting-dev] [osm2pgrouting] Added support for large files on linux; Added error reporting log messages (#6)

For those using osm2pgrouting I’m forwarding this pull request, which sounds interesting.
If you have a time to test and try it out, feel free to comment to the pull request. And if there are no objections it can be merged into master branch.

Daniel

---------- Forwarded message ----------
From: fhackenberger <reply+i-2044857-b916295e127591f941a8f21df00e2015b01a2d54@reply.github.com>
Date: Tue, Oct 25, 2011 at 10:24 PM
Subject: [osm2pgrouting] Added support for large files on linux; Added error reporting log messages (#6)
To: Daniel Kastl <daniel@georepublic.de>

osm2pgrouting did not support reading files >2GB until now. Modified the Makefile to pass _FILE_OFFSET_BITS=64 to make fopen support large files.

Added a bit of extra logging code, which prints errors related to opening the input files.

You can merge this Pull Request by running:

git pull https://github.com/fhackenberger/osm2pgrouting master

Or you can view, comment on it, or merge it online at:

https://github.com/pgRouting/osm2pgrouting/pull/6

– Commit Summary –

  • Added support for large files on linux; Added error reporting log messages

– File Changes –

M Makefile (4)
M src/XMLParser.cpp (4)
M src/osm2pgrouting.cpp (12)

– Patch Links –

https://github.com/pgRouting/osm2pgrouting/pull/6.patch
https://github.com/pgRouting/osm2pgrouting/pull/6.diff


Reply to this email directly or view it on GitHub:
https://github.com/pgRouting/osm2pgrouting/pull/6


Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.de