[Help] Adding a new Layer in 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

Ответить
Maximuz
Новичок
Сообщения: 8
Зарегистрирован: 02 апр 2015, 03:58
Благодарил (а): 2 раза

[Help] Adding a new Layer in map

Сообщение Maximuz »

Hola, he intentado añadir una capa llamada cdenue14 que encontré el siguiente sitio web, no he podido ingresarla, que es lo que tengo mal o que me falta para hacerla funcionar.
Website: http://goo.gl/aHwg2q

Hi, I have tried to add a layer called cdenue14 I found the following website, I could not enter it, which is what I have wrong or that I need to make it work.

Код: Выделить всё

 Layer
http://gaia.inegi.org.mx/NLB/tunnel/wms/mdm6wms?map=/opt/map/mdm60/mdm61vector.map&LAYERS=cdenue14&FORMAT=image%2Fpng&MAXRESOLUTION=4891.969809375&MINZOOMLEVEL=5&ZOOMOFFSET=5&TATO=0&LAYERNAME=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FIRM=419&SRS=EPSG%3A900913&BBOX=-11656513.59485,2757181.1075925,-11647341.151458,2760243.3660377&WIDTH=1920&HEIGHT=641

Код: Выделить всё

[b]Geturlscript.txt[/b]
var
  Host: string;
begin 
  Host := RegExprReplaceMatchSubStr(GetURLBase, 'gaiamapas\.inegi', 'gaiamapas' + IntToStr(Random(4)) + '.inegi');
  Host := RegExprReplaceMatchSubStr(Host, 'gaiamapas0\.inegi', 'gaiamapas1.inegi');
  
  ResultURL := Host + '&FORMAT=image%2Fpng&TATO=0&LAYERNAME=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A900913&BBOX=' + 
    RoundEx(GetLMetr, 8) + ',' + RoundEx(GetBMetr, 8) + ',' + RoundEx(GetRMetr, 8) + ',' + RoundEx(GetTMetr, 8) + '&WIDTH=256&HEIGHT=256';
end.

Код: Выделить всё

[b]params.txt[/b]
[PARAMS]
GUID={cdb02f5c-9e5e-4823-90cc-599960b20ff9}
name=Denue
name_en=Denue
ParentSubMenu=gaiamapas
ParentSubMenu_en=gaiamapas
DefURLBase=http://gaia.inegi.org.mx/NLB/tunnel/wms/mdm6wms?map=/opt/map/mdm60/mdm61vector.map&LAYERS=cdenue14
EPSG=3785
NameInCache=Denue
Ext=.PNG
ContentType=image/PNG
Maximuz
Новичок
Сообщения: 8
Зарегистрирован: 02 апр 2015, 03:58
Благодарил (а): 2 раза

Re: [Help] Adding a new Layer in map

Сообщение Maximuz »

Screen4 (Copy).png
Entonces la dificultad para integrar esta capa es muy alta, yo tengo como un año haciendo pruebas y no he podido, es por eso que necesito su ayuda, se que yo soy principiante pero puedo aprender mucho.

Then the difficulty of integrating this layer is very high, I have a year auditioning and I could not, that's why I need your help, I am beginner but I learn a lot.
Maximuz
Новичок
Сообщения: 8
Зарегистрирован: 02 апр 2015, 03:58
Благодарил (а): 2 раза

Re: [Help] Adding a new Layer in map

Сообщение Maximuz »

Then I will continue trying to get the layer and its particular characteristics to see if I can make it work, really do not know if it is a layer with vectors, scripts and data, but I can not run or rasterized layer.

Similarly way I'll be tuned even if someone can give me some advice, thanks.
Ivan30
Советчик
Сообщения: 429
Зарегистрирован: 14 мар 2011, 19:14
Откуда: дельта Волги
Благодарил (а): 60 раз
Поблагодарили: 139 раз

Re: [Help] Adding a new Layer in map

Сообщение Ivan30 »

cant find those layer
Изображение
Maximuz
Новичок
Сообщения: 8
Зарегистрирован: 02 апр 2015, 03:58
Благодарил (а): 2 раза

Re: [Help] Adding a new Layer in map

Сообщение Maximuz »

To enable the layer you must do what is in the picture one and two, also take a few screens of the other layer functions.

Once this enabled seeks cdenue14 layer with the firebug extension of mozilla.

But only as far as I can go.
Screen 01
скрытый текст: показать
Изображение
Screen 02
скрытый текст: показать
Изображение
Album Screen https://plus.google.com/photos/10185850 ... q_n4M7l3QE
Ivan30
Советчик
Сообщения: 429
Зарегистрирован: 14 мар 2011, 19:14
Откуда: дельта Волги
Благодарил (а): 60 раз
Поблагодарили: 139 раз

Re: [Help] Adding a new Layer in map

Сообщение Ivan30 »

when you use browser, server send one megatile
SaSPlanet use 256*256, so only this
скрытый текст: показать
Изображение
cdenue14.zmp.zip
(1.97 КБ) 298 скачиваний
Изображение
Ivan30
Советчик
Сообщения: 429
Зарегистрирован: 14 мар 2011, 19:14
Откуда: дельта Волги
Благодарил (а): 60 раз
Поблагодарили: 139 раз

Re: [Help] Adding a new Layer in map

Сообщение Ivan30 »

of course, sasplanet can cut one megatile into some normal-size ones, but I cant do it better
Изображение
Maximuz
Новичок
Сообщения: 8
Зарегистрирован: 02 апр 2015, 03:58
Благодарил (а): 2 раза

Re: [Help] Adding a new Layer in map

Сообщение Maximuz »

Ivan30 писал(а):of course, sasplanet can cut one megatile into some normal-size ones, but I cant do it better
Thanks Ivan30, to you and Zed, I owe two orders carne asada tacos for both, I really appreciate your help, no problem with those little details that appear, you did your best effort and appreciate your help.

I hope in the future repay your help.

It would be interesting to add to this great application functions to dump the maps, layers, js, database to make it more interactive, but it is a wonderful and very well cared application.

Thank you all really are great.
Ответить

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