Autore Topic: 'scale' is an unexpected token  (Letto 9947 volte)

stefan ungureanu

  • Newbie
  • *
  • Post: 4
    • Mostra profilo
'scale' is an unexpected token
« il: 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

cepe

  • Administrator
  • Hero Member
  • *****
  • Post: 623
    • Mostra profilo
Re:'scale' is an unexpected token
« Risposta #1 il: Ottobre 18, 2023, 08:31:34 pm »
Send me the file...

stefan ungureanu

  • Newbie
  • *
  • Post: 4
    • Mostra profilo
Re:'scale' is an unexpected token
« Risposta #2 il: 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 :)

cepe

  • Administrator
  • Hero Member
  • *****
  • Post: 623
    • Mostra profilo
Re:'scale' is an unexpected token
« Risposta #3 il: 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.