Protobuf-net Deserialize Open Street Maps

Posted by jonperl on Stack Overflow See other posts from Stack Overflow or by jonperl
Published on 2011-01-11T22:20:42Z Indexed on 2011/01/14 21:53 UTC
Read the original article Hit count: 321

Filed under:
|

For the life of me I cannot deserialize the protobuf file from Open Street Maps.

I am trying to deserialize the following extract: http://download.geofabrik.de/osm/north-america/us-northeast.osm.pbf to get Nodes and I am using http://code.google.com/p/protobuf-net/ as the library. I have tried to deserialize a bunch of different objects but they all come up null.

The proto files can be found here: http://trac.openstreetmap.org/browser/applications/utils/export/osm2pgsql/protobuf

Any suggestions?

© Stack Overflow or respective owner

Related posts about protobuf-net

Related posts about openstreetmap