Especificación WMS 1.3.0, punto 7.2.4.2 (es igual en la versión 1.1.1): http://www.opengeospatial.org/standards/wms
7.2.4.2 Names and titles A number of elements have both a <Name> and a <Title>. The Name is a text string used for machine-to-machine communication while the Title is for the benefit of humans. For example, a dataset might have the descriptive Title “Maximum Atmospheric Temperature” and be requested using the abbreviated Name “ATMAX”. El 9 de mayo de 2011 16:00, Francisco Puga <[email protected]> escribió: > La verdad es que si que tiene pinta de bug. Igual te puedes animar a > hacer un parche y subirlo al bugtracker > > http://forge.osor.eu/tracker/?atid=732&group_id=89&func=browse > > El día 9 de mayo de 2011 15:15, David Alda Fernandez de Lezea > <[email protected]> escribió: > > Hola, > > > > Al ir pobando el nuevo codigo de gvSIG 1.11, me he parado en añadir una > capa WMS porque me ha chocado ver que mis capas con diferentes estilos no se > estan cargando. Mis capas estan almacenadas en GeoServer. El problema es que > aparentemente desde gvSIG para hacer una peticion getMap cuando se obtiene > el getCapabilities del servicio WMS, se coge como nombre del estilo el > contenido de la etiqueta "<title>" cuando, en mi opinion deberia ser la > etiqueta "<name>". Voy a poner un ejemplo para que se entienda mejor. Yo > hago un getCapabilities a mi servicio WMS: > > > > <Layer queryable="1"> > > <Name>IKT:Municipios</Name> > > <Title>Municipios de la CAPV</Title> > > <Abstract>BD: USRCARTO > > TABLA/VISTA: GT_LIMITES_MUNI_ED50</Abstract> > > <KeywordList/> > > <SRS>EPSG:23030</SRS> > > <!--WKT definition of this CRS: .... --> > > <LatLonBoundingBox minx="-3.452" miny="42.465" maxx="-1.726" > maxy="43.457"/> > > <BoundingBox SRS="EPSG:23030" minx="463540.94" miny="4702400.54" > maxx="603188.48" maxy="4811786.924"/> > > <Style> > > <Name>Municipios_01</Name> > > <Title>Estilo 01 de Municipios CAPV</Title> > > <Abstract/> > > <LegendURL width="20" height="20"> > > <Format>image/png</Format> > > <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" > xlink:type="simple" xlink:href=" > http://192.168.3.15:80/geoserver/wms?request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=Municipios&style=Municipios_01 > "/> > > </LegendURL> > > </Style> > > </Layer> > > > > Cuando haces una peticion getMap si especificas en el parametro STYLES el > valor Municipios_01 la capa se carga correctamente, pero en gvSIG, > debugeando por el codigo me he encontrado que la peticion getMap utiliza el > parametro "<Title>" con lo que la imagen no se genera porque no existe un > estilo con ese nombre. Yo entiendo que el titulo es un texto descriptivo y > que no tiene que ser el nombre del estilo. No se si esto tiene que ver con > las diferentes interpretaciones que se pueden hacer del estandar. > > > > Llamada de gvSIG: > > > > INFO: downloading ' > http://192.168.3.15:80/geoserver/wms?SERVICE=WMS&&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=IKT:Municipios&SRS=EPSG:23030&BBOX=463540.94,4702400.54,597958.0620708858,4811786.924&WIDTH=972&HEIGHT=791&FORMAT=image/png&STYLES=Estilo%2001%20de%20Municipios%20CAPV&TRANSPARENT=TRUE' > to: C:\DOCUME~1\u0899jbe\CONFIG~1\Temp\tmp-andami\wmsGetMap1304945670679 > > > > Que alguien me corrija si me equivoco. > > > > ¿Alguien mas se ha encontrado con este problemilla? ¿Qué posible solucion > podemos aportar? ¿Posible bug? > _______________________________________________ > gvSIG_desarrolladores mailing list > [email protected] > http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladores >
_______________________________________________ gvSIG_desarrolladores mailing list [email protected] http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladores
