Skip to content

Commit d4fe121

Browse files
msmitherdctbonfort
authored andcommitted
RFC91: Support for Oracle Spatial filtering (#4974)
1 parent 9991eed commit d4fe121

File tree

3 files changed

+605
-86
lines changed

3 files changed

+605
-86
lines changed

maplayer.c

+5-2
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,10 @@ int msLayerApplyPlainFilterToLayer(FilterEncodingNode *psNode, mapObj *map, int
15351535
*/
15361536
int msLayerSupportsSorting(layerObj *layer)
15371537
{
1538-
if (layer && ((layer->connectiontype == MS_OGR) || (layer->connectiontype == MS_POSTGIS)))
1538+
if (layer && (
1539+
(layer->connectiontype == MS_OGR) || (layer->connectiontype == MS_POSTGIS) || (layer->connectiontype == MS_ORACLESPATIAL)
1540+
)
1541+
)
15391542
return MS_TRUE;
15401543

15411544
return MS_FALSE;
@@ -1559,7 +1562,7 @@ void msLayerSetSort(layerObj *layer, const sortByClause* sortBy)
15591562
layer->sortBy.properties[i].item = msStrdup(sortBy->properties[i].item);
15601563
layer->sortBy.properties[i].sortOrder = sortBy->properties[i].sortOrder;
15611564
}
1562-
}
1565+
}
15631566

15641567
/*
15651568
* msLayerBuildSQLOrderBy()

0 commit comments

Comments
 (0)