[Gvsig_english] WFS can't connect

Jorge Piera jorge.piera at iver.es
Tue Jun 17 17:19:24 CEST 2008


Hi Yves.
> I did as suggested at the url you pointed me to.  A colleague of mine 
> noticed that when calling GeoServer's default's WFS (1.1.0, as in 
> http://.../geoserver-1.7/wfs), one gets :
>
> <gml:MultiSurface srsName="urn:x-ogc:def:crs:EPSG:32735">
>
> and this brings about an error in gvSIG.
>
> However, if one forces WFS 1.0.0 (e.g. 
> http://.../geoserver-1.7/wfs?service=WFS&version=1.0.0&request=GetFeature&...), 
> one gets :
>
> <gml:MultiPolygon srsName="EPSG:32735">
>
> and the layer loads properly in gvSIG.  This means we have to point 
> our customers on different versions of GeoServer's WFS depending on 
> their desktop client.  We can live with that for now.
The WFS 1.1.0 specification says that you can use either the EPSG or the 
URL. I don't know if you can configure it with Geoserver.
> Now, trying to edit features following 
> https://gvsig.org/web/docusr/wfst-usage/wfst-usage, I do not see the 
> "Start WFST Edition" dropdown option.  Are there more up to date 
> tutorials I could use?
The WFS-T client is under development and it is not loaded by default in 
gvSIG but you can activate it. Open the preferences window and select 
the option "General - Extensions - 
com.iver.cit.gvsig.wfs.WFSTClientExtension". Select the "Active 
Extension" check box and restart the application.

Regards.

Jorge.

>
> TIA,
>
> Yves
>
>
> */Jorge Piera <jorge.piera at iver.es>/* wrote:
>
>     Hi Yves.
>
>     http://geoserver.org/display/GEOSDOC/WFS+Configuration
>
>     See the description section.
>
>     Regards.
>
>     Jorge.
>
>     > Hola Jorge,
>     >
>     > Here's the partial output of a GetFeature on our GeoServer :
>     >
>     >
>     >
>     > Is there some settings I have to do in GeoServer to make it gvSIG
>     > compliant ?
>     >
>     > TIA,
>     >
>     > Yves
>     >
>     > */Jorge Piera /* wrote:
>     >
>     > Hi.
>     >
>     > Can you send us the SRS of the layer that you are trying to
>     load? The
>     > SRS may be indicated using either the European Petroleum Survey
>     Group
>     > form 'EPSG:' or the URL format defined in the GML
>     > specification. At this moment gvSIG only supports the first one and
>     > Geoserver uses the second one by default.
>     >
>     > Regards.
>     >
>     > Jorge.
>     >
>     > Yves Moisan escribió:
>     > > Hi All,
>     > >
>     > > I am new to gvSIG and I'm having problems connecting to my
>     > GeoServer
>     > > (1.7.0b1). I'm on win XP, gvSIG 1.1.2. Trying to connect to my
>     > > GeoServer instance I get :
>     > >
>     > > Erreur non capturée par l'utilisateur
>     > > java.lang.StringIndexOutOfBoundsException: String index out of
>     > range:
>     > > -1 java.lang.String.substring(Unknown Source)
>     > > org.gvsig.crs.CrsFactory.getCRS(Unknown Source)
>     > > org.gvsig.crs.CrsFactory.get(Unknown Source)
>     > > com.iver.cit.gvsig.fmap.crs.CRSFactory.getCRS(Unknown Source)
>     > > com.iver.cit.gvsig.fmap.layers.FLyrWFSFactory.getFLyrWFS(Unknown
>     > > Source) com.iver.cit.gvsig.gui.wizards.WFSWizard.getLayer(Unknown
>     > > Source)
>     > > com.iver.cit.gvsig.AddLayer.loadGenericWizardPanelLayers(Unknown
>     > > Source) com.iver.cit.gvsig.AddLayer.addLayers(Unknown Source)
>     > > com.iver.cit.gvsig.AddLayer.execute(Unknown Source)
>     > > com.iver.andami.plugins.ExtensionDecorator.execute(Unknown Source)
>     > > com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(Unknown
>     > > Source) javax.swing.AbstractButton.fireActionPerformed(Unknown
>     > > Source) javax.swing.AbstractButton$Handler.actionPerformed(Unknown
>     > > Source) javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
>     > > Source) javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>     > > javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
>     > > Source) java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>     > > java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>     > > java.awt.Component.processMouseEvent(Unknown Source)
>     > > javax.swing.JComponent.processMouseEvent(Unknown Source)
>     > > java.awt.Component.processEvent(Unknown Source)
>     > > java.awt.Container.processEvent(Unknown Source)
>     > > java.awt.Component.dispatchEventImpl(Unknown Source)
>     > > java.awt.Container.dispatchEventImpl(Unknown Source)
>     > > java.awt.Component.dispatchEvent(Unknown Source)
>     > > java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>     > > java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>     > > java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>     > > java.awt.Container.dispatchEventImpl(Unknown Source)
>     > > java.awt.Window.dispatchEventImpl(Unknown Source)
>     > > java.awt.Component.dispatchEvent(Unknown Source)
>     > > java.awt.EventQueue.dispatchEvent(Unknown Source)
>     > > com.iver.andami.ui.AndamiEventQueue.dispatchEvent(Unknown Source)
>     > > java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
>     > > Source)
>     > > java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>     > > Source) java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     > > java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     > > java.awt.EventDispatchThread.run(Unknown Source)
>     > >
>     > > I can get the layer with MapInfo and we even succeeded in
>     > updating the
>     > > postgis data directly through WFS-T for that layer, so I wonder
>     > why I
>     > > cannot just read it with gvSIG.
>     > >
>     > > Pointers appreciated,
>     > >
>     > > Yves Moisan
>     > >
>     >
>     ------------------------------------------------------------------------
>     > >
>     > > _______________________________________________
>     > > Gvsig_internacional mailing list
>     > > Gvsig_internacional at runas.cap.gva.es
>     > > http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>     > >
>     >
>     >
>     > --
>     > Jorge Piera Llodrá
>     > Especialista en Servicios OGC
>     > Equipo de desarrollo gvSIG
>     > IVER TI S.A.
>     > C/ Salamanca, 50-52
>     > 46005-Valencia
>     > Tlf.+34902252540
>     > www.iver.es
>     > www.gvsig.com
>     >
>     >
>     > 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 runas.cap.gva.es
>     > http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Gvsig_internacional mailing list
>     > Gvsig_internacional at runas.cap.gva.es
>     > http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     >
>     > No virus found in this incoming message.
>     > Checked by AVG.
>     > Version: 8.0.100 / Virus Database: 270.3.0/1505 - Release Date:
>     16/06/2008 7:20
>     >
>
>
>     -- 
>     Jorge Piera Llodrá
>     Especialista en Servicios OGC
>     Equipo de desarrollo gvSIG
>     IVER TI S.A.
>     C/ Salamanca, 50-52
>     46005-Valencia
>     Tlf.+34902252540
>     www.iver.es
>     www.gvsig.com
>
>
>     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 runas.cap.gva.es
>     http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at runas.cap.gva.es
> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>   
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 8.0.100 / Virus Database: 270.3.0/1505 - Release Date: 16/06/2008 7:20
>   


-- 
Jorge Piera Llodrá
Especialista en Servicios OGC
Equipo de desarrollo gvSIG
IVER TI S.A.
C/ Salamanca, 50-52
46005-Valencia
Tlf.+34902252540
www.iver.es
www.gvsig.com 


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