So, I figured how to display a georeferenced image with shapefile layers but I run into a problem whereby all the data I am using is in NZGD49 while the default for MapContext seems to be WGS84. Hence I keep getting the error message:
Sep 29, 2006 9:42:29 AM 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... But I cannot see how to set a different CRS for the MapContext, there seem to be no setter methods. Any help is appreciated! Gaby -- *************************************************************** ** Gabriella Turek [EMAIL PROTECTED] ** ** National Institute of Water & Atmospheric Research (NIWA) ** ** PO Box 8602 Christchurch New Zealand +64-3-348-8987x3724 ** *************************************************************** ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users