[josm-dev] Validator plugin working differently for each projection

Frederik Ramm frederik at remote.org
Wed Dec 3 23:24:53 GMT 2008


Hi,

Pieren wrote:
> I need some advice from the experts here to see how we could make the
> validator independant of the projection.
> For instance, I don't know if the grid detail of 10000 was originally
> fixed for EPSG:4326 or Mercator, means if the size of the list should
> be 2 or 52.

No idea either but generally it seems to me that you'll want to base the 
grid detail on a distance of two projected points, i.e. something like:

"use points 49.01,9.01 and 49.00,9.00, compute their EastNorth, take 
difference, use this as grid detail value."

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"




More information about the josm-dev mailing list