Fixing query for random status
Sample current occurence data
Data model simplification by removing the asset code column and rename of gid's in id's + WMS extra parameter change