Closed loicgasser closed 8 years ago
i have fixed the data in bod_master and added a constraint in the database to the column and some other columns too:
update re3.layers_js SET fk_config3d = NULL WHERE pk_layer in ('ch.bafu.gewaesserschutz-biologischer_zustand_diatomeen','ch.swisstopo.images-spot-5.metadata');
ALTER TABLE re3.layers_js
ADD CONSTRAINT fk_config3d_carriage_return CHECK ( fk_config3d ~* '^[a-z0-9\.\-_]+$' ) ;
ALTER TABLE re3.layers_js
ADD CONSTRAINT pk_layer_carriage_return CHECK ( pk_layer ~* '^[a-z0-9\.\-_]+$' ) ;
ALTER TABLE re3.layers_js
ADD CONSTRAINT fk_id_dataset_carriage_return CHECK ( fk_id_dataset ~* '^[a-z0-9\.\-_]+$' ) ;
You rule ! And you are super reactive. Thanks
+1. Will be fixed on next deploy.
2 layers don't work in 3d because of a configuration mistake (
config3d: " "
) see:and
and try
We should make sure that all the config 3d keys start with
ch.
if we want to avoid this kind of errors.You can also try: Test Link