[mapserver-users] Re: Run-time Substitution and Raster file problem

2012-03-17 Thread teknocreator
Thomas, Thanks for the suggestion. And actually, the 'fhour_validation_pattern' should be enclosed in the METADATA area above it. From what I've read, both forms should work and we actually use the *_validation_pattern form in the METADATA block to create an image of point values after a

Re: [mapserver-users] Re: Run-time Substitution and Raster file problem

2012-03-17 Thread thomas bonfort
enclosing your data string with * seems wrong, what happens if you use quotes ? On Sat, Mar 17, 2012 at 12:43, teknocreator teknocrea...@gmail.com wrote: Thomas, Thanks for the suggestion.  And actually, the 'fhour_validation_pattern' should be enclosed in the METADATA area above it.  From

Re: [mapserver-users] Re: Run-time Substitution and Raster file problem

2012-03-17 Thread thomas bonfort
as a rule of thumb, you should always use quotes around your strings. the stars I was talking about come from your mapfile snippet: DATA *../grib/ds_vis%fhour%.grb* with RTS, your queries will fail if you do not add a fhour= parameter to your http query, as in that case %fhour% will not

[mapserver-users] Re: Run-time Substitution and Raster file problem

2012-03-17 Thread teknocreator
Thomas, Okay, must be some sort of list editor translation as I don't have * around my DATA line when I view this list message nor in my actual file. They're not in the query that's being sent to MapServer. And understand about the quotes around strings though it seems for raster images,

Re: [mapserver-users] Re: Run-time Substitution and Raster file problem

2012-03-17 Thread Rahkonen Jukka
Hi, Start from something simple and try to use DAT with tiff file with %file% and make it to work first. I am pretty sure that is will work. Perhaps there is some trouble with validation or something. If you do not have a luck with RASTER make a similar vector layer and see if you can change

Re: [mapserver-users] Re: Run-time Substitution and Raster file problem

2012-03-17 Thread thomas bonfort
the type of layer should not be an issue for RTS. What mapserver version are you using? Can you attach the full unedited mapfile? On Sat, Mar 17, 2012 at 13:58, teknocreator teknocrea...@gmail.com wrote: Thomas, Okay, must be some sort of list editor translation as I don't have * around my

[mapserver-users] Re: Run-time Substitution and Raster file problem

2012-03-17 Thread teknocreator
Note to list that I replied directly to Thomas with our mapfile as it wasn't really different too much than what I already included in this post. The only real difference was attempting to use the lines in bold: LAYER # GRIB attempt NAME mosaic STATUS ON TYPE

[mapserver-users] Re: Run-time Substitution and Raster file problem

2012-03-17 Thread teknocreator
Rahkonen, Well, I did try your suggestion just using %file% with our raster data (it's GRIB but I not sure that that would make a difference) and ended up with the same parsing error. I'll attempt a vector file when I get a chance. However, I will say that I have successfully used RTS on a

Re: [mapserver-users] Re: Run-time Substitution and Raster file problem

2012-03-17 Thread thomas bonfort
ok, I think I have it... your regex does not allow the . in foo.tif -- thomas On Sat, Mar 17, 2012 at 14:45, teknocreator teknocrea...@gmail.com wrote: Note to list that I replied directly to Thomas with our mapfile as it wasn't really different too much than what I already included in this