fix bug: releaseDataSource() after writing complete
finish convert pg datasource layer into GML file