Order is determined by the order of the features in the underlying data source. 
To do what you suggest, a good idea BTW, we'd need to change things a bit:

  - need to log distance computation
  - need to develop a sort utility
  - need to alter certain query code to apply a feature count at the very end, 
after all candidates are found and a distance sort is done

Probably RFC worthy.

Steve

________________________________________
From: [email protected] 
[[email protected]] on behalf of Rahkonen Jukka 
[[email protected]]
Sent: Friday, August 17, 2012 3:26 AM
To: '[email protected]'
Subject: [mapserver-users] Are WMS GetFeatureInfo results ordered by    
distance?

Hi,

What results will be selected if GetFeatureInfo finds more features within the 
tolerance than used as FEATURE_COUNT parameter?  Are they selected by distance 
are they just the first hits?  If they were ordered by distance then 
GetFeatureInfo could be used for finding N nearest features which might be nice 
sometimes.

-Jukka Rahkonen-
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to