Use auxdata to cache geometry in GeomFromText and GeomFromWKB.