use of org.n52.sos.ds.SosCacheFeederHandler in project SOS by 52North.
the class SosCacheFeederDAOTest method initCacheFeeder.
@Before
public void initCacheFeeder() {
instance = new SosCacheFeederHandler();
SOSHibernateSessionHolder holder = new SOSHibernateSessionHolder();
holder.setConnectionProvider(this);
instance.setConnectionProvider(holder);
GeometryHandler geometryHandler = new GeometryHandler();
geometryHandler.setAuthority("EPSG");
geometryHandler.setStorageEpsg(4326);
geometryHandler.setSpatialDatasource(true);
geometryHandler.init();
instance.setGeometryHandler(geometryHandler);
}
Aggregations