Page 1 of 1

Map import q

Posted: Wed Jan 13, 2021 3:08 pm
by The Land
Hello - I am having a problem with the map index creator and/or importer. The original .png looks ok but the output after importing is strange, as if the whole map has been sheared and split in half over a diagonal. Can anyone suggest what might be the issue? Thanks!

RE: Map import q

Posted: Wed Jan 13, 2021 3:50 pm
by The Land
This is what I end up with - it's meant to be England and the Low Countries, from what looks like a perfectly normal PNG... hopefully illustrates what I mean by sheared and split.

Image

RE: Map import q

Posted: Wed Jan 13, 2021 9:40 pm
by Elessar2
Yeah, that's because the imported map size is mismatched with the size you gave the scenario in the editor (which you are asked to do when you choose the New option).

RE: Map import q

Posted: Thu Jan 14, 2021 6:11 am
by The Land
ORIGINAL: Elessar2

Yeah, that's because the imported map size is mismatched with the size you gave the scenario in the editor (which you are asked to do when you choose the New option).

I did wonder about that and thought I'd fixed it. I'll try again... :D

RE: Map import q

Posted: Thu Jan 14, 2021 7:39 am
by The Land
Does the importer work with portrait format maps? I have double-checked and my dimensions are correct... the only odd thing is that my map is a bit taller than it is wide...

RE: Map import q

Posted: Thu Jan 14, 2021 8:19 am
by BillRunacre
I don't think so, and the examples given do include some with portrait images.

I would try experimenting with (a copy of) your image to see if you can get it right.

RE: Map import q

Posted: Thu Jan 14, 2021 8:29 am
by The Land
So here's one of the MapIndexes files I've had this problem with - does it import correctly for other people?

RE: Map import q

Posted: Sat Jan 16, 2021 2:17 pm
by SIPRES
ORIGINAL: The Land

So here's one of the MapIndexes files I've had this problem with - does it import correctly for other people?

I did try and get same problem.
I think the problem is related to your map size 153x123, I got similar problems a while ago
looks like it doesnt like odd values

When you use map scanner try maybe to modify slightly your image (reduce or increase few pixels width/height) to finally get 152x122 on your map index files

then try import mapindex again on editor

RE: Map import q

Posted: Mon Jan 18, 2021 6:25 am
by The Land
ORIGINAL: SIPRES

ORIGINAL: The Land

So here's one of the MapIndexes files I've had this problem with - does it import correctly for other people?

I did try and get same problem.
I think the problem is related to your map size 153x123, I got similar problems a while ago
looks like it doesnt like odd values

When you use map scanner try maybe to modify slightly your image (reduce or increase few pixels width/height) to finally get 152x122 on your map index files

then try import mapindex again on editor

Yes, this sorts it out. The documentation suggests that the editor will cope with odd map indexes if you set the size to be one larger or one smaller. But in fact it doesn't.