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

Daniel Kastl daniel at georepublic.de
Tue Oct 25 09:49:28 EDT 2011


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 at 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 at 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 at georepublic.de
Web: http://georepublic.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/pgrouting-dev/attachments/20111025/279fc811/attachment.html


More information about the pgrouting-dev mailing list