hey guys, sorry for being so annoying today. but I have some further problems and I have no glue what to do. It looks like a problem with reprojecting (maybe downsampling):
For example: I want to resample and reproject an .asc file. 1. import a gridcoverage http://osgeo-org.1803224.n2.nabble.com/file/n5098885/test1.jpg 2. resample gridcoverage to 10.000m http://osgeo-org.1803224.n2.nabble.com/file/n5098885/test2.jpg 3. reproject gridcoverage to ETRS89-LAEA ("3035") (with some reference data from europe in INSPIRE-ETRS89-LAEA format) http://osgeo-org.1803224.n2.nabble.com/file/n5098885/test3.jpg my code for resampling looks like this: public GridCoverage2D gridReproject(GridCoverage2D gc2D) { try { crs_ETRS89_LAEA = CRS.decode("EPSG:3035", true); // convert GridCoverage2D to ETRS89_LAEA gc2Dreproject = (GridCoverage2D) Operations.DEFAULT.resample(gc2D, crs_ETRS89_LAEA); } catch (NoSuchAuthorityCodeException e) { // auto-generated catch block e.printStackTrace(); } catch (FactoryException e) { // auto-generated catch block e.printStackTrace(); } has anybody a idea what happend here? I looks very strange. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Reprojection-tp5098885p5098885.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
