Hello
I am using GeoServer recently and I have problems trying to update the
geometry type MultiGeometry (GeometryCollection).
The version of GeoServer that I'm using is version 2.1.1, OpenLayers 2.11
for the handling of geometries. The geometries are stored in a database
Oracle 10g.
The GeometryCollection I'm trying to edit is made up of lines and polygons.
When making changes in geometry through OpenLayers, WFS transanction
generated is the following:

<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs"; service="WFS"
version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <wfs:Update typeName="feature:TESTE2_BEMPORTUARIO"
xmlns:feature="http://localhost:8070/geoserver";>
    <wfs:Property>
      <wfs:Name>GEOMETRY</wfs:Name>
      <wfs:Value>
        <gml:GeometryCollection xmlns:gml="http://www.opengis.net/gml";
srsName="EPSG:27493">
          <gml:geometryMember>
            <gml:LineString srsName="EPSG:27493">
              <gml:posList>-46991.12771677839 169596.48558836358
-46988.54482653 169450.97978503</gml:posList>
            </gml:LineString>
          </gml:geometryMember>
          <gml:geometryMember>
            <gml:LineString srsName="EPSG:27493">
              <gml:posList>-47054.80276458 169342.31676662 -46922.36000708
169399.3200074</gml:posList>
            </gml:LineString>
          </gml:geometryMember>
          <gml:geometryMember>
            <gml:Polygon srsName="EPSG:27493">
              <gml:exterior>
                <gml:LinearRing>
                  <gml:posList>-47219.12245095 169315.8135914
-47121.06070263 169323.76454397 -47038.90085945 169360.86898928
-47049.50212954 169437.72819742 -47219.12245095 169315.8135914</gml:posList>
                </gml:LinearRing>
              </gml:exterior>
            </gml:Polygon>
          </gml:geometryMember>
          <gml:geometryMember>
            <gml:Polygon srsName="EPSG:27493">
              <gml:exterior>
                <gml:LinearRing>
                  <gml:posList>-47174.06705308 169448.32946751
-47049.50212954 169485.43391282 -47052.15244706 169551.69185088
-47144.91356033 169567.59375601 -47174.06705308
169448.32946751</gml:posList>
                </gml:LinearRing>
              </gml:exterior>
            </gml:Polygon>
          </gml:geometryMember>
        </gml:GeometryCollection>
      </wfs:Value>
    </wfs:Property>
    <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc";>
      <ogc:FeatureId fid="TESTE2_BEMPORTUARIO.30519"/>
    </ogc:Filter>
  </wfs:Update>
</wfs:Transaction>

Sending the above WFS code to GeoServer, GeoServer gives the following
error:

2011-09-01 13:05:17,062 ERROR [geoserver.wfs] - Transaction failed
org.geoserver.wfs.WFSTransactionException: Update error: java.lang.String
cannot be cast to com.vividsolutions.jts.geom.Geometry
        at
org.geoserver.wfs.UpdateElementHandler.execute(UpdateElementHandler.java:246)
        at org.geoserver.wfs.Transaction.execute(Transaction.java:333)
        at org.geoserver.wfs.Transaction.transaction(Transaction.java:108)
        at
org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:162)
        at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        at
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:51)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy24.transaction(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:630)
        at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:234)
        at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
        at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
        at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
        at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
        at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
        at
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394)
        at
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
        at
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
        at
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
        at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
        at
org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
        at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
        at
org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
        at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
        at
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
        at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
        at
org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185)
        at
org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
        at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to
com.vividsolutions.jts.geom.Geometry
        at
org.geotools.jdbc.JDBCDataStore.updateSQLPS(JDBCDataStore.java:3775)
        at org.geotools.jdbc.JDBCDataStore.update(JDBCDataStore.java:1462)
        at
org.geotools.jdbc.JDBCFeatureStore.modifyFeatures(JDBCFeatureStore.java:358)
        at
org.geotools.data.store.ContentFeatureStore.modifyFeatures(ContentFeatureStore.java:365)
        at
org.geotools.data.SimpleFeatureStoreBridge.modifyFeatures(SimpleFeatureStoreBridge.java:90)
        at
org.vfny.geoserver.global.GeoServerFeatureStore.modifyFeatures(GeoServerFeatureStore.java:182)
        at
org.geoserver.wfs.UpdateElementHandler.execute(UpdateElementHandler.java:240)
        ... 80 more

I was trying to find the source of the problem and I found in the
specification of gml have not reference to GeometryCollection but  have to
MultiGeometry, then I have made the change to the GeometryCollection  to
Multigeometry and inject WFS Code into GeoServer through Demo Request, but
the geoserver continues give me errors and the error is:

