<div dir="ltr"><grin>  Yes Even, exportToWkb() was something I tried, but I thought there might be an easy way to get the ASCII form of the WKB, rather than the straight binary that I got when I wrote out to a text file.<div><br></div><div>Norman, thanks for the links. I'll go peruse them.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 14, 2015 at 10:10 AM, Norman Vine <span dir="ltr"><<a href="mailto:nhv@cape.com" target="_blank">nhv@cape.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><span class=""><div>On Oct 14, 2015, at 12:59 PM, Roger André <<a href="mailto:randre@gmail.com" target="_blank">randre@gmail.com</a>> wrote:</div><br><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" target="_blank">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></span><div>see</div><div><a href="http://www.gdal.org/ogr__api_8h.html#ad5c94ae76c09774dba8725c24daeefd6" target="_blank">http://www.gdal.org/ogr__api_8h.html#ad5c94ae76c09774dba8725c24daeefd6</a></div><div>or</div><div><a href="http://www.gdal.org/classOGRGeometry.html#a9a3ad2f9b55285be500ca6ac5dc75d1d" target="_blank">http://www.gdal.org/classOGRGeometry.html#a9a3ad2f9b55285be500ca6ac5dc75d1d</a></div></div></div></blockquote></div><br></div>