cSurvey Forum

cSurvey => Bug => Topic aperto da: stefan ungureanu - Ottobre 18, 2023, 12:00:13 pm

Titolo: 'scale' is an unexpected token
Inserito da: stefan ungureanu - Ottobre 18, 2023, 12:00:13 pm

scale is an unexplected token expecting white space..
i cannot load  the 1p file so it is related to the drawing the data only file can be loaded
Titolo: Re:'scale' is an unexpected token
Inserito da: cepe - Ottobre 18, 2023, 08:31:34 pm
Send me the file...
Titolo: Re:'scale' is an unexpected token
Inserito da: stefan ungureanu - Dicembre 19, 2023, 11:48:43 pm
i attached the file, it is actually another file, this happened to me 2 times and i usually redraw in Csurvey over a jpeg made from the  Csv file but it takes a wile :)
Titolo: Re:'scale' is an unexpected token
Inserito da: cepe - Dicembre 21, 2023, 05:32:58 pm
Is this file generated by topodroid?
I mean: you never edit it in cSurvey?
As I can see the problem in the xml: at row 1248 a 'space' is missing between "xx0" and "scale":
Citazione
<item type="point" name="label" cave="P_CASCADEI" branch="1" text="muschi pe travertin"  bind="xx0"scale="0" orientation="0.00" options="" >
You can fix manually adding the missing space.
If the file was made by Topodroid I suggest to update (manually) to the new Topodroid version 6 that use a different logic in cSurvey export and, I guess,  solve this problem.
As far as I knows Topodroid v5 is not more updated.