package com.planetmayo.debrief.satc.util;

import com.vividsolutions.jts.geom.GeometryFactory;

/** utility class providing geospatial support
 * 
 * @author ian
 *
 */
public class GeoSupport
{
	private static GeometryFactory _factory;

	/** get our geometry factory
	 * 
	 * @return
	 */
	public static GeometryFactory getFactory()
	{
		if(_factory == null)
			_factory = new GeometryFactory();
		
		return _factory;
	}

}

@@ -416,10 +416,162 @@
 ry;%0A%09%7D%0A%0A
+%09public static double m2deg(double metres)%0A%09%7B%0A%09%09return metres / 111200d;%0A%09%7D%0A%09%0A%09public static double deg2m(double degs)%0A%09%7B%0A%09%09return degs * 111200d;%0A%09%7D%0A%09%0A
 %7D%0A

introduce utility class to convert between digs & m