|
21 | 21 | #include <ctime> |
22 | 22 | #include <unistd.h> |
23 | 23 |
|
24 | | -#include <boost/algorithm/string/predicate.hpp> |
25 | | -#include <boost/exception_ptr.hpp> |
26 | | -#include <boost/format.hpp> |
27 | | - |
28 | 24 | #include "expire-tiles.hpp" |
29 | 25 | #include "middle.hpp" |
30 | 26 | #include "node-ram-cache.hpp" |
|
39 | 35 | #include "wildcmp.hpp" |
40 | 36 | #include "wkb.hpp" |
41 | 37 |
|
42 | | -/* make the diagnostic information work with older versions of |
43 | | - * boost - the function signature changed at version 1.54. |
44 | | - */ |
45 | | -#if BOOST_VERSION >= 105400 |
46 | | -#define BOOST_DIAGNOSTIC_INFO(e) boost::diagnostic_information((e), true) |
47 | | -#else |
48 | | -#define BOOST_DIAGNOSTIC_INFO(e) boost::diagnostic_information((e)) |
49 | | -#endif |
50 | | - |
51 | | -/* example from: pg_dump -F p -t planet_osm gis |
52 | | -COPY planet_osm (osm_id, name, place, landuse, leisure, "natural", man_made, waterway, highway, railway, amenity, tourism, learning, building, bridge, layer, way) FROM stdin; |
53 | | -17959841 \N \N \N \N \N \N \N bus_stop \N \N \N \N \N \N -\N 0101000020E610000030CCA462B6C3D4BF92998C9B38E04940 |
54 | | -17401934 The Horn \N \N \N \N \N \N \N \N pub \N \N \N \N -\N 0101000020E6100000C12FC937140FD5BFB4D2F4FB0CE04940 |
55 | | -... |
56 | | -
|
57 | | -mine - 01 01000000 48424298424242424242424256427364 |
58 | | -psql - 01 01000020 E6100000 30CCA462B6C3D4BF92998C9B38E04940 |
59 | | - 01 01000020 E6100000 48424298424242424242424256427364 |
60 | | -0x2000_0000 = hasSRID, following 4 bytes = srid, not supported by geos WKBWriter |
61 | | -Workaround - output SRID=4326;<WKB> |
62 | | -*/ |
63 | | - |
64 | | - |
65 | | -/* |
66 | | -COPY planet_osm (osm_id, name, place, landuse, leisure, "natural", man_made, waterway, highway, railway, amenity, tourism, learning, bu |
67 | | -ilding, bridge, layer, way) FROM stdin; |
68 | | -198497 Bedford Road \N \N \N \N \N \N residential \N \N \N \N \N \N \N 0102000020E610000004000000452BF702B342D5BF1C60E63BF8DF49406B9C4D470037D5BF5471E316F3DF4940DFA815A6EF35D5BF9AE95E27F5DF4940B41EB |
69 | | -E4C1421D5BF24D06053E7DF4940 |
70 | | -212696 Oswald Road \N \N \N \N \N \N minor \N \N \N \N \N \N \N 0102000020E610000004000000467D923B6C22D5BFA359D93EE4DF4940B3976DA7AD11D5BF84BBB376DBDF4940997FF44D9A06D5BF4223D8B8FEDF49404D158C4AEA04D |
71 | | -5BF5BB39597FCDF4940 |
72 | | -*/ |
73 | 38 | void output_pgsql_t::pgsql_out_way(osmium::Way const &way, taglist_t *tags, |
74 | 39 | bool polygon, bool roads) |
75 | 40 | { |
|
0 commit comments