Страница 1 из 1

How To Get English Only Maps

СообщениеДобавлено: 17 окт 2021, 06:55
abrogard
I have English set as the Language. I'm not using any layers. (I think) And I'm using google maps.

I get a map in Russian. When I zoom in I get English. Half way I've got both. Useful sometimes but sometimes I just want English and I used to have that a couple of years ago I believe.

How do I set it up correctly.
p.s. I tried to attach an image, a screenshot to show what I get but it hasn't worked.


Изображение

Re: How To Get English Only Maps

СообщениеДобавлено: 21 окт 2021, 22:50
caddis
in the Parameters.txt files (in the ZMP folders of google maps and google layers), DefURLBase must end with "en" (english)

like this
DefURLBase=http://mt.google.com/vt/lyrs=h@169000000&hl=en

Then erase the cache of maps and layers that have russian name, the new tiles will be downloaded only in english.

Re: How To Get English Only Maps

СообщениеДобавлено: 22 окт 2021, 06:33
abrogard
Thank you for that. I'll give it a go. I did once have a downloaded pre-configured version of sasplanet. configured by a user who'd put in a lot of work to make some things easier for us. Many disk crashes, software changes later I no long have it. You wouldn't know where/what this is/was would you?

Re: How To Get English Only Maps

СообщениеДобавлено: 22 окт 2021, 12:56
caddis
abrogard писал(а):Thank you for that. I'll give it a go. I did once have a downloaded pre-configured version of sasplanet. configured by a user who'd put in a lot of work to make some things easier for us. Many disk crashes, software changes later I no long have it. You wouldn't know where/what this is/was would you?



I only use stable official versions. after all, changes like the one you asked for, are fairly straightforward and require only text file changes.

Re: How To Get English Only Maps

СообщениеДобавлено: 30 дек 2021, 05:06
abrogard
Here I am again. Months later.

I think I have misunderstood. I thought I would find a list of maps and I should keep those that end with = en
and delete all the rest.

But I don't find that.

In fact really all I find is this:

[PARAMS]
pnum=2
GUID={CBA03063-23D9-4FA4-931A-9182B98644B1}
name_ru=Карта (Google)
name=Map (Google)
name_uk=Карта (Google)
ParentSubMenu=Google
DefURLBase=http://mt.google.com/vt/lyrs=m@169000000&hl=ru
projection=1
sradiusa=6378137
sradiusb=6378137
NameInCache=map
Ext=.png
DefHotKey=77
ContentType=image/png

Should I edit that and put '=en' instead of '=ru' ?

:)

Re: How To Get English Only Maps

СообщениеДобавлено: 30 дек 2021, 12:56
Tolik
Yes, it should help.
It is easier to try rather than to ask :)

You can change it from GUI: Settings - Map Settings - URL

Re: How To Get English Only Maps

СообщениеДобавлено: 30 дек 2021, 13:14
abrogard
Yes. If there were nowhere to ask I would try. But I am always worried about breaking something. Sometimes you give a computer one tiny bit wrong instruction and it goes wrong and you can never go back.

And besides, when I ask for a minute there I am connected with people outside of my own small circle.

:)

I'll do some trying. Thank for your help.

Later:
hmmm. Been there and tried. All I find is:


[PARAMS]
pnum=1
GUID={F6574B06-E632-4D5F-BC75-C8FA658B57DF}
name_ru=Спутник (Google)
name=Satellite (Google maps)
name_uk=Супутник (Google)
ParentSubMenu=Google
projection=1
sradiusa=6378137
sradiusb=6378137
NameInCache=sat
Ext=.jpg
DefHotKey=71
ContentType=image/jpeg
IsUseDownloaderInScript=1

What can I alter there?

Re: How To Get English Only Maps

СообщениеДобавлено: 30 дек 2021, 17:42
Tolik
Well, satellite images don't contain any names, anyway :)
Unless they are written on the roofs :)

Re: How To Get English Only Maps

СообщениеДобавлено: 30 дек 2021, 17:50
Tolik
Regarding Google Map, the language is selected automatically the same as SASPlanet GUI language, e.g. in case of English it generates
Код: Выделить всё
https://mt3.google.com/vt/lyrs=m@169000000&x=2287&y=1348&zoom=5&hl=en


because GetUrlScript.txt contains Lang:
Код: Выделить всё
ResultURL := mt+'&x='+inttostr(GetX)+'&y='+inttostr(GetY)+'&zoom='+inttostr(18-GetZ)+'&hl='+Lang;