Commit Graph

61 Commits

Author SHA1 Message Date
Jochen Topf 6554a40cdf Add osmpbf.h
The idea is that this file can be included and will include all needed other
files and contain some definitions. Not used yet, though.
2011-06-01 14:40:24 +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
Jochen Topf 37c9543593 Merge pull request #1 from MaZderMind/osmpbf-outline
Osmpbf outline tool
2011-06-01 04:59:15 -07: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
Jochen Topf 64f587f2eb changed deb file from osmpbf-dev to libosmpbf-dev 2011-04-14 12:07:25 +02:00
Jochen Topf c7dce29491 Added README, debian config 2011-04-13 22:40:46 +02:00
Jochen Topf 6916a46656 what was this doing here? 2011-04-13 22:15:47 +02:00
Jochen Topf fb44931f3b Consistent reference to LGPL 2011-04-13 21:47:56 +02:00
Jochen Topf 15f74101a4 Add Makefile to build .h files and lib 2011-04-13 21:45:20 +02:00
Jochen Topf 155c54ce62 Use LITE_RUNTIME option.
This way we can link to the smaller libprotobuf-lite. We can't use
reflection, but thats not really needed in most cases.
2011-04-13 21:41:59 +02:00
Scott Crosby f27077761a Added in Maven POM by Zsombor Welker <flaktack@welker.hu> 2011-03-20 08:57:52 -05:00
Scott Crosby 754a33afcc Added build file by Giovanni Mascellani. 2011-01-12 20:09:12 -06:00
Scott Crosby 87d7de3090 Get rid of the input.available call. 2011-01-10 22:22:00 -06:00
Scott Crosby fdb5facaff Add in LGPL copyright notices to the osmpbf library. 2011-01-02 20:21:48 -06:00
Scott Crosby f0ea2798ed Rename BlockHeader to BlobHeader 2010-12-21 11:39:02 -06:00
Scott Crosby 2b9b791603 Revert "Make a duplicate class OSMHeaderBlock that contains the same header data. Deprecate the old HeaderBlock."
Keep the old name.

This reverts commit 0618651553.
2010-12-21 11:36:21 -06:00
Scott Crosby 7575c1c9bd Change output when dumping granularity. 2010-12-14 11:26:13 -06:00
Scott Crosby 5233aaac0f Remap how we handle compression. 2010-12-14 11:24:58 -06:00
Scott Crosby b26c2e7da1 Define NODATE as Date(-1), or a date before 1970. 2010-12-14 11:24:47 -06:00
Scott Crosby f9de3cfc3c Code for building a test file. 2010-12-14 11:21:53 -06:00
Scott Crosby 0618651553 Make a duplicate class OSMHeaderBlock that contains the same header data. Deprecate the old HeaderBlock. 2010-12-14 10:03:05 -06:00
Scott Crosby ebb5cc57ca Remove dead code that causes a warning. 2010-12-14 10:02:20 -06:00
Scott Crosby f2d631527f Set the default date to be Jan 1 1970, not the current date. 2010-12-14 10:01:45 -06:00
Scott Crosby 3b1400109a Leave the LZMA support enabled, so that existing implementations will compile. 2010-12-11 11:36:17 -06:00
Scott Crosby 67d5ae5a1e Depreciate lzma and bzip2 compressed blocks.
No encoder has ever supported bzip2 or lzma. bzip2 has a poor
time/compression ratio, so obsolete it right now. lzma can be
considered for future use, so indicate it as a proposed extension.
2010-12-11 11:23:28 -06:00
Scott Crosby c8ebe317b8 Rremove the tag number for the proposed, but disabled, BBox extension.
The tag number is a duplicate with another field.
2010-11-16 11:39:01 -06:00
Scott Crosby 704cb83b3b For uncompressed data, store the uncompressed size. 2010-11-16 11:35:29 -06:00
Scott Crosby a879cdef06 Put the protobufs into a package.
Suggestion of ChristianVetter
2010-10-16 22:05:17 -05:00
Scott Crosby 571610d0d2 Obsolete the Changeset Message. 2010-10-07 11:55:09 -05:00
Scott Crosby b1e265f444 Allow timestamps to be 64 bit.
FORMAT-COMPATIBLE CHANGE --- doesn't change the encoding format.
API-INCOMPATIBLE CHANGE --- does break the API.
2010-10-07 11:54:53 -05:00
Scott Crosby 5f48470e21 Warn about files too big that they may cause failures. 2010-10-07 11:51:31 -05:00
Scott Crosby 6d760534c4 Allow bigger blocks before erroring out, and comment the bounds. 2010-09-16 13:42:05 -05:00
Scott Crosby 7be01e2217 Add in more error detection. 2010-09-15 11:41:26 -05:00
Scott Crosby eb251c32ea Whitespace and comment tweaks to protobuf. 2010-09-13 08:59:21 -05:00
Scott Crosby a1b2112264 Document more of the API for BinaryParser. 2010-09-08 07:48:54 -05:00
Scott Crosby e60be5b100 Strip off all non-osmosis metadata.
Until the metadata management in osm/osmosis is more thought out,
just match the existing schema.
2010-09-08 07:48:17 -05:00
Scott Crosby 8a7f784de2 Change API for invoking per-type primitivegroup serializers.
Before, when calling the per-type serializer, we passed it the
encapsulating primitiveblock, into which it would place a newly allocated
primitive group.

Instead, have it return the new group, and then we store in the primitive
block. This will help with re-using per-type serializers for serializing
into non-primitiveblocks.
2010-09-08 07:47:23 -05:00