Re: [mapserver-users] Single image mapfile

2016-10-10 Thread Lime, Steve D (MNIT)
It is possible but it's a two-step process within MapServer. It looks like so (I think): MAP EXTENT [bbox of whole dataset] LAYER NAME 'myraster' TYPE RASTER STATUS OFF ... stuff to draw the raster ... END LAYER NAME 'myfeature' TYPE QUERY

[mapserver-users] Single image mapfile

2016-10-10 Thread Dave Barter
Would this be feasible in a mapfile alone? I pass in a url with a feature_id in it. Say:- [URL TO MAP FILE]?feature_id=124 The map file uses a postgres query to retrieve the feature_id’s geometry as a point and then clips a raster layer to a kilometre bounding box around the point. A single