2011-09-01 12:43:31,859 ERROR [geoserver.wfs] - Transaction failed
org.geoserver.wfs.WFSTransactionException: Update error: This method does
not support GeometryCollection arguments
        at
org.geoserver.wfs.UpdateElementHandler.execute(UpdateElementHandler.java:246)
        at org.geoserver.wfs.Transaction.execute(Transaction.java:333)
        at org.geoserver.wfs.Transaction.transaction(Transaction.java:108)
        at
org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:162)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        at
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:51)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy24.transaction(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:630)
        at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:234)
        at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
        at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
        at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
        at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
        at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
        at
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394)
        at
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
        at
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
        at
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
        at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
        at
org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
        at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
        at
org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
        at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
        at
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
        at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
        at
org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185)
        at
org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
        at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Caused by: java.lang.IllegalArgumentException: This method does not support
GeometryCollection arguments
        at
com.vividsolutions.jts.geom.Geometry.checkNotGeometryCollection(Geometry.java:1511)
        at com.vividsolutions.jts.geom.Geometry.relate(Geometry.java:951)
        at com.vividsolutions.jts.geom.Geometry.equals(Geometry.java:975)
        at
org.geotools.data.oracle.sdo.GeometryConverter.toSDO(GeometryConverter.java:171)
        at
org.geotools.data.oracle.OracleDialect.setGeometryValue(OracleDialect.java:455)
        at
org.geotools.jdbc.JDBCDataStore.updateSQLPS(JDBCDataStore.java:3813)
        at org.geotools.jdbc.JDBCDataStore.update(JDBCDataStore.java:1462)
        at
org.geotools.jdbc.JDBCFeatureStore.modifyFeatures(JDBCFeatureStore.java:358)
        at
org.geotools.data.store.ContentFeatureStore.modifyFeatures(ContentFeatureStore.java:365)
        at
org.geotools.data.SimpleFeatureStoreBridge.modifyFeatures(SimpleFeatureStoreBridge.java:90)
        at
org.vfny.geoserver.global.GeoServerFeatureStore.modifyFeatures(GeoServerFeatureStore.java:182)
        at
org.geoserver.wfs.UpdateElementHandler.execute(UpdateElementHandler.java:240)
        ... 82 more

The wfs code was injected:

<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs"; service="WFS"
version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <wfs:Update typeName="feature:TESTE2_BEMPORTUARIO"
xmlns:feature="http://localhost:8070/geoserver";>
    <wfs:Property>
      <wfs:Name>GEOMETRY</wfs:Name>
      <wfs:Value>
        <gml:MultiGeometry xmlns:gml="http://www.opengis.net/gml";
srsName="EPSG:27493">
          <gml:geometryMember>
            <gml:LineString srsName="EPSG:27493">
              <gml:posList>-46991.12771677839 169596.48558836358
-46988.54482653 169450.97978503</gml:posList>
            </gml:LineString>
          </gml:geometryMember>
          <gml:geometryMember>
            <gml:LineString srsName="EPSG:27493">
              <gml:posList>-47054.80276458 169342.31676662 -46922.36000708
169399.3200074</gml:posList>
            </gml:LineString>
          </gml:geometryMember>
          <gml:geometryMember>
            <gml:Polygon srsName="EPSG:27493">
              <gml:exterior>
                <gml:LinearRing>
                  <gml:posList>-47219.12245095 169315.8135914
-47121.06070263 169323.76454397 -47038.90085945 169360.86898928
-47049.50212954 169437.72819742 -47219.12245095 169315.8135914</gml:posList>
                </gml:LinearRing>
              </gml:exterior>
            </gml:Polygon>
          </gml:geometryMember>
          <gml:geometryMember>
            <gml:Polygon srsName="EPSG:27493">
              <gml:exterior>
                <gml:LinearRing>
                  <gml:posList>-47174.06705308 169448.32946751
-47049.50212954 169485.43391282 -47052.15244706 169551.69185088
-47144.91356033 169567.59375601 -47174.06705308
169448.32946751</gml:posList>
                </gml:LinearRing>
              </gml:exterior>
            </gml:Polygon>
          </gml:geometryMember>
        </gml:MultiGeometry >
      </wfs:Value>
    </wfs:Property>
    <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc";>
      <ogc:FeatureId fid="TESTE2_BEMPORTUARIO.30519"/>
    </ogc:Filter>
  </wfs:Update>
</wfs:Transaction>

My question is if I made any mistake, if GeoServer can actually update the
GeometryCollection (Multigeometry) and what is the correct wfs transaction
to upgrade GeometryCollection.
Thanks in advance, Luis Morais.

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Error-on-update-a-MultiGeometry-GeometryCollection-tp6753233p6753233.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to