Hi everybody!!! I've searched for days how to get the extent of a raster layer but I didn't succeed... I just want to make a short function which can permit user to recenter the map to any layer extent in the mapfile. It already works fine with vector layers. If anyone has ideas.... Thanks in advance for your replies. Yvan