- Notifications
You must be signed in to change notification settings - Fork1
A hand-written streaming byte parser for OpenStreetMap Protobuf data.
License
NotificationsYou must be signed in to change notification settings
fosskers/streaming-osm
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This library provides the ability to read and processOpenStreetMap data via thestreaming ecosystem. Sincestreaming allows for very little RAM overhead despite file size, we canprocess very large OSM PBF files just by providing a file path:
importStreamingimportStreaming.OsmimportqualifiedStreaming.PreludeasS--| Count all nodes.count::IO()count=do len<- runResourceT.S.length_. nodes. blocks$ blobs"yourfile.osm.pbf"print len
About
A hand-written streaming byte parser for OpenStreetMap Protobuf data.