[Gvsig_english] [gvSIG Mini] Custom layer in layers.txt doesn't pan

Juan Luis Rodriguez jlrodriguez at emergya.es
Wed Jun 22 16:34:08 CEST 2011


Hello,

I'm trying to add a new layer to layers.txt (v0.2.2) file. The layer is a
WMS layer served by a GeoServer and cached by a GeoWebCache server [1]. The
cached layer is in EPSG:23030. I'have obtained the max extent and the
resolutions array from the GWC Openlayers demo [2]. This is the line I have
in layers.txt:

OrtofotosGuadarrama_;5[>],
http://ded-nx225.unelink.net:8080/geoserver/gwc/service/wms,image/jpeg,24,0,256,399559.24,4497747.13,413969.18,4512157.07,399559.24,4497747.13,EPSG:23030,56.28882812500001:28.144414062500005:14.072207031250002:7.036103515625001:3.5180517578125006:1.7590258789062503:0.8795129394531251:0.43975646972656257:0.21987823486328129:0.10993911743164064:0.05496955871582032:0.02748477935791016:0.01374238967895508:0.00687119483947754:0.00343559741973877:0.001717798709869385:8.588993549346925E-4:4.2944967746734626E-4:2.1472483873367313E-4:1.0736241936683657E-4:5.368120968341828E-5:2.684060484170914E-5:1.342030242085457E-5:6.710151210427285E-6:3.3550756052136427E-6,ortofotos_guadarrama,1.1.1,text/plain

* Name: OrtofotosGuadarrama_
* Layer type: 5
* Server: http://ded-nx225.unelink.net:8080/geoserver/gwc/service/wms
* Image format: image/jpeg
* Max zoom level: 24
* Min zoom level: 0
* Tile size: 256 px
* Max extent: xmin =399559.24, ymin=4497747.13, xmax=413969.18,
ymax=4512157.07
* Origin: x=399559.24, y=4497747.13  (same as xmin, ymin)
* SRS: EPSG:23030
* Resolutions:
56.28882812500001:28.144414062500005:14.072207031250002:7.036103515625001:3.5180517578125006:1.7590258789062503:0.8795129394531251:0.43975646972656257:0.21987823486328129:0.10993911743164064:0.05496955871582032:0.02748477935791016:0.01374238967895508:0.00687119483947754:0.00343559741973877:0.001717798709869385:8.588993549346925E-4:4.2944967746734626E-4:2.1472483873367313E-4:1.0736241936683657E-4:5.368120968341828E-5:2.684060484170914E-5:1.342030242085457E-5:6.710151210427285E-6:3.3550756052136427E-6
* WMS layer names: ortofotos_guadarrama
* WMS version: 1.1.1
* Error format: text/plain


I can view the layer in gvSIG mini.  The problem is that it only let me zoom
in/out. I can't pan at any zoom level. If I try I can drag the map but when
I release it the map returns to its original position. Why this is
happening? Could I have any wrong parameter in the layer definition?


Regards,
Juan Luis.


[1] http://ded-nx225.unelink.net:8080/geoserver/gwc/service/wms
[2]
http://ded-nx225.unelink.net:8080/geoserver/gwc/demo/ortofotos_guadarrama?gridSet=EPSG:23030_ortofotos_guadarrama&format=image/jpeg


-- 
Juan Luis Rodríguez Ponce
Área de Proyectos

Emergya Consultoría
Tfno:  +34 954 51 75 77 / +34 607 43 74 27
Fax: +34 954 51 64 73
www.emergya.es
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20110622/1a31b109/attachment.htm 


More information about the Gvsig_internacional mailing list