writeGeometryType method
Implementation
void writeGeometryType(int geometryType, Geometry g, List<int> os) {
int flag3D = (outputDimension == 3) ? 0x80000000 : 0;
int typeInt = geometryType | flag3D;
if (!doSpatialite) typeInt |= includeSRID ? 0x20000000 : 0;
writeInt(typeInt, os);
if (includeSRID && !doSpatialite) {
writeInt(g.getSRID(), os);
}
}