Changeset 8828


Ignore:
Timestamp:
01/11/13 11:37:41 (5 years ago)
Author:
mnagni
Message:

Incomplete - # 22985: Fix new MEDIN DWS Spatial query
 http://team.ceda.ac.uk/trac/ceda/ticket/22985

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/revitalizationProject/branches/MEDIN/dpws/src/main/java/ndg/services/revitalization/ejb/discovery/SearchHelper.java

    r8827 r8828  
    435435                Class decl_type = spatialType.getContourType().getDeclaredType(); 
    436436                if (BoundingBoxType.class.equals(decl_type)) { 
    437                         box = processBoxSearch(BoundingBoxType.class.cast(spatialType.getContourType())); 
     437                        box = processBoxSearch(BoundingBoxType.class.cast(spatialType.getContourType().getValue())); 
    438438                } 
    439439 
    440440                if (PolygonContourType.class.equals(decl_type)) { 
    441                         box = processBoxSearch(PolygonContourType.class.cast(spatialType.getContourType())); 
     441                        box = processBoxSearch(PolygonContourType.class.cast(spatialType.getContourType().getValue())); 
    442442                } 
    443443                 
    444444                if (MultiPolygonContourType.class.equals(decl_type)) { 
    445                         box = processBoxSearch(MultiPolygonContourType.class.cast(spatialType.getContourType())); 
     445                        box = processBoxSearch(MultiPolygonContourType.class.cast(spatialType.getContourType().getValue())); 
    446446                }                
    447447                 
Note: See TracChangeset for help on using the changeset viewer.