SASGIS

Веб-картография и навигация

How To Get English Only Maps

English- or other language speakers welcome here
Please do not translate your native language to "broken Russian" via crappy machine translation services - please post it as it is, in your native language.

Модератор: Tolik

How To Get English Only Maps

Сообщение abrogard » 17 окт 2021, 06:55

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.


Изображение
Аватара пользователя
abrogard
Соображающий
 
Сообщения: 72
Зарегистрирован: 09 май 2018, 09:28
Откуда: South Australia
Благодарил (а): 5 раз.
Поблагодарили: 1 раз.

Re: How To Get English Only Maps

Сообщение caddis » 21 окт 2021, 22:50

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.
caddis
Новичок
 
Сообщения: 38
Зарегистрирован: 03 ноя 2009, 23:33
Благодарил (а): 11 раз.
Поблагодарили: 3 раз.

Re: How To Get English Only Maps

Сообщение abrogard » 22 окт 2021, 06:33

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?
Аватара пользователя
abrogard
Соображающий
 
Сообщения: 72
Зарегистрирован: 09 май 2018, 09:28
Откуда: South Australia
Благодарил (а): 5 раз.
Поблагодарили: 1 раз.

Re: How To Get English Only Maps

Сообщение caddis » 22 окт 2021, 12:56

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.
caddis
Новичок
 
Сообщения: 38
Зарегистрирован: 03 ноя 2009, 23:33
Благодарил (а): 11 раз.
Поблагодарили: 3 раз.

Re: How To Get English Only Maps

Сообщение abrogard » 30 дек 2021, 05:06

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' ?

:)
Аватара пользователя
abrogard
Соображающий
 
Сообщения: 72
Зарегистрирован: 09 май 2018, 09:28
Откуда: South Australia
Благодарил (а): 5 раз.
Поблагодарили: 1 раз.

Re: How To Get English Only Maps

Сообщение Tolik » 30 дек 2021, 12:56

Yes, it should help.
It is easier to try rather than to ask :)

You can change it from GUI: Settings - Map Settings - URL
Tolik
Гуру
 
Сообщения: 2604
Зарегистрирован: 28 янв 2011, 10:38
Благодарил (а): 280 раз.
Поблагодарили: 587 раз.

Re: How To Get English Only Maps

Сообщение abrogard » 30 дек 2021, 13:14

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?
Аватара пользователя
abrogard
Соображающий
 
Сообщения: 72
Зарегистрирован: 09 май 2018, 09:28
Откуда: South Australia
Благодарил (а): 5 раз.
Поблагодарили: 1 раз.

Re: How To Get English Only Maps

Сообщение Tolik » 30 дек 2021, 17:42

Well, satellite images don't contain any names, anyway :)
Unless they are written on the roofs :)
Tolik
Гуру
 
Сообщения: 2604
Зарегистрирован: 28 янв 2011, 10:38
Благодарил (а): 280 раз.
Поблагодарили: 587 раз.

Re: How To Get English Only Maps

Сообщение Tolik » 30 дек 2021, 17:50

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;
Tolik
Гуру
 
Сообщения: 2604
Зарегистрирован: 28 янв 2011, 10:38
Благодарил (а): 280 раз.
Поблагодарили: 587 раз.


Вернуться в International visitors section

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 0