[Gvsig_english] WMS layer in gvSIG mini for Android

Alberto Romeu Carrasco aromeu at prodevelop.es
Thu Nov 11 13:02:29 CET 2010


Hi Jukka,

 

"It is also possible that gvSIG does not read the GetCapabilities which tells to use another URL for GetMaps

OnlineResource xlink:href="http://imsref.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_LandCover_NLCD2001 <http://imsref.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_LandCover_NLCD2001> ?"

 

You're right about that. So I will add a ticket in our bug tracker. 

 

Meanwhile there's a way to manually solve that bug. You can look for the layers configuration file at /sdacrd/gvSIG/layers/layers.txt, edit it from your computer and then copy it back to the telephone. For the server you pointed you will have a line like this in layers.txt:

NLCD_2001_Impervious_Surface_PuertoRico;5[>],http://imsref.cr.usgs.gov/WMS_Capabilities/USGS_EDC_LandCover_NLCD2001/capabilities_1_3_0.xml,image/png,20,0,256,-179.9,17.75,-179.9,17.75,-64.5,71.75,EPSG:4326,0.45078125:0.225390625:0.1126953125:0.05634765625:0.028173828125:0.0140869140625:0.00704345703125:0.003521728515625:0.0017608642578125:8.8043212890625E-4:4.40216064453125E-4:2.201080322265625E-4:1.1005401611328126E-4:5.502700805664063E-5:2.7513504028320314E-5:1.3756752014160157E-5:6.8783760070800785E-6:3.4391880035400392E-6:1.7195940017700196E-6:8.597970008850098E-7:4.298985004425049E-7,NLCD_2001_Impervious_Surface_PuertoRico,1.3.0

 

So you can replace the URL by the correct one. 

 

Regards, 

 

Alberto Romeu
---

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 [mailto:gvsig_internacional-bounces at listserv.gva.es] En nombre de Rahkonen Jukka
Enviado el: jueves, 11 de noviembre de 2010 12:11
Para: Users and Developers mailing list
Asunto: Re: [Gvsig_english] WMS layer in gvSIG mini for Android

 

Hi,

 

Perhaps the problem is with WMS 1.3.0 version you are requesting?  Have you tried with capabilities_1_1_1.xml capabilities_1_1_0.xml or capabilities_1_1_1.xml capabilities_1_1_0.xml?

 

It is also possible that gvSIG does not read the GetCapabilities which tells to use another URL for GetMaps

OnlineResource xlink:href="http://imsref.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_LandCover_NLCD2001?"

 

GetMaps does work with the URL above, but so does GetCapabilities as well so you can try to give it for gvSIG Mobile.

This is another WMS service to try http://osm.omniscale.net/proxy/service?  Data are just coastlines outside Germany but the service is up and worked fine a minute ago while I tried it.

 

