convert MULTILINE in LINE and create views with polygon. add clean before create for most tables and views