draw(); $image_url=$image->saveWebImage(); ?> Nighttime lights of North America

This is a very simple example using a single raster layer. The "states" vector layer is draped over the raster layer, for reference, but you could easily omit it.

Data layer download

Source for all recipes: http://www.mobilegeographics.com/mapserver/MSrecipes.tar.gz

return to Mapserver Recipes