OEWriteShapeQuery

OEWriteShapeQuery(filename: str, query: OEShapeQueryPublic) -> bool
OEWriteShapeQuery(filename: str, query: OEShapeQueryBase) -> bool
OEWriteShapeQuery(ofs: oeostream, query: OEShapeQueryBase) -> bool

Writes a query given in the second parameter. The first overload writes the query in the specified file and the second overload writes it to a oeostream. Method returns True if write is successful.