State before generating entities (GEO) from database

Signed-off-by: drandx <garjuanpablo@gmail.com>