pysal

Next topic

IOHandlers.pyDbfIO — DBF Plugin for PySAL’s FileIO System

This Page

IOHandlers.gwt — GWT Plugin for PySAL’s FileIO System

New in version 1.0.

class pysal.core.IOHandlers.gwt.GwtIO(*args, **kwargs)
class by_row(parent)
GwtIO.cast(key, typ)
cast key as typ
classmethod GwtIO.check()
Prints the contents of the registry
GwtIO.close()
GwtIO.flush()
GwtIO.get(n)
Seeks the file to n and returns n If .ids is set n should be an id, else, n should be an offset
static GwtIO.getType(dataPath)
Parse the dataPath and return the data type
GwtIO.ids
GwtIO.next()
A FileIO object is its own iterator, see StringIO
classmethod GwtIO.open(*args, **kwargs)
Alias for FileIO()
GwtIO.rIds
GwtIO.read(n=-1)
GwtIO.seek(pos)
GwtIO.shpName
GwtIO.tell()
Return id (or offset) of next object
GwtIO.truncate(size=None)
Should be implemented by subclasses and redefine this doc string
GwtIO.varName
GwtIO.write(obj)
.write(weightsObject) write a weights object to the opened file