Changeset 3132 for TI01-discovery
- Timestamp:
- 10/12/07 15:14:33 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI01-discovery/trunk/ws-Discovery2/src/ndg/services/discovery/SearchAgent.java
r3054 r3132 355 355 try 356 356 { 357 SPATIO: 357 358 if ( 358 359 doSpatio && … … 363 364 ) 364 365 { 366 if ( // Ignore spatial search if search area is global 367 limitWest.intValue() == -180 && 368 limitEast.intValue() == 180 && 369 limitNorth.intValue() == 90 && 370 limitSouth.intValue() == -90 371 ) 372 { 373 doSpatio = false; 374 System.out.println("Global extent selected : spatial search ignored"); 375 break SPATIO; 376 } 377 365 378 String latFormatPattern = "#0.00"; 366 379 String lonFormatPattern = "##0.00"; … … 392 405 spatialClause += ", coordinates ) "; 393 406 394 }395 else if ( // Ignore spatial search if search area is global396 doSpatio &&397 limitWest.intValue() == -180 &&398 limitEast.intValue() == 180 &&399 limitNorth.intValue() == 90 &&400 limitSouth.intValue() == -90401 )402 {403 doSpatio = false;404 407 } 405 408 else {
Note: See TracChangeset
for help on using the changeset viewer.