diff --git a/.gitignore b/.gitignore index c016218..f3aa25e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ src/*.pb.h src/*.pb.o src/libosmpbf.a +*.swp diff --git a/src/osmpbf.h b/src/osmpbf.h new file mode 100644 index 0000000..6bff1a8 --- /dev/null +++ b/src/osmpbf.h @@ -0,0 +1,20 @@ +#ifndef OSMPBF_H +#define OSMPBF_H + +// this describes the low-level blob storage +#include + +// this describes the high-level OSM objects +#include + +namespace osmpbf { + + // the maximum size of a blob header in bytes + const int max_blob_header_size = 64 * 1024; + + // the maximum size of a blob in bytes + const int max_uncompressed_blob_size = 32 * 1024 * 1024; + +} + +#endif // OSMPBF_H