RE: [mapserver-users] Strange Behaviour with getFeature using POST method and more than one typename
Assefa, From the url you sent, you seem to be on a windows machine, is that correct? Yes, I'm currently on a windows machine. I've got ms4w package (MS4W Base Installer v2.3.1 (Dec 2, 2008) to be precise) I am trying to see if it is possible to provide you binaries with the patch. I can provide this service for a fee myself or though an associate. Does this mean that I have to pay to get the binaries with the patch? We are planning to to get this working in production level, so it would be desirable to have a stable version of MapServer. What would you recommend as best (not to much complicated and short in time) solution? Thanks. -Mensaje original- De: Yewondwossen Assefa [mailto:yass...@dmsolutions.ca] Enviado el: martes, 13 de abril de 2010 18:42 Para: David Alda Fernandez de Lezea Asunto: Re: [mapserver-users] Strange Behaviour with getFeature using POSTmethod and more than one typename David Alda Fernandez de Lezea wrote: Assefa, Thanks one more time. I hope this will be a strong reason to migrate to the latest version. Until that happens, I don't know really how I have to proceed to update my mapserver version with this patch. Should I re-compile the application?? How should I proceed?? Yes you need to recompile or get binaries that has the patch. From the url you sent, you seem to be on a windows machine, is that correct? If that is the case, where did you get your binaries (ms4w, other sources)? I am trying to see if it is possible to provide you binaries with the patch. I can provide this service for a fee myself or though an associate. Let me know. best regards, Thanks. -Mensaje original- De: Yewondwossen Assefa [mailto:yass...@dmsolutions.ca] Enviado el: martes, 13 de abril de 2010 16:22 Para: David Alda Fernandez de Lezea CC: mapserver-users@lists.osgeo.org Asunto: Re: [mapserver-users] Strange Behaviour with getFeature using POSTmethod and more than one typename David Alda Fernandez de Lezea wrote: Assefa, I'm using version 5.2.1, but we are not sure if we are going to migrate or not. This is what I get: I was able to reproduce the problem. I have entered a bug for it [1] and prepared patches for different versions of Mapserver. Please check the bug and update it if that works for you. As I mentioned, this should not happen with current trunk version. [1]: http://trac.osgeo.org/mapserver/ticket/3430 best regards Request: ?xml version=1.0 ?wfs:GetFeature service=WFS version=1.1.0 outputFormat=text/xml; subtype=gml/3.1.1xmlns:wfs=http://www.opengis.net/wfs; xmlns:ogc=http://www.opengis.net/ogcxmlns:xsi=http://www.w3.org/20 0 1/ XMLSchema-instance xsi:schemaLocation=http://www.opengis.net/wfs ../wfs/1.1.0/WFS.xsd wfs:Query typeName=PoligonosSigpac ogc:Filter ogc:Or PropertyIsEqualToogc:PropertyNameGID/ogc:PropertyNameLiteral1 /L iteral/PropertyIsEqualTo PropertyIsEqualToogc:PropertyNameGID/ogc:PropertyNameLiteral6 5 / Literal/PropertyIsEqualTo PropertyIsEqualToogc:PropertyNameGID/ogc:PropertyNameLiteral1 9 7 /Literal/PropertyIsEqualTo PropertyIsEqualToogc:PropertyNameGID/ogc:PropertyNameLiteral2 4 5 /Literal/PropertyIsEqualTo /ogc:Or /ogc:Filter /wfs:Query /wfs:GetFeature Debug info of the request: [Tue Apr 13 14:05:51 2010].39000 CGI Request 1 on process 3408 [Tue Apr 13 14:05:51 2010].54000 msOracleSpatialLayerOpen called with: GEOMETRY FROM (SELECT * FROM GX_SIGPAC_POLIGONOS) USING UNIQUE gid SRID 82337 [Tue Apr 13 14:05:51 2010].164000 msOracleSpatialLayerOpen. Shared connection not available. Creating one. [Tue Apr 13 14:05:51 2010].164000 msConnPoolRegister(PoligonosSigpac,admcarto/admca...@ora10gex,01C6FA4 8 ) [Tue Apr 13 14:05:51 2010].164000 msOracleSpatialLayerFreeItemInfo was called. [Tue Apr 13 14:05:51 2010].164000 msOracleSpatialLayerGetItems was called. [Tue Apr 13 14:05:51 2010].164000 msOracleSpatialLayerInitItemInfo was called. [Tue Apr 13 14:05:51 2010].164000 msOracleSpatialLayerFreeItemInfo was called. [Tue Apr 13 14:05:51 2010].164000 msOracleSpatialLayerClose was called. Layer name: PoligonosSigpac. Layer connection: admcarto/admca...@ora10gex [Tue Apr 13 14:05:51 2010].164000 msOracleSpatialLayerClose. Cleaning layerinfo handlers. [Tue Apr 13 14:05:51 2010].164000 msOracleSpatialLayerClose. Cleaning Oracle Cache. [Tue Apr 13 14:05:51 2010].164000 msOracleSpatialLayerClose. Release the Oracle Pool. [Tue Apr 13 14:05:51 2010].164000 msConnPoolRelease(PoligonosSigpac,admcarto/admca...@ora10gex,01C6FA48 ) [Tue Apr 13 14:05:51 2010].164000 msConnPoolClose(admcarto/admca...@ora10gex,01C6FA48) [Tue Apr 13 14:05:51 2010].164000 msOracleSpatialLayerOpen called with: GEOMETRY FROM (SELECT * FROM GX_SIGPAC_POLIGONOS) USING UNIQUE gid SRID 82337 [Tue Apr 13 14:05:51 2010].21 msOracleSpatialLayerOpen. Shared connection not available. Creating one.
RE: [mapserver-users] Strange Behaviour with getFeature using POST method and more than one typename
Assefa, From the url you sent, you seem to be on a windows machine, is that correct? Yes, I'm currently on a windows machine. I've got ms4w package (MS4W Base Installer v2.3.1 (Dec 2, 2008) to be precise) I am trying to see if it is possible to provide you binaries with the patch. I can provide this service for a fee myself or though an associate. Does this mean that I have to pay to get the binaries with the patch? We are planning to to get this working in production level, so it would be desirable to have a stable version of MapServer. What would you recommend as best (not too much complicated and short in time) solution? Thanks. -Mensaje original- De: Yewondwossen Assefa [mailto:yass...@dmsolutions.ca] Enviado el: martes, 13 de abril de 2010 18:42 Para: David Alda Fernandez de Lezea Asunto: Re: [mapserver-users] Strange Behaviour with getFeature using POSTmethod and more than one typename David Alda Fernandez de Lezea wrote: Assefa, Thanks one more time. I hope this will be a strong reason to migrate to the latest version. Until that happens, I don't know really how I have to proceed to update my mapserver version with this patch. Should I re-compile the application?? How should I proceed?? Yes you need to recompile or get binaries that has the patch. From the url you sent, you seem to be on a windows machine, is that correct? If that is the case, where did you get your binaries (ms4w, other sources)? I am trying to see if it is possible to provide you binaries with the patch. I can provide this service for a fee myself or though an associate. Let me know. best regards, ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RV: [mapserver-users] Strange Behaviour with getFeature using POST method and more than one typename
Hello, I've sent this message several hours ago, but still isn't be received in the mailing lists. It happens to me very frecuently to send a message and take like 2 hours for the to get my message. Is there something wrong with my emails? Thanks. -Mensaje original- De: David Alda Fernandez de Lezea Enviado el: lunes, 12 de abril de 2010 13:20 Para: mapserver-users@lists.osgeo.org Asunto: RE: [mapserver-users] Strange Behaviour with getFeature using POST method and more than one typename Assefa, Thanks for your response. I had that configured in the waye you told me this is what I get: [Fri Apr 09 11:24:45 2010].725000 CGI Request 1 on process 1948 [Fri Apr 09 11:24:46 2010].37000 mapserv request processing time (msLoadMap not incl.): 0.312s [Fri Apr 09 11:24:46 2010].37000 msFreeMap(): freeing map at 015D60B8. You should be able to check then the query sent to the oracle db and that might give your more hints. Where I can view the query sent to Oracle?? Thanks. -Mensaje original- De: Yewondwossen Assefa [mailto:yass...@dmsolutions.ca] Enviado el: viernes, 09 de abril de 2010 14:19 Para: David Alda Fernandez de Lezea CC: mapserver-users@lists.osgeo.org Asunto: Re: [mapserver-users] Strange Behaviour with getFeature using POST method and more than one typename David, You could possibly get more hints if you put you map in debug mode and see the logs. You can add something like this in your map: CONFIG MS_ERRORFILE f:/tmp/ms_error.log DEBUG 5 You should be able to check then the query sent to the oracle db and that might give your more hints. regards, David Alda Fernandez de Lezea wrote: Hi list, I'm having a strange behaviour when receiving data from getFeature request. I prepare a request that is intended to mark some parcels from two different layers (these layers are stored in Oracle Spatial). The request looks like: ?xml version=1.0 ? wfs:GetFeature service=WFS version=1.1.0 outputFormat=text/xml; subtype=gml/3.1.1 xmlns:wfs=http://www.opengis.net/wfs; xmlns:ogc=http://www.opengis.net/ogc; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.opengis.net/wfs ../wfs/1.1.0/WFS.xsd wfs:Query typeName=RecintosSigpac ogc:Filter ogc:Or ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Li teral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral1/Lit eral/PropertyIsEqualTo PropertyIsEqualToPropertyNameRECINTO/PropertyNameLiteral1/Lit eral/PropertyIsEqualTo /ogc:And ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Li teral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral20/Li teral/PropertyIsEqualTo PropertyIsEqualToPropertyNameRECINTO/PropertyNameLiteral1/Lit eral/PropertyIsEqualTo /ogc:And ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Li teral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral24/Li teral/PropertyIsEqualTo PropertyIsEqualToPropertyNameRECINTO/PropertyNameLiteral1/Lit eral/PropertyIsEqualTo /ogc:And /ogc:Or /ogc:Filter /wfs:Query wfs:Query typeName=ParcelasSigpac ogc:Filter ogc:Or ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Li teral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral29/Li teral/PropertyIsEqualTo /ogc:And ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Li teral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral5/Lit eral/PropertyIsEqualTo /ogc:And /ogc:Or /ogc:Filter /wfs:Query /wfs:GetFeature All the features that I want to mark using these filters are unique rows in Oracle Spatial. Using my Ajax app I get the following response: ?xml version='1.0' encoding=ISO-8859-1 ? wfs:FeatureCollection xmlns:ms=http://mapserver.gis.umn.edu/mapserver; xmlns:gml=http://www.opengis.net/gml; xmlns:wfs=http://www.opengis.net/wfs; xmlns:ogc=http://www.opengis.net/ogc; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
RE: [mapserver-users] Strange Behaviour with getFeature using POST method and more than one typename
Assefa, Thanks for your response. I had that configured in the waye you told me this is what I get: [Fri Apr 09 11:24:45 2010].725000 CGI Request 1 on process 1948 [Fri Apr 09 11:24:46 2010].37000 mapserv request processing time (msLoadMap not incl.): 0.312s [Fri Apr 09 11:24:46 2010].37000 msFreeMap(): freeing map at 015D60B8. You should be able to check then the query sent to the oracle db and that might give your more hints. Where I can view the query sent to Oracle?? Thanks. -Mensaje original- De: Yewondwossen Assefa [mailto:yass...@dmsolutions.ca] Enviado el: viernes, 09 de abril de 2010 14:19 Para: David Alda Fernandez de Lezea CC: mapserver-users@lists.osgeo.org Asunto: Re: [mapserver-users] Strange Behaviour with getFeature using POST method and more than one typename David, You could possibly get more hints if you put you map in debug mode and see the logs. You can add something like this in your map: CONFIG MS_ERRORFILE f:/tmp/ms_error.log DEBUG 5 You should be able to check then the query sent to the oracle db and that might give your more hints. regards, David Alda Fernandez de Lezea wrote: Hi list, I'm having a strange behaviour when receiving data from getFeature request. I prepare a request that is intended to mark some parcels from two different layers (these layers are stored in Oracle Spatial). The request looks like: ?xml version=1.0 ? wfs:GetFeature service=WFS version=1.1.0 outputFormat=text/xml; subtype=gml/3.1.1 xmlns:wfs=http://www.opengis.net/wfs; xmlns:ogc=http://www.opengis.net/ogc; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.opengis.net/wfs ../wfs/1.1.0/WFS.xsd wfs:Query typeName=RecintosSigpac ogc:Filter ogc:Or ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Li teral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral1/Lit eral/PropertyIsEqualTo PropertyIsEqualToPropertyNameRECINTO/PropertyNameLiteral1/Lit eral/PropertyIsEqualTo /ogc:And ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Li teral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral20/Li teral/PropertyIsEqualTo PropertyIsEqualToPropertyNameRECINTO/PropertyNameLiteral1/Lit eral/PropertyIsEqualTo /ogc:And ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Li teral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral24/Li teral/PropertyIsEqualTo PropertyIsEqualToPropertyNameRECINTO/PropertyNameLiteral1/Lit eral/PropertyIsEqualTo /ogc:And /ogc:Or /ogc:Filter /wfs:Query wfs:Query typeName=ParcelasSigpac ogc:Filter ogc:Or ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Li teral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral29/Li teral/PropertyIsEqualTo /ogc:And ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/L iteral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Li teral/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral5/Lit eral/PropertyIsEqualTo /ogc:And /ogc:Or /ogc:Filter /wfs:Query /wfs:GetFeature All the features that I want to mark using these filters are unique rows in Oracle Spatial. Using my Ajax app I get the following response: ?xml version='1.0' encoding=ISO-8859-1 ? wfs:FeatureCollection xmlns:ms=http://mapserver.gis.umn.edu/mapserver; xmlns:gml=http://www.opengis.net/gml; xmlns:wfs=http://www.opengis.net/wfs; xmlns:ogc=http://www.opengis.net/ogc; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://mapserver.gis.umn.edu/mapserver http://192.168.1.65/cgi-bin/mapserv.exe?map=../htdocs/MFD/ejemplo_wfs.mapamp;SERVICE=WFSamp;VERSION=1.1.0amp;REQUEST=DescribeFeatureTypeamp;TYPENAME=RecintosSigpac,ParcelasSigpacamp;OUTPUTFORMAT=text/xml; subtype=gml/3.1.1 http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd; gml:boundedBy gml:Envelope srsName=EPSG:23030 gml:lowerCorner538881.736860 4744342.676060
Re: [mapserver-users] Strange Behaviour with getFeature using POST method and more than one typename
David, You could possibly get more hints if you put you map in debug mode and see the logs. You can add something like this in your map: CONFIG MS_ERRORFILE f:/tmp/ms_error.log DEBUG 5 You should be able to check then the query sent to the oracle db and that might give your more hints. regards, David Alda Fernandez de Lezea wrote: Hi list, I'm having a strange behaviour when receiving data from getFeature request. I prepare a request that is intended to mark some parcels from two different layers (these layers are stored in Oracle Spatial). The request looks like: ?xml version=1.0 ? wfs:GetFeature service=WFS version=1.1.0 outputFormat=text/xml; subtype=gml/3.1.1 xmlns:wfs=http://www.opengis.net/wfs; xmlns:ogc=http://www.opengis.net/ogc; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.opengis.net/wfs ../wfs/1.1.0/WFS.xsd wfs:Query typeName=RecintosSigpac ogc:Filter ogc:Or ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameRECINTO/PropertyNameLiteral1/Literal/PropertyIsEqualTo /ogc:And ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral20/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameRECINTO/PropertyNameLiteral1/Literal/PropertyIsEqualTo /ogc:And ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral24/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameRECINTO/PropertyNameLiteral1/Literal/PropertyIsEqualTo /ogc:And /ogc:Or /ogc:Filter /wfs:Query wfs:Query typeName=ParcelasSigpac ogc:Filter ogc:Or ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral29/Literal/PropertyIsEqualTo /ogc:And ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral5/Literal/PropertyIsEqualTo /ogc:And /ogc:Or /ogc:Filter /wfs:Query /wfs:GetFeature All the features that I want to mark using these filters are unique rows in Oracle Spatial. Using my Ajax app I get the following response: ?xml version='1.0' encoding=ISO-8859-1 ? wfs:FeatureCollection xmlns:ms=http://mapserver.gis.umn.edu/mapserver; xmlns:gml=http://www.opengis.net/gml; xmlns:wfs=http://www.opengis.net/wfs; xmlns:ogc=http://www.opengis.net/ogc; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://mapserver.gis.umn.edu/mapserver http://192.168.1.65/cgi-bin/mapserv.exe?map=../htdocs/MFD/ejemplo_wfs.mapamp;SERVICE=WFSamp;VERSION=1.1.0amp;REQUEST=DescribeFeatureTypeamp;TYPENAME=RecintosSigpac,ParcelasSigpacamp;OUTPUTFORMAT=text/xml; subtype=gml/3.1.1 http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd; gml:boundedBy gml:Envelope srsName=EPSG:23030 gml:lowerCorner538881.736860 4744342.676060/gml:lowerCorner gml:upperCorner539514.702532 4744971.618431/gml:upperCorner /gml:Envelope /gml:boundedBy gml:featureMember ms:RecintosSigpac gml:id=RecintosSigpac.752 gml:boundedBy gml:Envelope srsName=EPSG:23030 gml:lowerCorner539098.554563 4744632.941135/gml:lowerCorner gml:upperCorner539191.352464 4744726.952445/gml:upperCorner /gml:Envelope /gml:boundedBy ms:msGeometry gml:Polygon srsName=EPSG:23030 gml:exterior gml:LinearRing gml:posList srsDimension=2539146.378383 4744724.433931 539145.235158 4744724.343655 539141.209291 4744724.134593 539098.862296 4744721.948469 539098.790865 4744711.615815 539098.554563 4744677.257422 539100.133554 4744665.742677 539101.989421 4744645.274892 539102.338824 4744636.815604 539147.216698 4744634.836696 539183.793353
[mapserver-users] Strange Behaviour with getFeature using POST method and more than one typename
Hi list, I'm having a strange behaviour when receiving data from getFeature request. I prepare a request that is intended to mark some parcels from two different layers (these layers are stored in Oracle Spatial). The request looks like: ?xml version=1.0 ? wfs:GetFeature service=WFS version=1.1.0 outputFormat=text/xml; subtype=gml/3.1.1 xmlns:wfs=http://www.opengis.net/wfs; xmlns:ogc=http://www.opengis.net/ogc; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.opengis.net/wfs ../wfs/1.1.0/WFS.xsd wfs:Query typeName=RecintosSigpac ogc:Filter ogc:Or ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameRECINTO/PropertyNameLiteral1/Literal/PropertyIsEqualTo /ogc:And ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral20/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameRECINTO/PropertyNameLiteral1/Literal/PropertyIsEqualTo /ogc:And ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral24/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameRECINTO/PropertyNameLiteral1/Literal/PropertyIsEqualTo /ogc:And /ogc:Or /ogc:Filter /wfs:Query wfs:Query typeName=ParcelasSigpac ogc:Filter ogc:Or ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral29/Literal/PropertyIsEqualTo /ogc:And ogc:And PropertyIsEqualToPropertyNamePROVINCIA/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNameMUNICIPIO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePOLIGONO/PropertyNameLiteral1/Literal/PropertyIsEqualTo PropertyIsEqualToPropertyNamePARCELA/PropertyNameLiteral5/Literal/PropertyIsEqualTo /ogc:And /ogc:Or /ogc:Filter /wfs:Query /wfs:GetFeature All the features that I want to mark using these filters are unique rows in Oracle Spatial. Using my Ajax app I get the following response: ?xml version='1.0' encoding=ISO-8859-1 ? wfs:FeatureCollection xmlns:ms=http://mapserver.gis.umn.edu/mapserver; xmlns:gml=http://www.opengis.net/gml; xmlns:wfs=http://www.opengis.net/wfs; xmlns:ogc=http://www.opengis.net/ogc; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://mapserver.gis.umn.edu/mapserver http://192.168.1.65/cgi-bin/mapserv.exe?map=../htdocs/MFD/ejemplo_wfs.mapamp;SERVICE=WFSamp;VERSION=1.1.0amp;REQUEST=DescribeFeatureTypeamp;TYPENAME=RecintosSigpac,ParcelasSigpacamp;OUTPUTFORMAT=text/xml; subtype=gml/3.1.1 http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd; gml:boundedBy gml:Envelope srsName=EPSG:23030 gml:lowerCorner538881.736860 4744342.676060/gml:lowerCorner gml:upperCorner539514.702532 4744971.618431/gml:upperCorner /gml:Envelope /gml:boundedBy gml:featureMember ms:RecintosSigpac gml:id=RecintosSigpac.752 gml:boundedBy gml:Envelope srsName=EPSG:23030 gml:lowerCorner539098.554563 4744632.941135/gml:lowerCorner gml:upperCorner539191.352464 4744726.952445/gml:upperCorner /gml:Envelope /gml:boundedBy ms:msGeometry gml:Polygon srsName=EPSG:23030 gml:exterior gml:LinearRing gml:posList srsDimension=2539146.378383 4744724.433931 539145.235158 4744724.343655 539141.209291 4744724.134593 539098.862296 4744721.948469 539098.790865 4744711.615815 539098.554563 4744677.257422 539100.133554 4744665.742677 539101.989421 4744645.274892 539102.338824 4744636.815604 539147.216698 4744634.836696 539183.793353 4744632.941135 539191.352464 4744725.909256 539176.751878 4744726.952445 539160.884500 4744725.549674 539146.378383 4744724.433931 /gml:posList /gml:LinearRing /gml:exterior /gml:Polygon /ms:msGeometry /ms:RecintosSigpac /gml:featureMember gml:featureMember ms:RecintosSigpac