[mapserver-users] Re: Can't WFS getFeature w/MapServer 6.0.1
myOpenLayersUName
joanne.mcgraw at SYMPATICO.CA
Fri Jul 22 09:38:20 PDT 2011
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.
More information about the MapServer-users
mailing list