shapefiles.private vocabulary
Factor handbook ยป Vocabulary index


Summary

Words

Tuple classes
ClassSuperclassSlots
header tuplefile-code file-length version shape-type x-min y-min x-max y-max z-min z-max m-min m-max
index tupleoffset content-length
non-null-shapes-must-be-same-type tupleshape-types
record tuplenumber content-length shape


Generic words
WordStack effect
(write-shape)( shape -- )
shape-type( shape -- shape-type )
update-bounds( header shape -- header )


Ordinary words
WordStack effect
(read-multipoint)( -- box points )
check-shape-types( shapes -- )
file>shp( path -- header records )
file>shx( path -- header indices )
non-null-shape-types( shapes -- shape-types )
non-null-shapes-must-be-same-type( shape-types -- * )
nth-index( n path -- index )
nth-record( n path -- record )
num-records( path -- n )
read-box( -- box )
read-double( -- n )
read-doubles( n -- array )
read-header( -- header )
read-index( -- index/f )
read-indices( -- indices )
read-int( -- n )
read-ints( n -- parts )
read-multipatch( -- multipatch )
read-multipoint( -- multipoint )
read-multipoint-m( -- multipoint-m )
read-multipoint-z( -- multipoint-z )
read-point( -- point )
read-point-m( -- point-m )
read-point-z( -- point-z )
read-points( n -- points )
read-poly( -- box parts points )
read-poly-m( -- box parts points m-range m-array )
read-poly-z( -- box parts points z-range z-array m-range m-array )
read-range( -- range )
read-record( -- record/f )
read-records( -- records )
read-shape( -- shape )
read-shp( -- header records )
read-shx( -- header indices )
update-box( header shape -- header )
update-m-range( header shape -- header )
update-z-range( header shape -- header )
write-double( n -- )
write-header( header -- )
write-index( index -- )
write-int( n -- )
write-m( shape -- )
write-point( point -- )
write-poly( poly -- )
write-poly-m( poly -- )
write-poly-z( poly -- )
write-record( shape index -- )
write-shape( shape -- )
write-shp( shapes -- header indices )
write-shx( header indices -- )
write-z( shape -- )


Class predicate words
WordStack effect
header?( object -- ? )
index?( object -- ? )
non-null-shapes-must-be-same-type?( object -- ? )
record?( object -- ? )


Files