85 This pr supports rendering point annotations from a csv file. Most of the mechanisms have already been implemented in #94, so I only added a method to convert string coordinates read from the csv to a list of tuples.
Changes
All of the changes are in main_view.py
process_points_annotations(): This method loops through all annotations from the csv and check if each is point annotation. If it is and has been annotated, the annotation string is converted to a list of tuples.
csv_json_import_selected_evt(): It is modified to call process_points_annotations() before adding the annotations to the model.
Context
85 This pr supports rendering point annotations from a csv file. Most of the mechanisms have already been implemented in #94, so I only added a method to convert string coordinates read from the csv to a list of tuples.
Changes
All of the changes are in
main_view.py
process_points_annotations()
: This method loops through all annotations from the csv and check if each is point annotation. If it is and has been annotated, the annotation string is converted to a list of tuples.csv_json_import_selected_evt()
: It is modified to callprocess_points_annotations()
before adding the annotations to the model.