Author Topic: Inkscape Speleo point offset problem  (Read 937 times)

Offline caver.adam

  • regular
  • *
  • Posts: 43
Inkscape Speleo point offset problem
« on: May 30, 2015, 10:40:31 pm »
I'm not sure if anyone else on here uses Inkscape with the Speleo extension. I've started having a problem with the newest version where my points are offset from my lines when I save my file as a .th2 file.

Has anyone else seen this or does anyone know of a fix?

Here's a link to a simple SVG that is having the problem for me:
https://www.dropbox.com/s/0l0sebdqbnkx3gg/2014_10_25_surv2_plan2.svg?dl=0

And here's a link to the .th2 file where the points are offset:
https://www.dropbox.com/s/nmij8ghf9pfn9f5/2014_10_25_surv2_plan2.th2?dl=0

Offline graham

  • Retired
  • forum hero
  • *****
  • Posts: 10943
  • UBSS, Speleo-Club de Perigueux, GSG, SUI
    • UBSS
Re: Inkscape Speleo point offset problem
« Reply #1 on: May 30, 2015, 11:01:32 pm »
I don't know the answer, but I suggest that you post this to the Therion mailing list where there are numerous users of this particular program.
Caving is for Life not just for Christmas

Offline caver.adam

  • regular
  • *
  • Posts: 43
Re: Inkscape Speleo point offset problem
« Reply #2 on: June 01, 2015, 03:05:14 am »
Ok, talking the Thomas thru github. Will bring it up over there if this doesn't pan out. And if I figure it out I'll probably post there anyway.

Offline caver.adam

  • regular
  • *
  • Posts: 43
Re: Inkscape Speleo point offset problem
« Reply #3 on: June 02, 2015, 10:39:49 pm »
Thomas resolved my issue for me. I'm including it here in case anyone comes across this thread in the future.

Quote
The problem is related to the "viewBox" attribute of the root svg node. If I remove the viewBox attribute, points are exported correct to th2. You probably don't need the viewBox transformation, so as a workaround you could just remove that (using the XML editor in Inkscape or a text editor).

Quote
Open your SVG file with Inkscape, then open the XML editor (Edit > XML Editor), click the root node (<svg:svg id="...">), click the viewBox attribute, click the button above the attribute table which has a little white x on red background, that's the delete button.