SVG scaling is 1:3 instead of 1:1 (1.1.1)

Report new issues and add information on existing ones.

Moderator: Kyete

Post Reply
User avatar
Balmung
Posts: 236
Joined: Sun Mar 28, 2021 2:12 pm
Location: Germany

SVG scaling is 1:3 instead of 1:1 (1.1.1)

Post by Balmung » Thu Nov 02, 2023 6:04 pm

I created a SVG asset (a cube) in Inkscape with 100x100mm. When I place this object in OWM its new dimensions are 32x32mm.

This reminds me of the font scaling issue - which seems to be also a 1:3 ratio.

I attached the svg and a map file.
Attachments
svg-cube-scaling.zip
(1.94 KiB) Downloaded 4907 times

User avatar
Kyete
Site Moderator
Posts: 241
Joined: Tue Nov 11, 2014 4:52 pm

Re: SVG scaling is 1:3 instead of 1:1 (1.1.1)

Post by Kyete » Mon Jul 01, 2024 10:57 am

I've added the issue to our list and we'll have it fixed for the next release. Thank you for letting us know!

-Katie

User avatar
Balmung
Posts: 236
Joined: Sun Mar 28, 2021 2:12 pm
Location: Germany

Re: SVG scaling is 1:3 instead of 1:1 (1.1.1)

Post by Balmung » Tue Jul 16, 2024 9:01 am

Do you think there is going to be an issue with existing maps? Are assets going to be recalculated in size or are they going to be set to the defined size (and resize)?

User avatar
Kanchou
Site Admin
Posts: 1037
Joined: Mon Nov 10, 2014 2:23 pm

Re: SVG scaling is 1:3 instead of 1:1 (1.1.1)

Post by Kanchou » Tue Jun 16, 2026 9:49 am

Turns out this isn't an actual issue. The discrepancy is because the map was set to 300 DPI and the SVG was likely created at 96DPI in Inkscape.

OWM is calculating the mm correctly based on the map's resolution.
Alejandro S. Canosa
Three Minds Software

User avatar
Balmung
Posts: 236
Joined: Sun Mar 28, 2021 2:12 pm
Location: Germany

Re: SVG scaling is 1:3 instead of 1:1 (1.1.1)

Post by Balmung » Fri Jun 19, 2026 4:13 am

I never thought of that 🤔

User avatar
Kanchou
Site Admin
Posts: 1037
Joined: Mon Nov 10, 2014 2:23 pm

Re: SVG scaling is 1:3 instead of 1:1 (1.1.1)

Post by Kanchou » Thu Jul 23, 2026 4:37 pm

Balmung wrote:
Fri Jun 19, 2026 4:13 am
I never thought of that 🤔
Don't feel bad, it took us way too long to think of it :lol:
Alejandro S. Canosa
Three Minds Software

Post Reply