[mapserver-users] Can the PROCESSING layer attribute be set dynamically through (PHP) MapScript?

2014-05-27 Thread Jorrit Goddijn
Hi all, I'm drawing layers based on GRIB data files. Each file contains several bands (datasets). I can access these datasets by setting the PROCESSING attribute on the LAYER object. As in this example: # LAYER NAME current_grid TYPE POINT

Re: [mapserver-users] Can the PROCESSING layer attribute be set dynamically through (PHP) MapScript?

2014-05-27 Thread Michael Schulz
Hi Jorrit, maybe it's just a type in the second setprocessing line of your example: $current_layer-setprocessing('BANDS=1,2'); #removed second bracket Cheers, Michael 2014-05-27 11:50 GMT+02:00 Jorrit Goddijn jorrit.godd...@meteogroup.com: Hi all, I'm drawing layers based on GRIB data

Re: [mapserver-users] Can the PROCESSING layer attribute be set dynamically through (PHP) MapScript?

2014-05-27 Thread Dan Little
You might want to reconsider how your script is built. Instead of loading up the Mapfile and tweaking small parameters with MapScript, consider converting your mapfile to a template language. This way you can forumulate the mapfile, load it as a string, do the appropriate substitutions, then use

Re: [mapserver-users] itemquery and validation

2014-05-27 Thread Lime, Steve D (MNIT)
Correct. We do it this way since many drivers don't require a QITEM. For example, you could author a qstring that leverages multiple columns. Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Eichner,