Skip to content

Mapserver and MapScript usage in Mapwarper

attentive edited this page Aug 29, 2016 · 1 revision

Collected here: anything clever done to create WMS on the fly in Mapwarper.

This bit of code reads in a template Mapserver mapfile and adds a new layer to it from the target image with some pre-canned characteristics.

Mapwarper also has the concept of a layer which is basically an OTF mosaic of many related maps (I think). You can see the use of MapScript in the layer case here.