Commit Graph

30 Commits

Author SHA1 Message Date
Jochen Topf 01f1a3f0be Detect lz4 or zstd compressed data 2026-07-24 15:53:49 +02:00
Jochen Topf 719a26d4af Various code modernizations/fixes 2026-07-24 15:53:45 +02:00
Jochen Topf 5b6d2afa9c Use C++ versions of headers 2026-07-24 14:53:28 +02:00
Jochen Topf 830df177b5 Mark err() function as noreturn 2026-07-24 14:52:20 +02:00
Simon Legner 8857d08d80 Fix BSS buffer overflow in osmpbf-outline zlib decompression
Fixes #94.
2026-07-22 22:16:52 +02:00
probonopd 6483ae0dcb
#include <unistd.h>
Fixes compilation on FreeBSD
Closes #72
2023-10-01 23:58:09 +02:00
Jochen Topf 4edb4f04d0 Fix comment. 2015-07-15 11:41:38 +02:00
Jochen Topf 3c7756e965 Check if input file could be opened. 2014-03-11 11:24:18 +01:00
Jochen Topf 89c61197d2 Formatting and fixes one formatting-related bug.
There was a semikolon after an if()...
2014-03-10 20:57:20 +01:00
keine-ahnung 5fda268b7c osmpbf-outline.cpp: fixed incorrect text in debug-output 2014-02-24 01:52:27 +01:00
alex85k 72fdfb4ccb Added CMAKE project files and windows-compatibilty to osmpbf-outline 2013-06-04 17:38:55 +05:00
Hartmut Holzgraefe 77bb51d397 terminate longopt list to prevent crashes on FreeBSD 2011-06-12 10:52:22 +02:00
Jochen Topf 3479ac3f86 Make osmpbf-outline more robust
Add -g header for debugging.
Remove -O3 header because it led to a segfault on a corrupted PBF file in the fread() call. Strange!
Check result of ParseFromArray functions.
2011-06-06 12:06:35 +02:00
Peter 7d52ed25be disable colorization on !tty devices, add option to force colorization 2011-06-05 20:35:15 +02:00
Peter 4143aede64 use osmpbf.h 2011-06-05 18:49:58 +02:00
Jochen Topf d383d89f9a Used two flag variables with proper names instead of one just called 'flag'. Add return before BlobHeader ouput. 2011-06-01 14:21:06 +02:00
Jochen Topf dedab83286 fixed some descriptions 2011-06-01 14:06:44 +02:00
Peter b6cf2110ec show primblock metainfo 2011-05-25 21:28:43 +02:00
Peter a1f2b81332 tell about meta-info 2011-05-23 22:57:29 +02:00
Peter e2d430cbf9 look into the block 2011-05-23 22:17:29 +02:00
Peter 0fbe0f8cff make source & writingprogram optional 2011-05-23 21:54:19 +02:00
Peter f1c905e60f bbox reader 2011-05-23 21:51:59 +02:00
Peter 3727704d2b even more documentation 2011-05-23 21:44:54 +02:00
Peter f5a5dde412 stdout, i said! 2011-05-23 21:35:40 +02:00
Peter 072daaee0a always color to stdout 2011-05-23 21:35:13 +02:00
Peter a02882c423 read osmheader 2011-05-23 16:46:09 +02:00
Peter e82bd8f39c more color, more documentation 2011-05-23 16:35:01 +02:00
Peter d0134bd840 decompression 2011-05-23 14:41:45 +02:00
Peter e634d7ae1b read blobs 2011-05-23 14:35:32 +02:00
Peter 922411b27a mockup for outlining tool 2011-05-23 10:31:24 +02:00