This object is in archive! 

HDPI (512px) Map is too magnified with 'Optimize raster map resolution' option

JaeGwang hwang shared this problem 4 years ago
Solved

Old Locus versions had the problem that different map rendering size each Display resolution setting even the setting was same

but this problem solved after adding 'Optimize raster map resolution' option on Locus 3.38

It makes the map rendering size is always same

So, Display resolution setting does not effect the map size of locus anymore

However, I think It need to be fixed or added an option for 512px tile maps

Because It only perfect for 256px map still uncomfortable for 512px tiles map

Look at the below photos


The first photo is same zoom level of 256px and 512px map without any option

as you know, It is too small to read both maps so, need to use magnify option


The second photo is same zoom level of 256px and 512px map with 'Magnify all maps' option to set propper rendering size

It is the best setting to see the maps


The third photo is same zoom level of 256px and 512px maps with 'Optimize raster map resolution' option

As you can see, 256px maps is perfectly, comfortably works but 512px map is too magnified to see

It need to reduce about half of its magnify but there is not any demagnify option


Because of my bad English, I am not sure I perfectly explain what I want to explain

But I hope you understand it.

Have a nice day!

Best Answer
photo

Hello JaeGwang,

I can't help myself, but I still believe that all is correct in Locus Map. Your 1024px base map just took map tiles from zoom X, requested 4x bigger map tile then usuall and put it into zoom X+2. Locus Map then computes tile coordinates correctly because of this shift, but the map is logically 4x bigger in the same zoom.

Please check my post here. It may give a better explanation of what is going on in Locus Map and how to handle bigger map tiles correctly.

Menion

Replies (1)

photo
1

Good day JaeGwang,

unfortunately, I do not exactly understand what is the problem.

On all your photos, you compare different zoom levels, this is correct? You also mix "Optimize raster map resolution" and "Magnify all maps".

"Optimize raster map resolution" is settings enabled by default for all users, that should improve the readability of all raster maps to an acceptable value. Using "Magnify all maps" is optional settings usually useful for people who have some problems with eyes or just wants to have everything bigger.

So generally, keep "Optimize" enabled and "Magnify" disabled and all should be ok.

Menion

photo
1

I am sorry that I didn't have a mention about different zoom level of them

the 256px map shows zoom level 18 and the 512px map shows zoom level 19

So, It looks like they are different zoom level but the tiles' zoom level of them are exactly same

If the maps are set at the same system zoom level, 512px map's tile requires 1 step lower zoom lever than 256px tile map from sever

Looking this photo’s Zoom helps understanding especially, zoom level 6~9 https://drive.google.com/open?id=1LBacv4UohOOmNRNifU_0hgkQDKktHd3q


256px tile maps with keeping "Optimize" enabled and "Magnify" disabled is perfect.

However, 512px tile maps with keeping "Optimize" enabled and "Magnify" disabled shows too magnified map

It shows about double size than proper magnifying. That’s why it is problem

So, It should be less magnified than now


If you can’t understand and if you are possible,

Testing with uploaded my custom map.xml will help understanding easier than my explanation

(* the area of maps is SOUTH KOREA!)


Thank you for your answer

photo
1

Here is more sample

I tested another maps with 256px, 512px, 1024px tile


1. Maps with magnify option


https://drive.google.com/open?id=1nuvuVuNhKW4kJpt8p5OlJWkcK3AkbOcL


256px map = magnify 400%

512px map = magnify 200%

1024px map = normal, not magnified


2. Maps with keeping "Optimize" enabled and "Magnify" disabled


https://drive.google.com/open?id=1tlTUP8ke8E43NpiZvGVBEEpBJLvfbyME


256px, 512px, 1024px maps with only 'Optimize raster map resolution' option

photo
2

Hello JaeGwang,

I can't help myself, but I still believe that all is correct in Locus Map. Your 1024px base map just took map tiles from zoom X, requested 4x bigger map tile then usuall and put it into zoom X+2. Locus Map then computes tile coordinates correctly because of this shift, but the map is logically 4x bigger in the same zoom.

Please check my post here. It may give a better explanation of what is going on in Locus Map and how to handle bigger map tiles correctly.

Menion

photo
1

Thank you for your answer and effort

I have finally solved this problem after reading your post

Have a nice day!

photo
1

Ah, this is really good, perfect. The new system makes a lot more sense (at least from my point of view) and also gives a little more flexibility. Hope it will work fine for you.

Have a nice day too!

Menion

Replies have been locked on this page!