[Gvsig_english] gvSIG Mobile workspace - getting "WMS image error" after trying to load files from WMS
Schoolmeesters
schoolmeesters at gmx.de
Thu Oct 7 02:18:17 CEST 2010
Hello again,
thank you for testing the WMS. I've tested it again (the NRW one) and
did not get any picture loaded (no matter which EPSG I choose). On the
other hand, the OSM one works fine. So I just have to find an adequate
wms, I think. That is ok.
But concerning the* gps arrow *I've tested again (no map background)
1.) connecting to a GPS device at COM port, showing position @ 8.42171°
/ 49.00797° ------> arrow is _not _displayed
2.) connecting to a logged nmea file (logged by gvsig mobile, same
position) -----> arrow is not displayed, either
3.) connecting to an old nmea file (logged by another application,
approx. same position) ----> arrow is displayed and even centered to
correct position (checked with map data)
I'll check whether it will work with another GPS receiver. I don't
understand, what should be different. It is always nmea code!
However, the position is always displayed correctly. Shouldn't the arrow
get the position from the same source as the displayed position (button:
display coordinates)
Regards,
Marcel Schoolmeesters
Am 04.10.2010 12:45, schrieb Juan Lucas Dominguez Rubio:
> Hello, Marcel.
> All the URLs in this message can be tested directly in a web browser.
> In one of my tests using a web browser, this URL returned a very ugly
> Java stack trace:
> http://www.gis.nrw.de/wms/DGM50?REQUEST=GetCapabilities&SERVICE=WMS&EXCEPTIONS=XML
> <http://www.gis.nrw.de/wms/DGM50?REQUEST=GetCapabilities&SERVICE=WMS&EXCEPTIONS=XML>
> But in other attempts, the response was OK (a XML file with the server
> capabilities)
> This request works too (using the German EPSG;31429):
> http://www.gis.nrw.de/wms/DGM50?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.0&LAYERS=DGM50&SRS=EPSG:31492&BBOX=2495820.074603175,5597231.470778579,2715995.7222222225,5803033.633983327&WIDTH=338&HEIGHT=317&FORMAT=image/jpeg&STYLES=&TRANSPARENT=TRUE
> <http://www.gis.nrw.de/wms/DGM50?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.0&LAYERS=DGM50&SRS=EPSG:31492&BBOX=2495820.074603175,5597231.470778579,2715995.7222222225,5803033.633983327&WIDTH=338&HEIGHT=317&FORMAT=image/jpeg&STYLES=&TRANSPARENT=TRUE>
> This request returns a blank image, which I think is caused by a bug
> in the WMS server:
> http://www.gis.nrw.de/wms/DGM50?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.0&LAYERS=DGM50&SRS=EPSG:4326&BBOX=6,50.5,8.5,53&WIDTH=300&HEIGHT=300&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE
> <http://www.gis.nrw.de/wms/DGM50?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.0&LAYERS=DGM50&SRS=EPSG:4326&BBOX=6,50.5,8.5,53&WIDTH=300&HEIGHT=300&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE>
> The coordinates of the requested box are BBOX=6,50.5,8.5,53 which I
> think are correct and that should return an overview of that German
> state. Here is an example using the same coordinates with a different
> WMS server:
> http://osmwms.itc-halle.de/maps/osmfree?SERVICE=WMS&&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=grenzen&SRS=EPSG:4326&BBOX=6,50.5,8.5,53&WIDTH=752&HEIGHT=499&FORMAT=image/jpeg&STYLES=default&TRANSPARENT=TRUE
> <http://osmwms.itc-halle.de/maps/osmfree?SERVICE=WMS&&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=grenzen&SRS=EPSG:4326&BBOX=6,50.5,8.5,53&WIDTH=752&HEIGHT=499&FORMAT=image/jpeg&STYLES=default&TRANSPARENT=TRUE>
> So I think that WMS server says that it can provide maps in EPSG:4326,
> but it cannot, so you'll have to use EPSG;31429. Unfortunately, gvSIG
> Mobile 0.3 is unaware of that projection, so the GPS arrow will not be
> placed correctly. Distance and area measurements will work correctly
> as long as you choose a projection whose map unit is the meter (for
> example the Italian EPSG:3003)
> I have tested that WMS server from the gvSIG Mobile 0.3 workspace in
> Eclipse and it worked fine choosing EPSG:31429. Have you tried that
> option?
> As for the log file, yes you are right, that problem should be more
> visible in the log file, that's our fault.
> Go to Launcher.java and replace this line:
> Logger.getRootLogger().setLevel(Level.WARN);
> with:
> Logger.getRootLogger().setLevel(Level.ALL);
> Perhaps that'll show more messages.
> 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
> Schoolmeesters
> *Enviado el:* jue 30/09/2010 14:21
> *Para:* Users and Developers mailing list
> *Asunto:* [Gvsig_english] gvSIG Mobile workspace - getting "WMS image
> error" after trying to load files from WMS
>
> Dear list,
>
> anybody out there who has tried to load a WMS with the source code
> running in Eclipse?
>
> I've tested the downloadable WinXP version -> no problems apart from the
> language which seems to be spanish only. However, that doesn't matter,
> but I don't understand why my self-compiled version does not load any
> WMS image. Is it possible that the SVN version is not the current
> version? Or did I forget to include something?
>
>
> Best regards,
>
> Marcel Schoolmeesters
> _______________________________________________
> 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/20101007/f417f638/attachment.htm
More information about the Gvsig_internacional
mailing list