SASGIS

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

Distorted Map

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

Distorted Map

Сообщение harald1 » 29 май 2020, 22:03

Hi,
I have got a zmp from a map (France BRGM). The map is visible, but quite distorted, the x-axis seems longer than the y-axis (see attached snapshots)
The zmp is:

GETURLSCRIPT
Код: Выделить всё
begin
ResultURL:=GetURLBase+RoundEx(GetLLon,15)+','+RoundEx(GetBLat,15)+','+RoundEx(GetRLon,15)+','+RoundEx(GetTLat,15)+'&WIDTH=256&HEIGHT=256';
end.


[PARAMS]
Код: Выделить всё
pnum=
GUID={443c779b-b7ae-49c5-8381-3620a7cef68a}
name_en=Topo France BRGM verzerrt
name_uk=
asLayer=0
DefURLBase=http://mapsref.brgm.fr/wxs/refcom-brgm/refign?TRANSPARENT=true&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&STYLES=default&FORMAT=image%2Fpng&LAYERS=FONDS_SCAN&BGCOLOR=0xFFFFFF&SRS=EPSG%3A4326&BBOX=
projection=3
sradiusa=6378137
sradiusb=6356752
epsg=4326
NameInCache=Topo France BRGM verzerrt
UseDwn=1
Usestick=1
UseGenPrevious=1
Usedel=1
Usesave=1
UseAntiBan=0
Sleep=250
DefHotKey=0
Ext=.png
DefHotKey=0
BanIfLen=0
ContentType=image/png


What is wrong? Can anyone help me? I have no idea...
Thank you!

Harald
Вложения
SAS_comp.JPG
Distorsion in SAS Planet
Mobac_comp.JPG
Normal view of the map (in Mobile Atlas Creator)
harald1
Новичок
 
Сообщения: 1
Зарегистрирован: 29 май 2020, 12:15
Благодарил (а): 0 раз.
Поблагодарили: 0 раз.

Re: Distorted Map

Сообщение Gma » 29 май 2020, 23:25

harald1 писал(а):Hi,
I have got a zmp from a map (France BRGM). The map is visible, but quite distorted, the x-axis seems longer than the y-axis (see attached snapshots)
...
projection=3
sradiusa=6378137
sradiusb=6356752
epsg=4326
...
Sorry, but some kind of nonsense is written in the zmp projection part.
projection = 3
- this is Longitude / Latitude (And it is in it that your map is displayed in SaS, so it is so oblate)

sradiusa = 6378137
sradiusb = 6356752
- these are the values for the ellipsoid that correspond to "projection = 2"

epsg = 4326
- and this is WGS84 on a sphere that corresponds to "projection = 1".
Choose one or
projection = 2
sradiusa = 6378137
sradiusb = 6356752
or
projection=1
sradiusa=6378137
sradiusb=6378137
Gma
Советчик
 
Сообщения: 427
Зарегистрирован: 10 апр 2011, 23:10
Благодарил (а): 35 раз.
Поблагодарили: 89 раз.


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

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

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