()
| 145 | } |
| 146 | |
| 147 | public static void testSetDesiredAccuracy() |
| 148 | { |
| 149 | SpatialReference s = new SpatialReference(""); |
| 150 | s.SetFromUserInput("EPSG:4326"); // WGS84 |
| 151 | SpatialReference t = new SpatialReference(""); |
| 152 | t.SetFromUserInput("EPSG:4258"); // ETRS89 |
| 153 | |
| 154 | CoordinateTransformationOptions options = new CoordinateTransformationOptions(); |
| 155 | options.SetDesiredAccuracy(0.05); |
| 156 | try |
| 157 | { |
| 158 | CoordinateTransformation ct = CoordinateTransformation.CreateCoordinateTransformation(s, t, options); |
| 159 | check( false ); |
| 160 | } |
| 161 | catch( RuntimeException e) |
| 162 | { |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | public static void testSetBallparkAllowed() |
| 167 | { |
no test coverage detected