From: Scott P. <sco...@ho...> - 2005-08-18 21:00:10
|
Hi, We are trying to get the boundaries of the layers within a DefaultMapContext by using map.getLayerBounds(). It is throwing the following error: Aug 18, 2005 4:14:10 PM org.geotools.map.DefaultMapContext getLayerBounds SEVERE: Data source and map context coordinate system differ, yet it was not possible to get a projected bounds estimate... org.opengis.referencing.operation.OperationNotFoundException: Bursa wolf parameters required. at org.geotools.referencing.operation.DefaultCoordinateOperationFactory.createOperationStep(DefaultCoordinateOperationFactory.java:1076) at org.geotools.referencing.operation.DefaultCoordinateOperationFactory.createOperationStep(DefaultCoordinateOperationFactory.java:1142) at org.geotools.referencing.operation.DefaultCoordinateOperationFactory.createOperationStep(DefaultCoordinateOperationFactory.java:888) at org.geotools.referencing.operation.DefaultCoordinateOperationFactory.createOperation(DefaultCoordinateOperationFactory.java:230) at org.geotools.referencing.CRS$1.factory(CRS.java:124) at org.geotools.referencing.CRS.visit(CRS.java:142) at org.geotools.referencing.CRS.transform(CRS.java:122) at org.geotools.map.DefaultMapContext.getLayerBounds(DefaultMapContext.java:498) Does this mean I have to change the projection of my DefaultMapContext? I tried to do this through map.setAreaOfInterest(areaOfInterest, crs) but this didn't seem to correct the problem. Thanks, Scott <html><DIV> <DIV>********************************************* </DIV>Scott Pezanowski <DIV></DIV> <DIV></DIV> <DIV></DIV>email: sco...@ho... <DIV></DIV>*********************************************</DIV></html> |