MS RFC 3: Status update

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Fri Oct 28 10:10:31 EDT 2005


  The fix seems to be ok. I am running few tests on the filter encoding 
and will report any problems.

Later,

Frank Warmerdam wrote:
> On 10/27/05, Jani Averbach <javerbach at extendthereach.com> wrote:
> 
>>So could you review/test your favorite layer, and send follow up to
>>the list when you have found it good to go.  I will then update
>>MS-RFC-3 to contain these notes, thanks.
> 
> 
> Jani / Assefa,
> 
> There was a problem in mapogcfilter.c.  I have changed this:
> 
> int FLTApplyFilterToLayer(FilterEncodingNode *psNode, mapObj *map,
>                           int iLayerIndex, int bOnlySpatialFilter)
> {
>      if ( ! layer->vtable) {
>         int rv =  msInitializeVirtualTable(layer);
>         if (rv != MS_SUCCESS)
>             return rv;
>     }
>     return layer->vtable->LayerApplyFilterToLayer(psNode, map,
>                                                   iLayerIndex,
>                                                   bOnlySpatialFilter);
> }
> 
> to this:
> 
> int FLTApplyFilterToLayer(FilterEncodingNode *psNode, mapObj *map,
>                           int iLayerIndex, int bOnlySpatialFilter)
> {
>     layerObj *layer = map->layers + iLayerIndex;
> 
>     if ( ! layer->vtable) {
>         int rv =  msInitializeVirtualTable(layer);
>         if (rv != MS_SUCCESS)
>             return rv;
>     }
>     return layer->vtable->LayerApplyFilterToLayer(psNode, map,
>                                                   iLayerIndex,
>                                                   bOnlySpatialFilter);
> }
> 
> The code compiles now and seems OK, but I don't know how
> to test it, so let me know if I patched it up wrong.
> 
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
> 
> 

-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-dev mailing list