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

[Help] Adding a new Layer in map

СообщениеДобавлено: 13 мар 2016, 05:38
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

Re: [Help] Adding a new Layer in map

СообщениеДобавлено: 15 мар 2016, 17:40
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.

Re: [Help] Adding a new Layer in map

СообщениеДобавлено: 22 мар 2016, 20:52
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.

Re: [Help] Adding a new Layer in map

СообщениеДобавлено: 22 мар 2016, 21:13
Ivan30
cant find those layer

Re: [Help] Adding a new Layer in map

СообщениеДобавлено: 23 мар 2016, 09:10
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/101858508986398123823/album/6265108358572740721/6265108359743928482?authkey=CKT9rq_n4M7l3QE

Re: [Help] Adding a new Layer in map

СообщениеДобавлено: 23 мар 2016, 22:20
Ivan30
when you use browser, server send one megatile
SaSPlanet use 256*256, so only this
скрытый текст: показать
Изображение

cdenue14.zmp.zip
(1.97 KiB) Скачиваний: 163

Re: [Help] Adding a new Layer in map

СообщениеДобавлено: 23 мар 2016, 23:09
Ivan30
of course, sasplanet can cut one megatile into some normal-size ones, but I cant do it better

Re: [Help] Adding a new Layer in map

СообщениеДобавлено: 24 мар 2016, 05:40
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.