[Gvsig_usuarios] FW: Publicar wfs

José Vicente Higón Valero josevicente.higon en iver.es
Jue Nov 6 08:42:55 CET 2008


Hola Cristina,
todos los pasos que haces son correctos. Quizás sea problema con el
shapefile que estás utilizando. ¿Podemos tener acceso a él?
Otra cosa, ¿puedes adjuntar el log de gvSIG?
Un saludo.
On mar, 2008-11-04 at 15:39 +0100, Cristina Gasch Garcia wrote:
> 
> 
> Hago un resumen de mi duda, a ver si alguien puede ayudarme.
> 
> Utilizo geoserver 1.5.4a
> 
> Después de instalar el geoserver, entro en localhost:8080/geoserver y
> todo funciona correctamente, me logeo.
> 
> Entro en gvSig, abro una vista y añado una capa .shp
> 
> Después voy a la extensión publicar y creo una nueva publicación:
> 
> En URL pongo: http://localhost:8080/geoserver
> Servidor: Geoserver
> Servicio: WFS 1.0.0
> (Aceptar)
> Usuario y contraseña las de por defecto
> Directorio de configuración: C:\publicarGVsig
> (Siguiente)
> URL del servicio: http://localhost:8080/geoserver/wfs
> (Siguiente)
> Añado la capa shp de la vista. (CV10-Municipios CS)
> (Publicar)
> 
> Luego me dirijo a MiPC->propiedades->opciones avanzadas->variables de
> entorno  y  GEOSERVAR_DATA_DIR me aparece en variables de usuario. Lo
> modifico para que apunte a C:\publicarGVsig
> 
> Reinicio geoserver
> 
> Abro una nueva vista en GVsig y me conecto a
> http:localhost:8080/geoserver/wfs y se conecta correctamente paero no
> aparece ninguna capa.
> 
> Entro en http://localhost:8080/geoserver, la barra de datos me aparece
> en rojo. Me logeo y miro en configuración, abajo me aparece:
> 
> *******************************************************************************************
> CV10-Municipios CS:CV10-Municipios C
> java.lang.IllegalArgumentException: Duplicate AttributeTypes
> DefaultAttributeType [name=the_geom , type=class java.lang.String ,
> nillable=true, min=1, max=1]
> ******************************************************************************************

> 
> 
> Por otra parte pruebo a hacer lo mismo de antes, pero esta vez con un
> shp de una capa que viene de ejemplo en geoserver.
> La capa se carga perfectamente, pero, cuando la añado a una vista
> todos los datos de la tabla, están pero en blanco... (es decir, si la
> tabla tiene 20 filas, me aparecen las 20 filas pero en blanco, y si
> pulso una, se señala la fila y su correspondiente en el mapa). Además
> de que si entro en mapbuilder, el mapa me aparece en blanco y si pulso
> en cualquier sitio del mapa en blanco me aparece:
> 
> ************************************************************************
> java.lang.NullPointerException at
> org.vfny.geoserver.global.Data.getFeatureTypeInfo(Data.java:1185) at
> org.vfny.geoserver.global.GeoserverDataDirectory.findFeatureTypeDirName(GeoserverDataDirectory.java:85) at org.geoserver.template.GeoServerTemplateLoader.findTemplateSource(GeoServerTemplateLoader.java:106) at freemarker.cache.TemplateCache.acquireTemplateSource(TemplateCache.java:523) at freemarker.cache.TemplateCache.findTemplateSource(TemplateCache.java:499) at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:329) at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:229) at freemarker.template.Configuration.getTemplate(Configuration.java:487) at freemarker.template.Configuration.getTemplate(Configuration.java:452) at org.vfny.geoserver.wms.responses.featureInfo.HTMLTableFeatureInfoResponse.getTemplate(HTMLTableFeatureInfoResponse.java:117) at org.vfny.geoserver.wms.responses.featureInfo.HTMLTableFeatureInfoResponse.writeTo(HTMLTableFeatureInfoResponse.java:82) at org.vfny.geoserver.wms.responses.GetFeatureInfoResponse.writeTo(GetFeatureInfoResponse.java:173) at org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:592) at org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:315) at org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:192) at org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:52) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050) at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:103) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141) at org.mortbay.jetty.Server.handle(Server.java:269) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:687) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339) at org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) 
> *********************************************************************************************************


