<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 14, 2015, at 12:59 PM, Roger André <<a href="mailto:randre@gmail.com">randre@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi All,<div><br></div><div>I have a tool which currently exports geometry using the ExportToWkt() function.  It works great, but I'd like to try reducing the size of my output files by using a format like the string representation of WKB that shp2pgsql produsces when creating SQL insert files.  Is there a export function available in GDAL that I could use for this?</div><div><br></div><div>I'm looking at <a href="http://www.gdal.org/classOGRGeometry.html">http://www.gdal.org/classOGRGeometry.html</a> currently, but have not yet spotted what I'm looking for.</div><div><br></div><div>Thanks,</div></div></blockquote><div><br></div><div>see</div><div><a href="http://www.gdal.org/ogr__api_8h.html#ad5c94ae76c09774dba8725c24daeefd6">http://www.gdal.org/ogr__api_8h.html#ad5c94ae76c09774dba8725c24daeefd6</a></div><div>or</div><div><a href="http://www.gdal.org/classOGRGeometry.html#a9a3ad2f9b55285be500ca6ac5dc75d1d">http://www.gdal.org/classOGRGeometry.html#a9a3ad2f9b55285be500ca6ac5dc75d1d</a></div></div></body></html>