| |
---|
| | int area = 0; |
---|
| | int fixed1 = 0; |
---|
| | |
---|
| | // 指定の緯度経度を中心とする半径200x2m四方の矩形領域 |
---|
| | assertTrue(lat > 20.0D); |
---|
| | assertTrue(lat < 50.0D); |
---|
| | assertTrue(lon < 155.0D); |
---|
| | assertTrue(lon > 110.0D); |
---|
| | |
---|
| | RectArea rect = new RectArea(lat, lon, NEER*2); // 600m 四方 |
---|
| | System.out.println(sqlStr2 +"["+ rect.minlat +", "+ rect.maxlat +", "+ rect.minlon +", "+ rect.maxlon +"]"); |
---|
| | ps2.setDouble(1, rect.minlat); |
---|
| | ps2.setDouble(2, rect.maxlat); |
---|
| |
---|
| | |