> 
> 
> 
> 
> En la lista de usuarios me pidieron que entrara en: 
> http://localhost:8080/geoserver/wfs?service=WFS&request=GetCapabilities
> 
> Lo que me aparece es:
> 
> ************************************************************************
> <WFS_Capabilities version="1.0.0" xsi:schemaLocation="http://www.opengis.net/wfs http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-capabilities.xsd">
> −
> <Service>
> <Name>OGC:WFS</Name>
> <Title>Geoserver WFS 1.0.0</Title>
> <Abstract>generated by gvSIG</Abstract>
> <Keywords>Not implemented yet</Keywords>
> <OnlineResource>http://localhost:8080/geoserver/wfs</OnlineResource>
> <Fees/>
> <AccessConstraints/>
> </Service>
> −
> <Capability>
> −
> <Request>
> −
> <GetCapabilities>
> −
> <DCPType>
> −
> <HTTP>
> <Get onlineResource="http://localhost:8080/geoserver/wfs?"/>
> </HTTP>
> </DCPType>
> −
> <DCPType>
> −
> <HTTP>
> <Post onlineResource="http://localhost:8080/geoserver/wfs?"/>
> </HTTP>
> </DCPType>
> </GetCapabilities>
> −
> <DescribeFeatureType>
> −
> <SchemaDescriptionLanguage>
> <XMLSCHEMA/>
> </SchemaDescriptionLanguage>
> −
> <DCPType>
> −
> <HTTP>
> <Get onlineResource="http://localhost:8080/geoserver/wfs?"/>
> </HTTP>
> </DCPType>
> −
> <DCPType>
> −
> <HTTP>
> <Post onlineResource="http://localhost:8080/geoserver/wfs?"/>
> </HTTP>
> </DCPType>
> </DescribeFeatureType>
> −
> <GetFeature>
> −
> <ResultFormat>
> <GML2/>
> <GML2-GZIP/>
> <SHAPE-ZIP/>
> </ResultFormat>
> −
> <DCPType>
> −
> <HTTP>
> <Get onlineResource="http://localhost:8080/geoserver/wfs?"/>
> </HTTP>
> </DCPType>
> −
> <DCPType>
> −
> <HTTP>
> <Post onlineResource="http://localhost:8080/geoserver/wfs?"/>
> </HTTP>
> </DCPType>
> </GetFeature>
> −
> <Transaction>
> −
> <DCPType>
> −
> <HTTP>
> <Get onlineResource="http://localhost:8080/geoserver/wfs?"/>
> </HTTP>
> </DCPType>
> −
> <DCPType>
> −
> <HTTP>
> <Post onlineResource="http://localhost:8080/geoserver/wfs?"/>
> </HTTP>
> </DCPType>
> </Transaction>
> −
> <LockFeature>
> −
> <DCPType>
> −
> <HTTP>
> <Get onlineResource="http://localhost:8080/geoserver/wfs?"/>
> </HTTP>
> </DCPType>
> −
> <DCPType>
> −
> <HTTP>
> <Post onlineResource="http://localhost:8080/geoserver/wfs?"/>
> </HTTP>
> </DCPType>
> </LockFeature>
> −
> <GetFeatureWithLock>
> −
> <ResultFormat>
> <GML2/>
> </ResultFormat>
> −
> <DCPType>
> −
> <HTTP>
> <Get onlineResource="http://localhost:8080/geoserver/wfs?"/>
> </HTTP>
> </DCPType>
> −
> <DCPType>
> −
> <HTTP>
> <Post onlineResource="http://localhost:8080/geoserver/wfs?"/>
> </HTTP>
> </DCPType>
> </GetFeatureWithLock>
> </Request>
> </Capability>
> −
> <FeatureTypeList>
> −
> <Operations>
> <Query/>
> <Insert/>
> <Update/>
> <Delete/>
> <Lock/>
> </Operations>
> −
> <FeatureType>
> <Name>nyc:giant_polygon</Name>
> <Title>giant_polygon.shp</Title>
> <Abstract>generated by gvSIG</Abstract>
> <Keywords>Not yet implemented</Keywords>
> <SRS>EPSG:23030</SRS>
> <LatLongBoundingBox minx="-7.49018003213824" miny="-8.117099840232678E-4" maxx="-7.486954919750665" maxy="8.117135951821653E-4"/>
> </FeatureType>
> −
> <FeatureType>
> <Name>nyc:poi</Name>
> <Title>poi.shp</Title>
> <Abstract>generated by gvSIG</Abstract>
> <Keywords>Not yet implemented</Keywords>
> <SRS>EPSG:23030</SRS>
> <LatLongBoundingBox minx="-7.489230522841563" miny="3.6714183871228E-4" maxx="-7.489230430557684" maxy="3.672531178938376E-4"/>
> </FeatureType>
> −
> <FeatureType>
> <Name>nyc:poly_landmarks</Name>
> <Title>poly_landmarks.shp</Title>
> <Abstract>generated by gvSIG</Abstract>
> <Keywords>Not yet implemented</Keywords>
> <SRS>EPSG:23030</SRS>
> <LatLongBoundingBox minx="-7.489230839559929" miny="3.668902185986573E-4" maxx="-7.48922959104035" maxy="3.6871593775893917E-4"/>
> </FeatureType>
> −
> <FeatureType>
> <Name>shapefiles:states</Name>
> <Title>states.shp</Title>
> <Abstract>generated by gvSIG</Abstract>
> <Keywords>Not yet implemented</Keywords>
> <SRS>EPSG:23030</SRS>
> <LatLongBoundingBox minx="-7.489684901057849" miny="2.2507801571784527E-4" maxx="-7.4891674363140535" maxy="4.452842913298185E-4"/>
> </FeatureType>
> −
> <FeatureType>
> <Name>prueba:states2</Name>
> <Title>states2.shp</Title>
> <Abstract>generated by gvSIG</Abstract>
> <Keywords>Not yet implemented</Keywords>
> <SRS>EPSG:23030</SRS>
> <LatLongBoundingBox minx="-7.489684901057849" miny="2.2507801571784527E-4" maxx="-7.4891674363140535" maxy="4.452842913298185E-4"/>
> </FeatureType>
> −
> <FeatureType>
> <Name>taz_shapes:tasmania_cities</Name>
> <Title>tasmania_cities.shp</Title>
> <Abstract>generated by gvSIG</Abstract>
> <Keywords>Not yet implemented</Keywords>
> <SRS>EPSG:23030</SRS>
> <LatLongBoundingBox minx="-7.5872479483289" miny="-0.10038647474096604" maxx="-7.387247948328901" maxy="0.09961352525903397"/>
> </FeatureType>
> −
> <FeatureType>
> <Name>taz_shapes:tasmania_roads</Name>
> <Title>tasmania_roads.shp</Title>
> <Abstract>generated by gvSIG</Abstract>
> <Keywords>Not yet implemented</Keywords>
> <SRS>EPSG:23030</SRS>
> <LatLongBoundingBox minx="-7.4872667029355915" miny="-3.9163822096182764E-4" maxx="-7.487239151096869" maxy="-3.6845290874866206E-4"/>
> </FeatureType>
> −
> <FeatureType>
> <Name>taz_shapes:tasmania_state_boundaries</Name>
> <Title>tasmania_state_boundaries.shp</Title>
> <Abstract>generated by gvSIG</Abstract>
> <Keywords>Not yet implemented</Keywords>
> <SRS>EPSG:23030</SRS>
> <LatLongBoundingBox minx="-7.487278911048067" miny="-3.9366338476939136E-4" maxx="-7.487237304164471" maxy="-3.5691836478168697E-4"/>
> </FeatureType>
> −
> <FeatureType>
> <Name>taz_shapes:tasmania_water_bodies</Name>
> <Title>tasmania_water_bodies.shp</Title>
> <Abstract>generated by gvSIG</Abstract>
> <Keywords>Not yet implemented</Keywords>
> <SRS>EPSG:23030</SRS>
> <LatLongBoundingBox minx="-7.487259768221878" miny="-3.8810665875796976E-4" maxx="-7.487248587116302" maxy="-3.7677527380878466E-4"/>
> </FeatureType>
> −
> <FeatureType>
> <Name>nyc:tiger_roads</Name>
> <Title>tiger_roads.shp</Title>
> <Abstract>generated by gvSIG</Abstract>
> <Keywords>Not yet implemented</Keywords>
> <SRS>EPSG:23030</SRS>
> <LatLongBoundingBox minx="-7.489230660700756" miny="3.6693146262940595E-4" maxx="-7.489229583739046" maxy="3.6868076361721793E-4"/>
> </FeatureType>
> </FeatureTypeList>
> −
> <ogc:Filter_Capabilities>
> −
> <ogc:Spatial_Capabilities>
> −
> <ogc:Spatial_Operators>
> <ogc:Disjoint/>
> <ogc:Equals/>
> <ogc:DWithin/>
> <ogc:Beyond/>
> <ogc:Intersect/>
> <ogc:Touches/>
> <ogc:Crosses/>
> <ogc:Within/>
> <ogc:Contains/>
> <ogc:Overlaps/>
> <ogc:BBOX/>
> </ogc:Spatial_Operators>
> </ogc:Spatial_Capabilities>
> −
> <ogc:Scalar_Capabilities>
> <ogc:Logical_Operators/>
> −
> <ogc:Comparison_Operators>
> <ogc:Simple_Comparisons/>
> <ogc:Between/>
> <ogc:Like/>
> <ogc:NullCheck/>
> </ogc:Comparison_Operators>
> −
> <ogc:Arithmetic_Operators>
> <ogc:Simple_Arithmetic/>
> −
> <ogc:Functions>
> −
> <ogc:Function_Names>
> <ogc:Function_Name nArgs="1">abs</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">abs_2</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">abs_3</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">abs_4</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">acos</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">Area</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">asin</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">atan</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">atan2</ogc:Function_Name>
> <ogc:Function_Name nArgs="3">between</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">boundary</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">boundaryDimension</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">buffer</ogc:Function_Name>
> <ogc:Function_Name nArgs="3">bufferWithSegments</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">ceil</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">centroid</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">Collection_Average</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">Collection_Bounds</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">Collection_Count</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">Collection_Max</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">Collection_Median</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">Collection_Min</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">Collection_Sum</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">Collection_Unique</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">contains</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">convexHull</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">cos</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">crosses</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">difference</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">dimension</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">disjoint</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">distance</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">double2bool</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">endPoint</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">envelope</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">EqualInterval</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">equalsExact</ogc:Function_Name>
> <ogc:Function_Name nArgs="3">equalsExactTolerance</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">equalTo</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">exp</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">exteriorRing</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">floor</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">geometryType</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">geomFromWKT</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">geomLength</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">getGeometryN</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">getX</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">getY</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">getZ</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">greaterEqualThan</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">greaterThan</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">IEEEremainder</ogc:Function_Name>
> <ogc:Function_Name nArgs="3">if_then_else</ogc:Function_Name>
> <ogc:Function_Name nArgs="11">in10</ogc:Function_Name>
> <ogc:Function_Name nArgs="3">in2</ogc:Function_Name>
> <ogc:Function_Name nArgs="4">in3</ogc:Function_Name>
> <ogc:Function_Name nArgs="5">in4</ogc:Function_Name>
> <ogc:Function_Name nArgs="6">in5</ogc:Function_Name>
> <ogc:Function_Name nArgs="7">in6</ogc:Function_Name>
> <ogc:Function_Name nArgs="8">in7</ogc:Function_Name>
> <ogc:Function_Name nArgs="9">in8</ogc:Function_Name>
> <ogc:Function_Name nArgs="10">in9</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">int2bbool</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">int2ddouble</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">interiorPoint</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">interiorRingN</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">intersection</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">intersects</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">isClosed</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">isEmpty</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">isLike</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">isNull</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">isRing</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">isSimple</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">isValid</ogc:Function_Name>
> <ogc:Function_Name nArgs="3">isWithinDistance</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">length</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">lessEqualThan</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">lessThan</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">log</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">max</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">max_2</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">max_3</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">max_4</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">min</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">min_2</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">min_3</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">min_4</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">not</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">notEqualTo</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">numGeometries</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">numInteriorRing</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">numPoints</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">overlaps</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">parseBoolean</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">parseDouble</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">parseInt</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">pointN</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">pow</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">PropertyExists</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">Quantile</ogc:Function_Name>
> <ogc:Function_Name nArgs="0">random</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">relate</ogc:Function_Name>
> <ogc:Function_Name nArgs="3">relatePattern</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">rint</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">round</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">round_2</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">roundDouble</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">sin</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">sqrt</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">StandardDeviation</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">startPoint</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">strConcat</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">strEndsWith</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">strEqualsIgnoreCase</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">strIndexOf</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">strLastIndexOf</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">strLength</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">strMatches</ogc:Function_Name>
> <ogc:Function_Name nArgs="4">strReplace</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">strStartsWith</ogc:Function_Name>
> <ogc:Function_Name nArgs="3">strSubstring</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">strSubstringStart</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">strTrim</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">symDifference</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">tan</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">toDegrees</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">toRadians</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">touches</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">toWKT</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">union</ogc:Function_Name>
> <ogc:Function_Name nArgs="1">UniqueInterval</ogc:Function_Name>
> <ogc:Function_Name nArgs="2">within</ogc:Function_Name>
> </ogc:Function_Names>
> </ogc:Functions>
> </ogc:Arithmetic_Operators>
> </ogc:Scalar_Capabilities>
> </ogc:Filter_Capabilities>
> </WFS_Capabilities>
> ****************************************************************
> 
> Y también que entrara en: 
> http://localhost:8080/geoserver/wfs?service=WFS&version=1.0.0&request=GetFeature&typename=capa.shp
> 
> Y me aparece:
> 
> ****************************************************************
> <ServiceExceptionReport version="1.2.0" xsi:schemaLocation="http://www.opengis.net/ogc http://localhost:8080/geoserver/schemas//wfs/1.0.0/OGC-exception.xsd">
> −
> <ServiceException>
> 
>       java.lang.NullPointerException
> 	at org.vfny.geoserver.global.Data.getFeatureTypeInfo(Data.java:1185)
> 	at org.vfny.geoserver.wfs.responses.FeatureResponse.execute(FeatureResponse.java:267)
> 	at org.vfny.geoserver.wfs.responses.FeatureResponse.execute(FeatureResponse.java:146)
> 	at org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:516)
> 	at org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:315)
> 	at org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:192)
> 	at org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:52)
> 	at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
> 	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
> 	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
> 	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
> 	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
> 	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050)
> 	at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:103)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
> 	at org.mortbay.jetty.Server.handle(Server.java:269)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:687)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
> 	at org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
> 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
>    
> </ServiceException>
> </ServiceExceptionReport>
> *******************************************************************************
> Ojalá podáis ayudarme, necesito poder hacer esto para el proyecto, y
> la verdad yo no entiendo que es lo que falla.
> Gracias por adelantado.
> 
> 
> ______________________________________________________________________
> Ahora llévate lo mejor de MSN y Windows Live, en tu móvil 
> 
> ______________________________________________________________________
> La cartera, las gafas… ¿te falta algo? Ahora llévate Messenger en tu
> móvil
> _______________________________________________
> gvSIG_usuarios mailing list
> gvSIG_usuarios en runas.cap.gva.es
> 
> Para ver histórico de mensajes, editar sus preferencias de usuario o darse de baja en esta lista, acuda a la siguiente dirección:
> 
> http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios
-- 
José Vicente Higón Valero
Grupo desarrollo gvSIG. 
IVER TI S.A. 
C/Salamanca, 50-52 46005-Valencia
Tlf.+34963163400 
http://www.iver.es
http://www.gvsig.com 
http://www.gvsig.gva.es


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.





Más información sobre la lista de distribución gvSIG_usuarios