Was just having a look at the latest 1.0.2 version. Noticed some unused code //determine if its WKB or WKT semicolonLoc = strchr(str,';'); if (semicolonLoc == NULL) { start=str[0]; } else { start=semicolonLoc[1]; // one in } Start is never used, so I guess that strchr is wasted here. Regards Ralph