On 05/04/2012 01:55 PM, xavier lhomme wrote:
Hi

I'm using a WFS Driver in a C# project. I would like to add a new function to the OGRWFSLayer like SetSpatialOperator() and modify the filter part of the function OGRWFSLayer::MakeGetFeatureURL if a spatial operator has been set.

Xavier,

To me it looks like maybe there should be a new OGRLayer class method SetSpatialOperatorFilter, which would then be also in the C API and bindings (e.g., C#).

Then, calling that method from C#, would have the effect that the URL would contain the appropriate filter.

Offering a patch would harm nobody so please go ahead, at least I'm interested in this. Getting the feature into trunk may need a RFC.

Ari

 then I need to call the SetSpatialOperator in C#.

 IWhat is the best approach do to this :
   - make a request to de ogr dev team
- try to code the function by myself and send the result to the community


best regards
xavier







_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to