Hi @epehlivanli
We need to simplify the CSV portion of this script. It should only convert to json and mbtiles but not modify or add missing attributes. We should move that functionality into a new new script add_attributes_2_sarvey_csv_file.py and add this to the sarvey2insarmaps.py pipeline prior to hdfeos5_or_csv_2json_mbtiles.py. The CSV file should have the attributes as commented lines to be interpreted by our script:
# platform=S1
# relative_orbit=36
# platform=S1
# collection=geocorr
point_ID, latitude,longitude,displacement
333, 25.76,-80.19,12.3
That will make it easy to test/implement the point_ID features and other new functionality. And the we can retire the original script.
We also should commit example files to this repo for easy testing. I will start with that.
Hi @epehlivanli
We need to simplify the CSV portion of this script. It should only convert to json and mbtiles but not modify or add missing attributes. We should move that functionality into a new new script
add_attributes_2_sarvey_csv_file.pyand add this to the sarvey2insarmaps.py pipeline prior tohdfeos5_or_csv_2json_mbtiles.py. The CSV file should have the attributes as commented lines to be interpreted by our script:That will make it easy to test/implement the
point_IDfeatures and other new functionality. And the we can retire the original script.We also should commit example files to this repo for easy testing. I will start with that.