[Gvsig_english] gvSIG 1.9 RC2::problems with an wms-layer
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Mon Oct 26 08:32:19 CET 2009
Hi,
Have a look at the getCapabilities document at http://maps.muenchen.de/wms/mobilfunkstationen?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1
Among other things it is advertising the available SRSs for each layer. About layer "mobil it is telling"
<Layer>
<Name>mobil</Name>
<Title>Mobilfunkstationen in Betrieb</Title>
<SRS>epsg:31468</SRS>
It means what it says, server supports output only to EPSG:31468 (I believe there is an error here, WMS spec says that EPSG must be in upper case). If you ask for EPSG:4326 server is doing the right thing by sending an error message. If you definitely need this layer through WMS in EPSG:4326 the only way to get it is to have a cascading WMS server that can do reprojecting in between. MapServer can do cascading for you if you really need that.
-Jukka Rahkonen-
________________________________
Lähettäjä: gvsig_internacional-bounces at listserv.gva.es [mailto:gvsig_internacional-bounces at listserv.gva.es] Puolesta Juan Lucas Dominguez Rubio
Lähetetty: 26. lokakuuta 2009 8:48
Vastaanottaja: Users and Developers mailing list; Users and Developers mailing list
Aihe: Re: [Gvsig_english] gvSIG 1.9 RC2::problems with an wms-layer
Hello,
Yes you are right, sorry.
Then there are two different problems. In Wolfgang's test gvSIG is not showing this image which is correctly sent by the server:
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
and in my test (requesting layers root 'Mobilefunkstationen in Betrieb', EPSG:4326, JPG), gvSIG is doing this map request which is not accepted by the server:
http://maps.muenchen.de/wms/mobilfunkstationen?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=mobil&SRS=EPSG:4326&BBOX=11.3267,48.0171,11.731899999999998,48.2436&WIDTH=393&HEIGHT=221&FORMAT=image/jpeg&STYLES=&TRANSPARENT=TRUE
Regards,
Juan Lucas Domínguez Rubio
---
Prodevelop SL, Valencia (España)
Tlf.: 96.351.06.12 -- Fax: 96.351.09.68
http://www.prodevelop.es <http://www.prodevelop.es/>
---
________________________________
De: gvsig_internacional-bounces at listserv.gva.es en nombre de Rahkonen Jukka
Enviado el: sáb 24/10/2009 9:31
Para: Users and Developers mailing list
Asunto: Re: [Gvsig_english] gvSIG 1.9 RC2::problems with an wms-layer
Hi,
But the example getMap request works and returns an image to browser without any server warnings, doesn't it? I do not believe this is server fault.
-Jukka Rahkonen-
-----Alkuperäinen viesti-----
Lähettäjä: gvsig_internacional-bounces at listserv.gva.es puolesta: Juan Lucas Dominguez Rubio
Lähetetty: pe 23.10.2009 23:16
Vastaanottaja: Users and Developers mailing list; Users and Developers mailing list
Aihe: Re: [Gvsig_english] gvSIG 1.9 RC2::problems with an wms-layer
Hello, Wolfgang,
the error message sent by that WMS server (not visible in the log file) says something like "unsupported coordinate system for that layer(s)". If you watch the server capabilities (the XML file sent in the first place by the server) you will se that some layers are only available in EPSG:31468, others in EPSG:31468 and EPSG:4326 and others in epsg:31468 (which apparently is not the same as EPSG:31468), so I think the problem is that you have chosen a bad combination of layers and SRS.
I'm not sure whether this is due to a bug in gvSIG (it does not interpret correctly the capabilities file) or a mistake in the server administration (inconsistent capabilities file)
Regards,
Juan Lucas Domínguez Rubio
---
Prodevelop SL, Valencia (España)
Tlf.: 96.351.06.12 -- Fax: 96.351.09.68
http://www.prodevelop.es <http://www.prodevelop.es/> <http://www.prodevelop.es/>
---
________________________________
De: gvsig_internacional-bounces at listserv.gva.es en nombre de Wolfgang Qual
Enviado el: vie 23/10/2009 21:10
Para: Users and Developers mailing list
Asunto: Re: [Gvsig_english] gvSIG 1.9 RC2::problems with an wms-layer
Dear all,
I just opened the wms-layer on my netbook at home using ubuntu 9.04 and
the 1250 build. Works for me. As I also had some problems with the
georeferencing function on the Limux client, I "fear" that it the same
problem which appeared when trying to use the georeferencing. José
Vicente would be the one who could propably check this (well, I am sure
that many other developers could explain this, but José has already
built a debian-package for Munich..).
Hope to find a solution next week. Have a nice weekend.
best,
Wolfgang
Am Freitag, den 23.10.2009, 15:25 +0200 schrieb Wolfgang Qual:
> Dear Manuel
> I am using the old Limux-Client which is a derivate of Debian Sarge. I
> just re-installed 1247 and it did not work, too.
> Very strange. Fran wrote something about possible errors because of
> gdal- and proj (but why does wms work with the old version?).
>
> Best,
> Wolfgang
>
> Manuel Madrid schrieb:
> > Hi Wolfgang.
> >
> > Maybe the problem is about library versions. Some questions:
> >
> > 1. What Linux distribution and version do you have?
> > 2. Did you test it on gvSIG 1.9 older builds (before 1249)?
> >
> > Thanks,
> > Manuel.
> >
> > Wolfgang Qual escribió:
> >
> > > Hi Sergio,
> > > I did the same, but the layer is not displayed in the view. The legend I
> > > can see in the ToC.
> > > When selecting the "epsg 31468" I get the error window: can't reproject
> > > layer%
> > > Very strange.
> > >
> > > Wolfgang
> > >
> > >
> > > Sergio Clark schrieb:
> > >
> > > > 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.
> > > >
> > > >
> > > > _______________________________________________
> > > > Gvsig_internacional mailing list
> > > > Gvsig_internacional at listserv.gva.es
> > > > http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
> > > >
> > > >
> > > >
> > > --
> > >
> > > *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
> > >
> >
> >
>
>
> --
>
>
>
> 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
_______________________________________________
Gvsig_internacional mailing list
Gvsig_internacional at listserv.gva.es
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
_______________________________________________
Gvsig_internacional mailing list
Gvsig_internacional at listserv.gva.es
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20091026/5deb1bc1/attachment.htm
More information about the Gvsig_internacional
mailing list