<< Back to Map Development Forum   Search

Posts 1 - 6 of 6   
Need Help: 2025-03-19 16:08:47


PackWatch
Level 57
Report
Hi,

I am trying to upload my first map, but haven't been successful yet.

I have a very large map I have made (~3500 territories, 600 KB) that I made in Adobe Illustrator, and I then made it an svg. When I upload it I'm getting this error: "There appears to be an issue with this svg file. The svg contains measurements that are in a format other than pixels (such as points, inches, centimeters, percents, etc.) Warzone only supports pixel measurements. Please configure your application to output the svg in pixels, and ensure that percentages aren't used anywhere."

I changed the file settings in Illustrator to be measured in pixels. I'm not sure if there's something to do with the fact it started as an Illustrator file (or the fact that before that it was a PDF from ArcGIS) but I'd like to avoid going into InkScape if I don't have to - I don't like that program from my limited experience with it. Any tips?
Need Help: 2025-03-19 17:00:02


JK_3 
Level 63
Report
I remember there being a small difference in how Illustrator exports SVGs vs how a plain SVG is.
Something stays an polygon while Warzone expects it to be a path.

That it started of as a PDF probably doesn't help either, but as long as the final file output is a plain SVG with paths, it should in theory "just" work.

Using Inline CSS instead of Internal CSS might do the trick.
Make sure your object IDs still properly identify your Territory_xxxx and BonusLink_abcdefg

Join the map making discord (https://discord.gg/5Cuvff4J) if youre able, as it makes sharing pics a lot easier, and most of the mapmakers are hiding there ;)

Edited 3/19/2025 17:06:32
Need Help: 2025-03-19 19:30:30

Dan
Level 44
Report
Maybe the map designer is expecting an Inkscape SVG?
Need Help: 2025-03-19 22:52:26


JK_3 
Level 63
Report
Any SVG should do, regardless of what program made it, as long as it meets WZ's expectations.

Its probably advisable to not upload any program-specific SVGs, since those tend to have a bunch of metadata that increases the file size..
Need Help: 2025-04-01 14:38:17


PackWatch
Level 57
Report
I do think the object IDs are a big part of the issue, but the error message doesn't mention that. Given the scale of the map, I don't want to embark on the renaming of territories journey until I'm sure that'll be a worthwhile effort/I'm doing it right. I will join the discord - thanks for the heads-up! This invite is expired, so when anyone gets a chance to send an updated one, I will make good use of it.

Edited 4/1/2025 15:53:15
Need Help: 2025-04-02 18:14:35


Murk 
Level 57
Report
Posts 1 - 6 of 6