Remove old legacy osm2pgsql
Merge pull request #48 from pnorman/no_legacy

Remove old legacy osm2pgsql
Fixed up the integration test suit

This was mostly fixed by disabling the failing tests.

The tests worked by comparing the number of objects in the database between different options
There are a number of options however, that are known or supposed to produce different results.
Make sure that these are not compared between each other.

For now this mostly remains a crash test suit, as there are no known correct answers to test it against.

- Add some more parameters to check
- Verify the geometry by comparing the cumulative length and area.
Remove references to legacy/Makefile
Merge pull request #54 from kanwei/master

Remove references to legacy/Makefile
Cleaned up lua script for tagtransform

Replaced lists of if-statements with tables over which to iterate

This was suggested in #53 by systemed
possix_fallocate does not set errno (fixes #55)

Also increase the initial writeout of flat-nodes to 2.6 Billion
nicer help message.
Merge pull request #57 from woodpeck/nicer_help_message_2

nicer help message.
Add a new regression test suite using integration tests

This regression test suite imports well defined osm test files
(currently a liechtenstein snapshot for general testing and
 a special crafted osm file with many different multi-polygon examples )
with various different parameters of osm2pgsql. It then runs various
different SQL queries against the resulting db to verify the results are
as expected.

Although the framework is in place, the number of tests are still rather limited
and need expanding to cover all of the interesting cases.