code for GeoDB production