Re: [mapserver-users] Is PropertyIsNull supported by MapServer?

2014-05-03 Thread Yves Jacolin
Hello,

check RFC page in the documentation and follow the mapserver-dev ML ;)

Y.


2014-05-02 11:49 GMT+02:00 geographika geograph...@gmail.com:

 On 02/05/2014 11:39, Even Rouault wrote:

 This is expected. demo.mapserver.org is MapServer 5.6.5. PropertyIsNull
 will only be available in Mapserver 7.0

 Ok great - I'm using v 6.4 so just wanted to check if these filters were
 going to be available at any point in the future.

 For future reference where is the best place to find out future
 developments such as this are planned - GitHub Issues or by searching the
 mapserver-dev list?

 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users




-- 
Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel (France) : +33 4 79 26 57 98
Tel (Suisse) : 021 619 10 43
Mob. : +33 6 18 75 42 21
Fax : 04 79 70 15 81

Mail : yves.jaco...@camptocamp.com
http://www.camptocamp.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Is PropertyIsNull supported by MapServer?

2014-05-02 Thread Eichner, Andreas - SID
Whitespace might be significant, can you try
ogc:PropertyIsNull
  ogc:PropertyNameYEAR/ogc:PropertyName
/ogc:PropertyIsNull

 -Ursprüngliche Nachricht-
 OpenLayers has a OpenLayers.Filter.Comparison.IS_NULL filter that produces
 XML such as:
 
 ogc:PropertyIsNull
   ogc:PropertyName
 YEAR
   /ogc:PropertyName
 /ogc:PropertyIsNull

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Is PropertyIsNull supported by MapServer?

2014-05-02 Thread geographika
Thanks for your replies. Unfortunately white space does not make a 
difference.


I also tried following the same tests as outlined at: 
http://mapserver.org/ogc/filter_encoding.html#tests


I used the following URL:

http://demo.mapserver.org/cgi-bin/wfs?VERSION=1.0.0SERVICE=WFSREQUEST=GetFeatureTYPENAME=citiesFilter=FilterPropertyIsNullPropertyNameNAME/PropertyName/PropertyIsNull/Filter

With the filter encoded this is as follows (this can be tested directly):

http://demo.mapserver.org/cgi-bin/wfs?VERSION=1.0.0SERVICE=WFSREQUEST=GetFeatureTYPENAME=citiesFilter=%3CFilter%3E%3CPropertyIsNull%3E%3CPropertyName%3ENAME%3C%2FPropertyName%3E%3C%2FPropertyIsNull%3E%3C%2FFilter%3E

However I still get the following error:

msWFSGetFeature(): WFS server error. Invalid or Unsupported FILTER in 
GetFeature : 
FilterPropertyIsNullPropertyNameNAME/PropertyName/PropertyIsNull



I get the same when using VERSION=1.1.0.

On 02/05/2014 08:43, Eichner, Andreas - SID wrote:

Whitespace might be significant, can you try
ogc:PropertyIsNull
   ogc:PropertyNameYEAR/ogc:PropertyName
/ogc:PropertyIsNull


-Ursprüngliche Nachricht-
OpenLayers has a OpenLayers.Filter.Comparison.IS_NULL filter that produces
XML such as:

 ogc:PropertyIsNull
   ogc:PropertyName
 YEAR
   /ogc:PropertyName
 /ogc:PropertyIsNull




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Is PropertyIsNull supported by MapServer?

2014-05-02 Thread Even Rouault
Le vendredi 02 mai 2014 11:16:48, geographika a écrit :
 Thanks for your replies. Unfortunately white space does not make a
 difference.
 
 I also tried following the same tests as outlined at:
 http://mapserver.org/ogc/filter_encoding.html#tests
 
 I used the following URL:
 
 http://demo.mapserver.org/cgi-bin/wfs?VERSION=1.0.0SERVICE=WFSREQUEST=Ge
 tFeatureTYPENAME=citiesFilter=FilterPropertyIsNullPropertyNameNAME
 /PropertyName/PropertyIsNull/Filter
 
 With the filter encoded this is as follows (this can be tested directly):
 
 http://demo.mapserver.org/cgi-bin/wfs?VERSION=1.0.0SERVICE=WFSREQUEST=Ge
 tFeatureTYPENAME=citiesFilter=%3CFilter%3E%3CPropertyIsNull%3E%3CProperty
 Name%3ENAME%3C%2FPropertyName%3E%3C%2FPropertyIsNull%3E%3C%2FFilter%3E
 
 However I still get the following error:
 
 msWFSGetFeature(): WFS server error. Invalid or Unsupported FILTER in
 GetFeature :
 FilterPropertyIsNullPropertyNameNAME/PropertyName/PropertyIsNull

