Hi Martin, These reports are because of the email you sent about how to use assertions. So here's another place where it is directly affecting me. I guess it should be a IllegalArgumentException instead of an assertion?
> > !ENTRY net.refractions.udig.project 1 0 2008-01-14 10:03:46.749 > !MESSAGE > !STACK 0 > java.lang.AssertionError: Ellipsoid: WGS84 > Source point: 00¡00.0'E 00¡00.0'N > Target point: 180¡00.0'E 00¡00.0'N > Azimuth: 00¡00.0' > Orthodromic distance: 20004016.5 m The caling code is: > > GeodeticCalculator calc = new GeodeticCalculator(); > double centerY = > centeredYWithinWorld(referencePixelLatLong); > calc.setStartingGeographicPoint(minX, centerY); > calc.setDestinationGeographicPoint(maxX, centerY); > return calc.getOrthodromicDistance() * scale; Jesse ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
