Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the osmpbf Reference Manual, version 0.0.1, generated automatically by Declt version 3.0 "Montgomery Scott" on Sun May 15 05:44:22 2022 GMT+0.
• Introduction | What osmpbf is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
osmpbf
, the Lisp OSM PBF format readerThis library lets you read OpenStreetMap map data encoded in PBF format in the Common Lisp programming language, for whatever mapping-related needs you might have.
Basic support for reading nodes, ways, and relations is currently there (and it might even be somewhat performant; who knows!). Node metadata information is, however, not decoded yet.
git clone
-ing the repo into ~/common-lisp/
should do the trick.)com.google.base
, protobuf
, chipz
, nibbles
and flexi-streams
. (If Quicklisp is installed, running (ql:quickload :osmpbf)
should do this, and load the library as well!)(asdf:load-system :osmpbf)
and watch the compiler output scroll by.Basically, you open your PBF file, specifying something like :direction :input :element-type (unsigned-byte 8)
, and pass the resulting stream to get-next-primitive-groups
, repeating until you hit the end of the file.
CL-USER> (with-open-file (file "sample.pbf"
:direction :input
:element-type '(unsigned-byte 8))
(osmpbf:get-next-primitive-groups file))
(#<OSMPBF:PRIMITIVE-GROUP nodes: (#<NODE #653970877 (51.7636027d0, -0.22875700000000002d0) tags: NIL>
#<NODE #647105170 (51.76359050000001d0, -0.23446450000000002d0) tags: NIL>
#<NODE #672663476 (51.7657492d0, -0.2290703d0) tags: NIL>
#<NODE #241806356 (51.7689451d0, -0.23266170000000003d0) tags: NIL>
... snip ...)
The :element-type
bit is important; if you leave it out, it'll yell at you.
To figure out how to actually get useful things from the data returned, have a look at
the goodies in the osmtypes.lisp
file, and their associated documentation.
On that note...
Is currently in the form of docstrings. Use the Source, Luke!
MIT
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The osmpbf system |
eta
MIT
Library to read OpenStreetMap PBF-encoded files.
0.0.1
osmpbf.asd (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
Next: The osmpbf/packages․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
osmpbf.asd
osmpbf (system)
Next: The osmpbf/fileformat․lisp file, Previous: The osmpbf․asd file, Up: Lisp files [Contents][Index]
osmpbf (system)
packages.lisp
Next: The osmpbf/osmformat․lisp file, Previous: The osmpbf/packages․lisp file, Up: Lisp files [Contents][Index]
packages.lisp (file)
osmpbf (system)
fileformat.lisp
Next: The osmpbf/osmtypes․lisp file, Previous: The osmpbf/fileformat․lisp file, Up: Lisp files [Contents][Index]
fileformat.lisp (file)
osmpbf (system)
osmformat.lisp
Next: The osmpbf/tag-translation․lisp file, Previous: The osmpbf/osmformat․lisp file, Up: Lisp files [Contents][Index]
osmformat.lisp (file)
osmpbf (system)
osmtypes.lisp
Next: The osmpbf/osmpbf․lisp file, Previous: The osmpbf/osmtypes․lisp file, Up: Lisp files [Contents][Index]
osmtypes.lisp (file)
osmpbf (system)
tag-translation.lisp
make-tag-cons (function)
Previous: The osmpbf/tag-translation․lisp file, Up: Lisp files [Contents][Index]
tag-translation.lisp (file)
osmpbf (system)
osmpbf.lisp
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The osmpbf/protobuf-inner package | ||
• The osmpbf package |
Next: The osmpbf package, Previous: Packages, Up: Packages [Contents][Index]
packages.lisp (file)
opb
Previous: The osmpbf/protobuf-inner package, Up: Packages [Contents][Index]
packages.lisp (file)
common-lisp
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported constants | ||
• Exported special variables | ||
• Exported functions | ||
• Exported generic functions | ||
• Exported conditions | ||
• Exported classes | ||
• Exported types |
Next: Exported special variables, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
Next: Exported functions, Previous: Exported constants, Up: Exported definitions [Contents][Index]
osmpbf.lisp (file)
osmpbf.lisp (file)
osmpbf.lisp (file)
osmpbf.lisp (file)
The package where OSM tag names are interned. Defaults to ‘keyword’; use ‘nil‘ for the current package.
tag-translation.lisp (file)
Whether or not to translate OSM tag names to symbols. Defaults to ‘t’.
tag-translation.lisp (file)
Tag names where the tag *values* should also be translated to symbols. Defaults to ‘nil’.
tag-translation.lisp (file)
Next: Exported generic functions, Previous: Exported special variables, Up: Exported definitions [Contents][Index]
Get the next batch of PRIMITIVE-GROUP objects from the PBF octet stream STREAM. STREAM must have element type (UNSIGNED-BYTE 8), otherwise an error will be signalled.
If EOF-ERROR-P is false, returns NIL if an end-of-file condition is reached.
osmpbf.lisp (file)
osmpbf.lisp (file)
Reads an OSM fileblock, of any type, from STREAM, and returns it. May signal an END-OF-FILE condition.
osmpbf.lisp (file)
Translates an OSM tag name to a Lisp symbol, interning it in *OSM-SYMBOLS-PACKAGE*.
tag-translation.lisp (file)
Next: Exported conditions, Previous: Exported functions, Up: Exported definitions [Contents][Index]
osmformat.lisp (file)
(setf bbox) (generic function)
bbox (generic function)
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
fileformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
fileformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
fileformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
fileformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
fileformat.lisp (file)
fileformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
fileformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
fileformat.lisp (file)
automatically generated reader method
fileformat.lisp (file)
automatically generated writer method
fileformat.lisp (file)
fileformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
(setf dense) (generic function)
dense (generic function)
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
(setf denseinfo) (generic function)
denseinfo (generic function)
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
List of nodes.
osmtypes.lisp (file)
List of relations.
osmtypes.lisp (file)
List of ways.
osmtypes.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
fileformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
fileformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
fileformat.lisp (file)
fileformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
fileformat.lisp (file)
fileformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
fileformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
fileformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
fileformat.lisp (file)
automatically generated writer method
fileformat.lisp (file)
fileformat.lisp (file)
osmformat.lisp (file)
(setf info) (generic function)
info (generic function)
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
fileformat.lisp (file)
automatically generated writer method
fileformat.lisp (file)
fileformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
Latitude in degrees.
osmtypes.lisp (file)
Longitude in degrees.
osmtypes.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
fileformat.lisp (file)
automatically generated writer method
fileformat.lisp (file)
fileformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
OSM relation ID.
osmtypes.lisp (file)
OSM way ID.
osmtypes.lisp (file)
OSM node ID.
osmtypes.lisp (file)
Association list of tags associated with this way.
osmtypes.lisp (file)
Association list of tags associated with this way.
osmtypes.lisp (file)
Association list of tags associated with this node.
osmtypes.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
fileformat.lisp (file)
automatically generated writer method
fileformat.lisp (file)
fileformat.lisp (file)
automatically generated reader method
fileformat.lisp (file)
automatically generated writer method
fileformat.lisp (file)
fileformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
Association list of relation members (mapping relation role to object).
osmtypes.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
osmformat.lisp (file)
(setf stringtable) (generic function)
stringtable (generic function)
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
fileformat.lisp (file)
automatically generated writer method
fileformat.lisp (file)
fileformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
List of node IDs contained in this way.
osmtypes.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
osmformat.lisp (file)
automatically generated reader method
fileformat.lisp (file)
automatically generated writer method
fileformat.lisp (file)
fileformat.lisp (file)
Next: Exported classes, Previous: Exported generic functions, Up: Exported definitions [Contents][Index]
osmpbf.lisp (file)
condition (condition)
osmpbf::name
invalid-osm-fileblock-name (generic function)
(setf invalid-osm-fileblock-name) (generic function)
Next: Exported types, Previous: Exported conditions, Up: Exported definitions [Contents][Index]
fileformat.lisp (file)
protocol-buffer (class)
(simple-array (unsigned-byte 8) (*))
(make-array 0 :element-type (quote (unsigned-byte 8)))
raw (generic function)
(setf raw) (generic function)
(signed-byte 32)
0
raw-size (generic function)
(setf raw-size) (generic function)
(simple-array (unsigned-byte 8) (*))
(make-array 0 :element-type (quote (unsigned-byte 8)))
zlib-data (generic function)
(setf zlib-data) (generic function)
(simple-array (unsigned-byte 8) (*))
(make-array 0 :element-type (quote (unsigned-byte 8)))
lzma-data (generic function)
(setf lzma-data) (generic function)
(simple-array (unsigned-byte 8) (*))
(make-array 0 :element-type (quote (unsigned-byte 8)))
obsolete-bzip2-data (generic function)
(setf obsolete-bzip2-data) (generic function)
(unsigned-byte 5)
0
%has-bits% (generic function)
(setf %has-bits%) (generic function)
(integer 0 4611686018427387900)
0
fileformat.lisp (file)
protocol-buffer (class)
protocol-buffer::%sf%
(protocol-buffer:string-field "")
type (generic function)
(setf type) (generic function)
(simple-array (unsigned-byte 8) (*))
(make-array 0 :element-type (quote (unsigned-byte 8)))
indexdata (generic function)
(setf indexdata) (generic function)
(signed-byte 32)
0
datasize (generic function)
(setf datasize) (generic function)
(unsigned-byte 3)
0
%has-bits% (generic function)
(setf %has-bits%) (generic function)
(integer 0 4611686018427387900)
0
osmformat.lisp (file)
protocol-buffer (class)
(unsigned-byte 1)
0
%has-bits% (generic function)
(setf %has-bits%) (generic function)
(integer 0 4611686018427387900)
0
osmformat.lisp (file)
protocol-buffer (class)
(vector (signed-byte 32))
(make-array 0 :element-type (quote (signed-byte 32)) :fill-pointer 0 :adjustable t)
version (generic function)
(setf version) (generic function)
(integer 0 4611686018427387900)
0
%version-cached-size% (generic function)
(setf %version-cached-size%) (generic function)
(vector (signed-byte 64))
(make-array 0 :element-type (quote (signed-byte 64)) :fill-pointer 0 :adjustable t)
timestamp (generic function)
(setf timestamp) (generic function)
(integer 0 4611686018427387900)
0
%timestamp-cached-size% (generic function)
(setf %timestamp-cached-size%) (generic function)
(vector (signed-byte 64))
(make-array 0 :element-type (quote (signed-byte 64)) :fill-pointer 0 :adjustable t)
changeset (generic function)
(setf changeset) (generic function)
(integer 0 4611686018427387900)
0
%changeset-cached-size% (generic function)
(setf %changeset-cached-size%) (generic function)
(vector (signed-byte 32))
(make-array 0 :element-type (quote (signed-byte 32)) :fill-pointer 0 :adjustable t)
uid (generic function)
(setf uid) (generic function)
(integer 0 4611686018427387900)
0
%uid-cached-size% (generic function)
(setf %uid-cached-size%) (generic function)
(vector (signed-byte 32))
(make-array 0 :element-type (quote (signed-byte 32)) :fill-pointer 0 :adjustable t)
user-sid (generic function)
(setf user-sid) (generic function)
(integer 0 4611686018427387900)
0
%user-sid-cached-size% (generic function)
(setf %user-sid-cached-size%) (generic function)
(vector boolean)
(make-array 0 :element-type (quote boolean) :fill-pointer 0 :adjustable t)
visible (generic function)
(setf visible) (generic function)
(integer 0 4611686018427387900)
0
%visible-cached-size% (generic function)
(setf %visible-cached-size%) (generic function)
(unsigned-byte 6)
0
%has-bits% (generic function)
(setf %has-bits%) (generic function)
(integer 0 4611686018427387900)
0
osmformat.lisp (file)
protocol-buffer (class)
(integer 0 4611686018427387900)
0
%id-cached-size% (generic function)
(setf %id-cached-size%) (generic function)
(or null osmpbf/protobuf-inner:dense-info)
(setf denseinfo) (generic function)
(vector (signed-byte 64))
(make-array 0 :element-type (quote (signed-byte 64)) :fill-pointer 0 :adjustable t)
lat (generic function)
(setf lat) (generic function)
(integer 0 4611686018427387900)
0
%lat-cached-size% (generic function)
(setf %lat-cached-size%) (generic function)
(vector (signed-byte 64))
(make-array 0 :element-type (quote (signed-byte 64)) :fill-pointer 0 :adjustable t)
lon (generic function)
(setf lon) (generic function)
(integer 0 4611686018427387900)
0
%lon-cached-size% (generic function)
(setf %lon-cached-size%) (generic function)
(vector (signed-byte 32))
(make-array 0 :element-type (quote (signed-byte 32)) :fill-pointer 0 :adjustable t)
keys-vals (generic function)
(setf keys-vals) (generic function)
(integer 0 4611686018427387900)
0
%keys-vals-cached-size% (generic function)
(setf %keys-vals-cached-size%) (generic function)
(unsigned-byte 5)
0
%has-bits% (generic function)
(setf %has-bits%) (generic function)
(integer 0 4611686018427387900)
0
osmformat.lisp (file)
protocol-buffer (class)
(signed-byte 64)
0
left (generic function)
(setf left) (generic function)
(signed-byte 64)
0
right (generic function)
(setf right) (generic function)
(signed-byte 64)
0
top (generic function)
(setf top) (generic function)
(signed-byte 64)
0
bottom (generic function)
(setf bottom) (generic function)
(unsigned-byte 4)
0
%has-bits% (generic function)
(setf %has-bits%) (generic function)
(integer 0 4611686018427387900)
0
osmformat.lisp (file)
protocol-buffer (class)
(or null osmpbf/protobuf-inner:header-b-box)
(setf bbox) (generic function)
(vector protocol-buffer::%sf%)
(make-array 0 :element-type (quote protocol-buffer::%sf%) :fill-pointer 0 :adjustable t)
required-features (generic function)
(setf required-features) (generic function)
(vector protocol-buffer::%sf%)
(make-array 0 :element-type (quote protocol-buffer::%sf%) :fill-pointer 0 :adjustable t)
optional-features (generic function)
(setf optional-features) (generic function)
protocol-buffer::%sf%
(protocol-buffer:string-field "")
writingprogram (generic function)
(setf writingprogram) (generic function)
protocol-buffer::%sf%
(protocol-buffer:string-field "")
source (generic function)
(setf source) (generic function)
(signed-byte 64)
0
osmosis-replication-timestamp (generic function)
(setf osmosis-replication-timestamp) (generic function)
(signed-byte 64)
0
osmosis-replication-sequence-number (generic function)
(setf osmosis-replication-sequence-number) (generic function)
protocol-buffer::%sf%
(protocol-buffer:string-field "")
osmosis-replication-base-url (generic function)
(setf osmosis-replication-base-url) (generic function)
(unsigned-byte 8)
0
%has-bits% (generic function)
(setf %has-bits%) (generic function)
(integer 0 4611686018427387900)
0
osmformat.lisp (file)
protocol-buffer (class)
(signed-byte 32)
-1
version (generic function)
(setf version) (generic function)
(signed-byte 64)
0
timestamp (generic function)
(setf timestamp) (generic function)
(signed-byte 64)
0
changeset (generic function)
(setf changeset) (generic function)
(signed-byte 32)
0
uid (generic function)
(setf uid) (generic function)
(unsigned-byte 32)
0
user-sid (generic function)
(setf user-sid) (generic function)
boolean
visible (generic function)
(setf visible) (generic function)
(unsigned-byte 6)
0
%has-bits% (generic function)
(setf %has-bits%) (generic function)
(integer 0 4611686018427387900)
0
osmformat.lisp (file)
protocol-buffer (class)
(vector (unsigned-byte 32))
(make-array 0 :element-type (quote (unsigned-byte 32)) :fill-pointer 0 :adjustable t)
keys (generic function)
(setf keys) (generic function)
(integer 0 4611686018427387900)
0
%keys-cached-size% (generic function)
(setf %keys-cached-size%) (generic function)
(vector (unsigned-byte 32))
(make-array 0 :element-type (quote (unsigned-byte 32)) :fill-pointer 0 :adjustable t)
vals (generic function)
(setf vals) (generic function)
(integer 0 4611686018427387900)
0
%vals-cached-size% (generic function)
(setf %vals-cached-size%) (generic function)
(or null osmpbf/protobuf-inner:info)
(setf info) (generic function)
(signed-byte 64)
0
lat (generic function)
(setf lat) (generic function)
(signed-byte 64)
0
lon (generic function)
(setf lon) (generic function)
(unsigned-byte 6)
0
%has-bits% (generic function)
(setf %has-bits%) (generic function)
(integer 0 4611686018427387900)
0
osmtypes.lisp (file)
standard-object (class)
OSM node ID.
:integer
:id
osm-obj-id (generic function)
(setf osm-obj-id) (generic function)
Association list of tags associated with this node.
:tags
osm-obj-tags (generic function)
(setf osm-obj-tags) (generic function)
Latitude in degrees.
:double
:lat
node-lat (generic function)
(setf node-lat) (generic function)
Longitude in degrees.
:double
:lon
node-lon (generic function)
(setf node-lon) (generic function)
osmformat.lisp (file)
protocol-buffer (class)
(or null osmpbf/protobuf-inner:string-table)
(setf stringtable) (generic function)
(vector osmpbf/protobuf-inner:primitive-group)
(make-array 0 :element-type (quote osmpbf/protobuf-inner:primitive-group) :fill-pointer 0 :adjustable t)
primitivegroup (generic function)
(setf primitivegroup) (generic function)
(signed-byte 32)
100
granularity (generic function)
(setf granularity) (generic function)
(signed-byte 64)
0
lat-offset (generic function)
(setf lat-offset) (generic function)
(signed-byte 64)
0
lon-offset (generic function)
(setf lon-offset) (generic function)
(signed-byte 32)
1000
date-granularity (generic function)
(setf date-granularity) (generic function)
(unsigned-byte 6)
0
%has-bits% (generic function)
(setf %has-bits%) (generic function)
(integer 0 4611686018427387900)
0
osmformat.lisp (file)
protocol-buffer (class)
(vector osmpbf/protobuf-inner:node)
(make-array 0 :element-type (quote osmpbf/protobuf-inner:node) :fill-pointer 0 :adjustable t)
nodes (generic function)
(setf nodes) (generic function)
(or null osmpbf/protobuf-inner:dense-nodes)
(setf dense) (generic function)
(vector osmpbf/protobuf-inner:way)
(make-array 0 :element-type (quote osmpbf/protobuf-inner:way) :fill-pointer 0 :adjustable t)
ways (generic function)
(setf ways) (generic function)
(vector osmpbf/protobuf-inner:relation)
(make-array 0 :element-type (quote osmpbf/protobuf-inner:relation) :fill-pointer 0 :adjustable t)
relations (generic function)
(setf relations) (generic function)
(vector osmpbf/protobuf-inner:change-set)
(make-array 0 :element-type (quote osmpbf/protobuf-inner:change-set) :fill-pointer 0 :adjustable t)
changesets (generic function)
(setf changesets) (generic function)
(unsigned-byte 5)
0
%has-bits% (generic function)
(setf %has-bits%) (generic function)
(integer 0 4611686018427387900)
0
osmtypes.lisp (file)
standard-object (class)
List of nodes.
:nodes
group-nodes (generic function)
(setf group-nodes) (generic function)
List of ways.
:ways
group-ways (generic function)
(setf group-ways) (generic function)
List of relations.
:relations
group-relations (generic function)
(setf group-relations) (generic function)
osmformat.lisp (file)
protocol-buffer (class)
(vector (unsigned-byte 32))
(make-array 0 :element-type (quote (unsigned-byte 32)) :fill-pointer 0 :adjustable t)
keys (generic function)
(setf keys) (generic function)
(integer 0 4611686018427387900)
0
%keys-cached-size% (generic function)
(setf %keys-cached-size%) (generic function)
(vector (unsigned-byte 32))
(make-array 0 :element-type (quote (unsigned-byte 32)) :fill-pointer 0 :adjustable t)
vals (generic function)
(setf vals) (generic function)
(integer 0 4611686018427387900)
0
%vals-cached-size% (generic function)
(setf %vals-cached-size%) (generic function)
(or null osmpbf/protobuf-inner:info)
(setf info) (generic function)
(vector (signed-byte 32))
(make-array 0 :element-type (quote (signed-byte 32)) :fill-pointer 0 :adjustable t)
roles-sid (generic function)
(setf roles-sid) (generic function)
(integer 0 4611686018427387900)
0
%roles-sid-cached-size% (generic function)
(setf %roles-sid-cached-size%) (generic function)
(vector (signed-byte 64))
(make-array 0 :element-type (quote (signed-byte 64)) :fill-pointer 0 :adjustable t)
memids (generic function)
(setf memids) (generic function)
(integer 0 4611686018427387900)
0
%memids-cached-size% (generic function)
(setf %memids-cached-size%) (generic function)
(vector osmpbf/protobuf-inner:relation-member-type)
(make-array 0 :element-type (quote osmpbf/protobuf-inner:relation-member-type) :fill-pointer 0 :adjustable t)
types (generic function)
(setf types) (generic function)
(integer 0 4611686018427387900)
0
%types-cached-size% (generic function)
(setf %types-cached-size%) (generic function)
(unsigned-byte 7)
0
%has-bits% (generic function)
(setf %has-bits%) (generic function)
(integer 0 4611686018427387900)
0
osmtypes.lisp (file)
standard-object (class)
OSM relation ID.
:integer
:id
osm-obj-id (generic function)
(setf osm-obj-id) (generic function)
Association list of tags associated with this way.
:tags
osm-obj-tags (generic function)
(setf osm-obj-tags) (generic function)
Association list of relation members (mapping relation role to object).
:members
relation-members (generic function)
(setf relation-members) (generic function)
osmformat.lisp (file)
protocol-buffer (class)
(unsigned-byte 1)
0
%has-bits% (generic function)
(setf %has-bits%) (generic function)
(integer 0 4611686018427387900)
0
osmformat.lisp (file)
protocol-buffer (class)
(vector (unsigned-byte 32))
(make-array 0 :element-type (quote (unsigned-byte 32)) :fill-pointer 0 :adjustable t)
keys (generic function)
(setf keys) (generic function)
(integer 0 4611686018427387900)
0
%keys-cached-size% (generic function)
(setf %keys-cached-size%) (generic function)
(vector (unsigned-byte 32))
(make-array 0 :element-type (quote (unsigned-byte 32)) :fill-pointer 0 :adjustable t)
vals (generic function)
(setf vals) (generic function)
(integer 0 4611686018427387900)
0
%vals-cached-size% (generic function)
(setf %vals-cached-size%) (generic function)
(or null osmpbf/protobuf-inner:info)
(setf info) (generic function)
(vector (signed-byte 64))
(make-array 0 :element-type (quote (signed-byte 64)) :fill-pointer 0 :adjustable t)
refs (generic function)
(setf refs) (generic function)
(integer 0 4611686018427387900)
0
%refs-cached-size% (generic function)
(setf %refs-cached-size%) (generic function)
(unsigned-byte 5)
0
%has-bits% (generic function)
(setf %has-bits%) (generic function)
(integer 0 4611686018427387900)
0
osmtypes.lisp (file)
standard-object (class)
OSM way ID.
:integer
:id
osm-obj-id (generic function)
(setf osm-obj-id) (generic function)
Association list of tags associated with this way.
:tags
osm-obj-tags (generic function)
(setf osm-obj-tags) (generic function)
List of node IDs contained in this way.
:refs
way-refs (generic function)
(setf way-refs) (generic function)
Previous: Exported classes, Up: Exported definitions [Contents][Index]
osmformat.lisp (file)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal functions | ||
• Internal generic functions | ||
• Internal types |
Next: Internal generic functions, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
Reverses delta-encoding on the INPUT vector, returning a vector of the same size with regular decoded values.
osmpbf.lisp (file)
Create an alist of key/value pairs, using the indexes provided by KEYS and VALS into STRING-TABLE. Translates the keys to symbols if *PERFORM-TAG-NAME-TRANSLATION* is T.
osmpbf.lisp (file)
Make a NODE object, transforming the LAT and LON coordinates.
osmpbf.lisp (file)
Return a cons cell for the tag NAME=VALUE, performing tag/name value translation if configured to.
tag-translation.lisp (file)
Create a list of alists of key/value pairs, using the packed indexes in PACKED into STRING-TABLE. Translates the keys to symbols if *PERFORM-TAG-NAME-TRANSLATION* is T.
osmpbf.lisp (file)
osmpbf.lisp (file)
osmpbf.lisp (file)
Parse an object of class CLASS from the bytes stored in VECTOR.
osmpbf.lisp (file)
osmpbf.lisp (file)
osmpbf.lisp (file)
osmpbf.lisp (file)
Take a STRING-TABLE object and convert it into, uh, an actual vector of strings.
osmpbf.lisp (file)
osmpbf.lisp (file)
Read a BLOB, of length LENGTH bytes, from STREAM, and return the buffer of data contained therein, uncompressing it if necessary. Returns the buffer’s actual length as a second value.
osmpbf.lisp (file)
Read a BLOB-HEADER from STREAM.
osmpbf.lisp (file)
Reads LENGTH bytes out of STREAM, and returns an array containing these bytes. If an EOF is encountered midway through reading, signals an END-OF-FILE condition.
osmpbf.lisp (file)
Reads the int4 header length of the next BlobHeader from STREAM and returns it.
osmpbf.lisp (file)
Read an object of class CLASS from STREAM, reading LENGTH bytes.
osmpbf.lisp (file)
Transforms the coordinate (lat/lon) stored in VALUE from the PBF format to a regular double, using the GRANULARITY and OFFSET provided.
osmpbf.lisp (file)
Next: Internal types, Previous: Internal functions, Up: Internal definitions [Contents][Index]
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
osmformat.lisp (file)
automatically generated writer method
osmformat.lisp (file)
automatically generated reader method
fileformat.lisp (file)
automatically generated writer method
fileformat.lisp (file)
automatically generated reader method
fileformat.lisp (file)
automatically generated writer method
fileformat.lisp (file)
osmpbf.lisp (file)
Previous: Internal generic functions, Up: Internal definitions [Contents][Index]
osmpbf.lisp (file)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | F L O |
---|
Jump to: | F L O |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | %
(
B C D F G H I K L M N O P R S T U V W Z |
---|
Jump to: | %
(
B C D F G H I K L M N O P R S T U V W Z |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | %
*
+
B C D G I K L M N O P R S T U V W Z |
---|
Jump to: | %
*
+
B C D G I K L M N O P R S T U V W Z |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | B C D H I N O P R S T W |
---|