personal ogr example program snippets