Within a GDL application, you need to create spatial objects in memory to perform your comparison operations. Conceptually, these objects are called "shapes" and can be used to represent points, lines, or polygons. Just as handles need to be terminated to release system resources after use, so do shapes. Use gdlShapeFreeto deallocate memory used by shapes.