totalopenstation
totalopenstation copied to clipboard
[FEATURE] Export as Trimble CSV (used for LandSurveyCodesImport QGIS plugin)
Is your feature request related to a problem? Please describe.
If I'm not wrong. The tool exports CSV like this:
"pid","type","point_name","x","y","z","angle","z_angle","distance","th","ih","circle","station"
There are a lot of CSV formats, but I would like to have a Trimble CSV like format, to use it in another tool (QGIS plugin) called LandSurveyCodesImport.
This format is something like:
id,x,y,z,attribute1,attribute2,...,attributeN
where attributeX are optional.
Describe the solution you'd like
An option to export the CSV in this format.
Describe alternatives you've considered
Export in CSV and translate it in our plugin, since we planned to support other formats.
Additional context
I'm the author of the plugin LandSurveyCodesImport and QGIS core committer, working mostly on CAD, geometry part. I'm working on dedicated surveying and civil solution.
I started to write some converter in my plugin - I wrote Trimble JobXML to CSV, but I think it's useless since you have already done the job here. Instead, I would like to connect these tools to offer a complete suite for surveyors (in QGIS).
Oh, I've forgotten to mention that I can work on this feature :)
I am happy to read this. My first goal, long time ago was to use Tops in conjonction with FreeCAD and the Arch workbench but... I just see that FreeCAD has a lots of workbenches around Architecture and Construction.
But why not integrating QGIS ! I just would like a less expensive solution than Mensura or Covadis even if I am not anymore a surveyor.
To get back to the subject, I have began to work and think about a way to have more flexibility around import and export of data using regex and ini files. I have some dev branches but I am far from the end yet.
Thanks @lbartoletti for choosing to integrate Total Open Station in your workflow. I don't think there is any particular reason for the current field names of the CSV export and their order, so I propose to simply adapt the existing CSV output format to the Trimble CSV format (I didn't know it existed).
Since you mention QGIS, I'm happy to cite the work done by @enzococca on a new plugin that integrates Total Open Station straight into QGIS https://github.com/enzococca/totalopenstationToQgis
I think he knows it cause he already proposes some PR ^^