[Gvsig_english] gvSIG 1.9 RC2::problems with an wms-layer

Sergio Clark sergio.clark at iver.es
Fri Oct 23 13:29:16 CEST 2009


Hi Wolfgang,

I've tried it with gvSIG 1.9 (b1250) and I can display it correctly. 
Only a remark: I've first put my view in EPSG 31468, and when loading 
the wms I select the same "EPSG 31468", but first one in the 'Select 
SRS' list. (I see another "epsg 31468" in that list and if I select this 
one, doesn't work for me). And it works for me in png format and also in 
jpeg.

Regards,
Sergio.


Sergio Clark
Equipo gvSIG
IVER T.I., S.A.
www.iver.es
www.gvsig.com



Rahkonen Jukka escribió:
> Hi,
>  
> Reason may be in that maps.muenchen.de seems to send image back with 
> extension "jpeg".  Try the same request with FORMAT=image/png.  If it 
> works I would say there is a bug, jpeg is a valid extension and it 
> should be recognised.
>  
> -Jukka Rahkonen-
>
>     Wolfgang Qual  wrote:
>     Dear list,
>     I just installed gvSIG 1.9 RC2. Very good!
>     However, I have a problem when loading a wms-layer
>     (http://maps.muenchen.de/wms/mobilfunkstationen). The layer can be
>     opened in gvSIG 1.1.2, no problem. But in 1.9 (not only RC2, but
>     also 1249), the layer is not displayed.
>     As I launch gvSIG from my command line (linux), I could see this
>     messages below. Any comments are appreciated!
>
>     Best,
>     Wolfgang
>
>
>
>     downloading
>     'http://maps.muenchen.de/wms/mobilfunkstationen?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=l0&SRS=EPSG:31468&BBOX=4455380.0,5331289.14099301,4466975.329887861,5341339.9233334055&WIDTH=1001&HEIGHT=868&FORMAT=image/jpeg&STYLES=default&TRANSPARENT=TRUE'
>     to: /tmp/tmp-andami/wmsGetMap1256295537839
>     Can´t load the layer: Formato no valido
>             at
>     org.gvsig.fmap.raster.layers.FLyrRasterSE.load(FLyrRasterSE.java:332)
>             at
>     org.gvsig.fmap.raster.layers.FLyrRasterSE.createLayer(FLyrRasterSE.java:189)
>             at
>     com.iver.cit.gvsig.fmap.layers.FLyrWMS.rasterProcess(FLyrWMS.java:975)
>             at
>     com.iver.cit.gvsig.fmap.layers.FLyrWMS.drawTile(FLyrWMS.java:1176)
>             at
>     com.iver.cit.gvsig.fmap.layers.FLyrWMS.draw(FLyrWMS.java:735)
>             at
>     com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:209)
>             at
>     com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:175)
>             at
>     com.iver.cit.gvsig.fmap.MapContext.draw(MapContext.java:1092)
>             at
>     com.iver.cit.gvsig.fmap.MapControl$PaintingRequest.paint(MapControl.java:1043)
>             at
>     com.iver.cit.gvsig.fmap.MapControl$Drawer2$Worker.run(MapControl.java:1234)
>             at java.lang.Thread.run(Unknown Source)
>     Caused by:
>     org.gvsig.raster.dataset.NotSupportedExtensionException: Error in
>     open. Problemas con las librerías.
>             at
>     org.gvsig.raster.dataset.RasterDataset.open(RasterDataset.java:175)
>             at
>     org.gvsig.raster.dataset.MultiRasterDataset.open(MultiRasterDataset.java:124)
>             at
>     org.gvsig.fmap.raster.layers.FLyrRasterSE.load(FLyrRasterSE.java:323)
>             ... 10 more
>     Caused by: java.lang.reflect.InvocationTargetException
>             at
>     sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>             at
>     sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>             at
>     sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
>     Source)
>             at java.lang.reflect.Constructor.newInstance(Unknown Source)
>             at
>     org.gvsig.raster.dataset.RasterDataset.open(RasterDataset.java:163)
>             ... 12 more
>     Caused by: java.lang.NoClassDefFoundError
>             at
>     org.gvsig.raster.dataset.io.GdalDriver.<init>(GdalDriver.java:137)
>             ... 17 more
>     Tiling.print(): tile 1 de 2
>     , Extent =
>     java.awt.geom.Rectangle2D$Double[x=4466963.7239036355,y=5331289.140993008,w=998.1146435039118,h=10050.782340399855]
>     tile: java.awt.Rectangle[x=1023,y=0,width=86,height=866]
>     downloading
>     'http://maps.muenchen.de/wms/mobilfunkstationen?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=l0&SRS=EPSG:31468&BBOX=4466963.7239036355,5331289.140993008,4467961.838547139,5341339.923333408&WIDTH=88&HEIGHT=868&FORMAT=image/jpeg&STYLES=default&TRANSPARENT=TRUE'
>     to: /tmp/tmp-andami/wmsGetMap1256295538852
>     Can´t load the layer: Formato no valido
>             at
>     org.gvsig.fmap.raster.layers.FLyrRasterSE.load(FLyrRasterSE.java:332)
>             at
>     org.gvsig.fmap.raster.layers.FLyrRasterSE.createLayer(FLyrRasterSE.java:189)
>             at
>     com.iver.cit.gvsig.fmap.layers.FLyrWMS.rasterProcess(FLyrWMS.java:975)
>             at
>     com.iver.cit.gvsig.fmap.layers.FLyrWMS.drawTile(FLyrWMS.java:1176)
>             at
>     com.iver.cit.gvsig.fmap.layers.FLyrWMS.draw(FLyrWMS.java:735)
>             at
>     com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:209)
>             at
>     com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:175)
>             at
>     com.iver.cit.gvsig.fmap.MapContext.draw(MapContext.java:1092)
>             at
>     com.iver.cit.gvsig.fmap.MapControl$PaintingRequest.paint(MapControl.java:1043)
>             at
>     com.iver.cit.gvsig.fmap.MapControl$Drawer2$Worker.run(MapControl.java:1234)
>             at java.lang.Thread.run(Unknown Source)
>     Caused by:
>     org.gvsig.raster.dataset.NotSupportedExtensionException: Error in
>     open. Problemas con las librerías.
>             at
>     org.gvsig.raster.dataset.RasterDataset.open(RasterDataset.java:175)
>             at
>     org.gvsig.raster.dataset.MultiRasterDataset.open(MultiRasterDataset.java:124)
>             at
>     org.gvsig.fmap.raster.layers.FLyrRasterSE.load(FLyrRasterSE.java:323)
>             ... 10 more
>     Caused by: java.lang.reflect.InvocationTargetException
>             at
>     sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>             at
>     sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>             at
>     sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
>     Source)
>             at java.lang.reflect.Constructor.newInstance(Unknown Source)
>             at
>     org.gvsig.raster.dataset.RasterDataset.open(RasterDataset.java:163)
>             ... 12 more
>     Caused by: java.lang.NoClassDefFoundError
>             at
>     org.gvsig.raster.dataset.io.GdalDriver.<init>(GdalDriver.java:137)
>             ... 17 more
>     Tiempo de dibujado:2097 mseg. Memoria libre:45965 KB
>
>     -- 
>
>     	*Wolfgang Qual
>
>     **Referat für Gesundheit und Umwelt*
>     Umweltschutz
>     Umweltvorsorge
>     RGU-UW 11
>
>     Bayerstraße 28a
>     80335 München
>
>     Telefon +49 - 89 - 233 - 4 77 17
>     Telefax +49 - 89 - 233 - 4 77 05
>
>     http://www.muenchen.de/umweltatlas
>     uw11.rgu at muenchen.de
>     Bitte beachten Sie die Hinweise zur elektronischen
>     Kommunikation mit der Landeshauptstadt München:
>     http://www.muenchen.de/ekomm
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at listserv.gva.es
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>   

Este mensaje y sus archivos son confidenciales. No está permitida su reproducción o distribución sin la autorización expresa de "IVER Tecnologías de la Información". Si usted no es el destinatario previsto, queda desautorizado cualquier uso, acceso o copia de este mensaje. Si ha recibido este mensaje por error, por favor bórrelo e infórmenos por esta misma vía.




More information about the Gvsig_internacional mailing list