gvSIG bugs #2439

Problems with a WMTS server

Added by Ignacio Brodín about 10 years ago. Updated about 10 years ago.

Status:Closed% Done:

0%

Priority:HighSpent time:-
Assignee:Ignacio Brodín
Category:WMTS
Target version:2.1.0-2222-testing
Severity: Add-on version:
gvSIG version:2.1.0 Add-on build:
gvSIG build: Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch:No Hito:
Add-on name:Unknown

Description

https://map1.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi?SERVICE=WMTS&request=GetCapabilities

java.lang.NumberFormatException: For input string: "CRS84"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:481)
at java.lang.Integer.parseInt(Integer.java:514)
at org.gvsig.crs.repository.EpsgRepository.getCrs(EpsgRepository.java:80)
at org.gvsig.crs.CrsFactory.getCRS(CrsFactory.java:105)
at org.gvsig.crs.CrsFactory.get(CrsFactory.java:240)
at org.gvsig.fmap.crs.CRSFactory.getCRS(CRSFactory.java:61)
at org.gvsig.raster.wmts.io.WMTSDataParametersImpl.setSRS(WMTSDataParametersImpl.java:196)
at org.gvsig.raster.wmts.app.wmtsclient.gui.panel.WMTSParamsPanel.getLayers(WMTSParamsPanel.java:827)
at org.gvsig.raster.wmts.app.wmtsclient.gui.wizard.WMTSWizard.execute(WMTSWizard.java:555)
at org.gvsig.app.extension.AddLayer.loadGenericWizardPanelLayers(AddLayer.java:214)
at org.gvsig.app.extension.AddLayer.addLayers(AddLayer.java:231)
at org.gvsig.app.extension.AddLayer.execute(AddLayer.java:159)
at org.gvsig.andami.actioninfo.impl.DefaultActionInfo.execute(DefaultActionInfo.java:252)
at org.gvsig.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:855)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6288)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6053)
at java.awt.Container.processEvent(Container.java:2045)
at java.awt.Component.dispatchEventImpl(Component.java:4649)
at java.awt.Container.dispatchEventImpl(Container.java:2103)
at java.awt.Component.dispatchEvent(Component.java:4475)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
at java.awt.Container.dispatchEventImpl(Container.java:2089)
at java.awt.Window.dispatchEventImpl(Window.java:2587)
at java.awt.Component.dispatchEvent(Component.java:4475)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:675)
at java.awt.EventQueue.access$300(EventQueue.java:96)
at java.awt.EventQueue$2.run(EventQueue.java:634)
at java.awt.EventQueue$2.run(EventQueue.java:632)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:119)
at java.awt.EventQueue$3.run(EventQueue.java:648)
at java.awt.EventQueue$3.run(EventQueue.java:646)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:645)
at org.gvsig.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:50)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

History

#1 Updated by Ignacio Brodín about 10 years ago

This server send a crs with the string urn:ogc:def:crs:OGC:1.3:CRS84 which was not supported.
This is solved now, but exists another problem because this server needs templates to build URLs. This part of the protocol is not implemented yet but I think that could cost as much one or two days

#2 Updated by Ignacio Brodín about 10 years ago

  • Status changed from New to In progress

#4 Updated by Ignacio Brodín about 10 years ago

  • Status changed from In progress to Fixed

#5 Updated by Álvaro Anguix about 10 years ago

  • Status changed from Fixed to Closed

Also available in: Atom PDF