add sql for creating view for purposes of exporting to a .osm file