Hi Dane, I would like to implement tolerance for the query_point operation:
* tolerance (default = some value) and toleranceunits (default = pixels?) getters/setters in the Layer class. This are the same parameters that mapserver already supports. * As I understand it, it goes like Map::query_point -> get datasource from layer, call features_at_point in the datasource. So the features_at_point func should be modified to accept tolerance and tolerance units, that are obtained from the layer. If this is ok or you can provide any other direction I'll try to make an initial patch against 0.7.1-dev. Also, I would like to allow to specify the parameter through configuration (overwrite default tolerance) on a per layer basis, is that ok? Yes, certainly if it is truly needed that is a possibility to add tolerance to the Layer class.
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