-Jukka Rahkonen-

 

	
________________________________


	Lähettäjä: gvsig_internacional-bounces at listserv.gva.es [mailto:gvsig_internacional-bounces at listserv.gva.es] Puolesta Michael Denslow
	Lähetetty: 11. marraskuuta 2010 12:52
	Vastaanottaja: Users and Developers mailing list
	Aihe: Re: [Gvsig_english] WMS layer in gvSIG mini for Android

	Thanks for your help!
	
	I am trying to work with a different server to see if I can get this figured this out.
	When I enter:
	http://imsref.cr.usgs.gov/WMS_Capabilities/USGS_EDC_LandCover_NLCD2001/capabilities_1_3_0.xml
	
	I get a list of layers to add. Then I select a layer and select 'Add selected layers.' I get the message 'The layer is not supported.'
	
	Can someone possibly provide me with a URL that does work for them so that I can make sure that I problem is not on my end?
	
	Thanks again,
	Michael

	On Wed, Nov 10, 2010 at 5:09 PM, Austyn Mahoney <austyn.mahoney at borsight.com> wrote:

	Michael
	
	The URL http://ipt-geo.gbif.org/wms does not load anything when accessed from my browser or gvSIG mini.  Can your phones browser access the page?  Logcat throws an IOException saying that their is no route to host when I use that URL in gvSIG.  I have successfully loaded a layer from a WMS server using gvSIG, so I know that it is possible.
	
	-- 
	 <http://img69.imageshack.us/img69/820/borsightlogo.png> 
	Austyn Mahoney
	Software Developer
	Borsight, Inc.
	
	

	On Wed, Nov 10, 2010 at 11:46 AM, Michael Denslow <michael.denslow at gmail.com> wrote:

	Hi Alberto Romeu,
	
	Thank you so much for your reply. I tried again with a stronger 3G
	signal and with wireless internet as well. I still get the same error.
	I am however able to change the base maps in the Tiled map service
	area so I think that my internet connection is on.
	
	Do you have any other suggestions?
	
	Thanks again for your time,
	Michael

	
	
	
	
	On Wed, Nov 10, 2010 at 10:57 AM, Alberto Romeu Carrasco
	<aromeu at prodevelop.es> wrote:
	> Hello Michael,
	>
	> Check the Internet connection of your telephone, that error is shown when is not possible to connect with the server. By the way, you only have to type the URL of the server: http://ipt-geo.gbif.org/wms
	>
	> Regards,
	>
	> Alberto Romeu
	> ---
	>
	> Prodevelop SL, Valencia (España)
	> Tlf.: 96.351.06.12 -- Fax: 96.351.09.68
	> http://www.prodevelop.es
	> ---
	>
	>
	>> -----Mensaje original-----
	>> De: gvsig_internacional-bounces at listserv.gva.es
	>> [mailto:gvsig_internacional-bounces at listserv.gva.es] En nombre de Michael
	>> Denslow
	>> Enviado el: miércoles, 10 de noviembre de 2010 15:40
	>> Para: gvsig_internacional at listserv.gva.es
	>> Asunto: [Gvsig_english] WMS layer in gvSIG mini for Android
	>>
	>> Dear List,
	>> I am new to gvSIG mini and the list so I apologize if I have missed
	>> something obvious.
	>>
	>> I am attempting to add a WMS layer to gvSIG mini. When I add the URL
	>> (Add layer, From WMS server) for a Get capabilities request I get the
	>> following error message 'Error while connecting to the server'.
	>>
	>> I have tried a few different servers that I know do support WMS. Can
	>> anyone provide any guidance?
	>> Here is an example of a URL that I have tried
	>>
	>> http://ipt-geo.gbif.org/wms
	>> http://ipt-geo.gbif.org/wms?GetCapabilites
	>>
	>> This URL returns a map in my web browser
	>> http://ipt-geo.gbif.org/wms?request=GetMap&bbox=-180,-
	>> 90,180,90&layers=gbif:resource47&width=320&height=160&bgcolor=0x7391AD&For
	>> mat=image/jpeg
	>>
	>> I am running gvSIG mini 1.0.0
	>> Android 2.1 on HTC Eris
	>>
	>> Thanks in advance for your help,
	>> Michael
	>>
	>> --
	>> Michael Denslow
	>>
	>> I.W. Carpenter Jr. Herbarium [BOON]
	>> Department of Biology
	>> Appalachian State University
	>> Boone, North Carolina U.S.A.
	>> -- AND --
	>> Communications Manager
	>> Southeast Regional Network of Expertise and Collections
	>> sernec.org
	>>
	>> 36.214177, -81.681480 +/- 3103 meters
	>> _______________________________________________
	>> 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
	>
	
	
	

	--

	Michael Denslow
	
	I.W. Carpenter Jr. Herbarium [BOON]
	Department of Biology
	Appalachian State University
	Boone, North Carolina U.S.A.
	-- AND --
	Communications Manager
	Southeast Regional Network of Expertise and Collections
	sernec.org
	
	36.214177, -81.681480 +/- 3103 meters
	_______________________________________________
	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

	
	
	
	-- 
	Michael Denslow
	
	I.W. Carpenter Jr. Herbarium [BOON]
	Department of Biology
	Appalachian State University
	Boone, North Carolina U.S.A.
	-- AND --
	Communications Manager
	Southeast Regional Network of Expertise and Collections
	sernec.org
	
	36.214177, -81.681480 +/- 3103 meters

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20101111/d77f717d/attachment.htm 


More information about the Gvsig_internacional mailing list