[mapserver-users] Re: Can't WFS getFeature w/MapServer 6.0.1

Steve Lime sdlime at gmail.com
Fri Jul 22 11:34:42 PDT 2011


We really need to get a ticket created for this issue, can you do that?

Steve

On Fri, Jul 22, 2011 at 11:38 AM, myOpenLayersUName <
joanne.mcgraw at sympatico.ca> wrote:

> While waiting for a patch which will correctly fix the problems described
> in
> this thread (OGC queries to SDE failing), we have introduced a change to
> our
> version of mapsde.c that is allowing us to move forward.
>
> In the msSDELayerFreeItemInfo function, we changed the boolean expressions
> at lines 2116 and 2121 to check that sde wasn't NULL before checking the
> basedefs and joindefs as shown below. For the time being, this is allowing
> us to continue our work with no serious problems encountered so far. If we
> do come across some, I'll be sure to let you know.
>
> Cheers,
> jtm
>
>
> void msSDELayerFreeItemInfo(layerObj *layer)
> {
> #ifdef USE_SDE
>    msSDELayerInfo *sde = NULL;
>    int i;
>    if (!msSDELayerIsOpen(layer)) {
>        msSetError( MS_SDEERR,
>                    "SDE layer has not been opened.",
>                    "msSDELayerFreeItemInfo()");
>    }
>    sde = layer->layerinfo;
>     if (sde != NULL && sde->basedefs) {
>         SE_table_free_descriptions(sde->basedefs);
>         sde->basedefs = NULL;
>    }
>    if (sde != NULL && sde->joindefs) {
>        SE_table_free_descriptions(sde->joindefs);
>        sde->joindefs = NULL;
>    }
>    if (layer->iteminfo) {
>        :
>
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Can-t-WFS-getFeature-w-MapServer-6-0-1-tp6600286p6611100.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110722/02115ce0/attachment.htm>


More information about the MapServer-users mailing list