Ticket #3212 (new defect)

Opened 4 years ago

Last modified 4 years ago

Query by features should check the selection layer's projection and units instead of the map's

Reported by: sdlime Owned by: sdlime
Priority: normal Milestone: 6.0 release
Component: MapServer C Library Version: unspecified
Severity: normal Keywords:
Cc: dmorissette

Description

Currently the QueryByFeatures?() function in mapquery.c uses the map's projection and units as the go between when working with 2 layers. This is (often?) not necessary when the selection layer and the layer being queried share the same projection. In that case it makes sense to keep all computations in the native projection.

A common example of this is a mapfile with epsg:4326 output but with all layers in the same underlying coordinate system (e.g. UTM).

This impacts tolerance computations (what to do if PIXELS?) as well.

Steve

Change History

Changed 4 years ago by sdlime

Actually the "instead" should really be "first" and then falling back to the map's if the projections differ...

Steve

Changed 4 years ago by dmorissette

  • cc dmorissette added
Note: See TracTickets for help on using tickets.