This is expected. demo.mapserver.org is MapServer 5.6.5. PropertyIsNull will 
only be available in Mapserver 7.0

 
 
 I get the same when using VERSION=1.1.0.
 
 On 02/05/2014 08:43, Eichner, Andreas - SID wrote:
  Whitespace might be significant, can you try
  ogc:PropertyIsNull
  
 ogc:PropertyNameYEAR/ogc:PropertyName
  
  /ogc:PropertyIsNull
  
  -Ursprüngliche Nachricht-
  OpenLayers has a OpenLayers.Filter.Comparison.IS_NULL filter that
  produces
  
  XML such as:
   ogc:PropertyIsNull
   
 ogc:PropertyName
 
   YEAR
 
 /ogc:PropertyName
   
   /ogc:PropertyIsNull

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Is PropertyIsNull supported by MapServer?

2014-04-30 Thread geographika

Hello again!

I'm trying to allow for any records with a NULL property to be returned 
via a WFS 1.1 GetFeature request.
OpenLayers has a OpenLayers.Filter.Comparison.IS_NULL filter that 
produces XML such as:


ogc:PropertyIsNull
  ogc:PropertyName
YEAR
  /ogc:PropertyName
/ogc:PropertyIsNull

MapServer (6.4) however doesn't support it, and logs the following 
error: msWFSGetFeature(): WFS server error. Invalid or Unsupported 
FILTER in GetFeature
Looking at the page http://mapserver.org/ogc/filter_encoding.html page 
it seems all 8 tests fail for this filter:


1.3.4.10GetFeature PropertyIsNull filter

And in the notes below Test number 1.3.4.10: This property is not 
supported in MapServer.
However several recent commits seem to reference this filter e.g. 
https://github.com/mapserver/mapserver/commit/7c97d948645e3c04228e25ba2f5333f0a23fd128
Is this for WFS version 2.0? Is so are there any plans to implement 
PropertyIsNull for older WFS protocols?


Regards,

Seth

--
web:http://geographika.co.uk
twitter: @geographika










___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Is PropertyIsNull supported by MapServer?

2014-04-30 Thread Even Rouault
Le mercredi 30 avril 2014 16:58:45, geographika a écrit :
 Hello again!
 
 I'm trying to allow for any records with a NULL property to be returned
 via a WFS 1.1 GetFeature request.
 OpenLayers has a OpenLayers.Filter.Comparison.IS_NULL filter that
 produces XML such as:
 
  ogc:PropertyIsNull
ogc:PropertyName
  YEAR
/ogc:PropertyName
  /ogc:PropertyIsNull
 
 MapServer (6.4) however doesn't support it, and logs the following
 error: msWFSGetFeature(): WFS server error. Invalid or Unsupported
 FILTER in GetFeature
 Looking at the page http://mapserver.org/ogc/filter_encoding.html page
 it seems all 8 tests fail for this filter:
 
  1.3.4.10GetFeature PropertyIsNull filter
 
 And in the notes below Test number 1.3.4.10: This property is not
 supported in MapServer.
 However several recent commits seem to reference this filter e.g.
 https://github.com/mapserver/mapserver/commit/7c97d948645e3c04228e25ba2f533
 3f0a23fd128 Is this for WFS version 2.0? Is so are there any plans to
 implement PropertyIsNull for older WFS protocols?

I've not tried, but the implementation of PropertyIsNull should also work with 
WFS 1.1.0

 
 Regards,
 
 Seth
 
 --
 web:http://geographika.co.uk
 twitter: @geographika

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users