filterAxisOrder property

OgcAxisOrder filterAxisOrder

The filter axis order, which determines how coordinates are ordered when sent to the server as part of spatial queries.

Some WFS services expect coordinates to be sent in (x,y) order, while others use (y,x). Use OgcAxisOrder.swap to send coordinates in (y,x) order and OGCAxisOrder.noSwap to use (x,y) order.

The default value is OgcAxisOrder.auto. This indicates that the axis order will be based on the OGC standard specification, version, and spatial reference.

Implementation

OgcAxisOrder get filterAxisOrder {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_WFSFeatureTable_getFilterAxisOrder(
      _handle,
      errorHandler,
    );
  });
  return OgcAxisOrder._fromCoreValue(
    coreValue,
  );
}
void filterAxisOrder=(OgcAxisOrder value)

Implementation

set filterAxisOrder(OgcAxisOrder value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_WFSFeatureTable_setFilterAxisOrder(
      _handle,
      value.coreValue,
      errorHandler,
    );
  });
}