I'm trying to perform a WFS filter with a polygon in EPSG:3031, (the native projection is EPSG:4326 I think). And I'm aware that WFS/GeoServer supports reprojection on the fly. But will the features be filtered before or after they are projected into 3031? That is, does the polygon get projected to the 4326, and then the filter results are projected back, or are the features projected to 3031, where they are filtered?

How would I write a query to do the filtering in the non-native projection? Is this possible?


The filter polygon is back-reprojected to the native data CRS and filtered in native means if possible (e.g., turning it into a sql filter for example, if the source is a database)

| improve this answer | |
  • How would I write a query to do the opposite---to reproject the features and filter in the non-native projection? – user67838 Feb 23 '16 at 22:14
  • There is no way to do that, you'd have to modify the GeoServer code – Andrea Aime Feb 25 '16 at 13:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy