Re: [mapserver-users] mapcache - transparency, surrounding area color, performance when assembling images (pink tiles)

2012-06-12 Thread thomas bonfort
(please stay on list, you answers can help others facing the same issue) On Mon, Jun 11, 2012 at 9:26 PM, Mark Volz markv...@co.lyon.mn.us wrote: Thomas, It turns out that most of my problems were when full_wmsassemble/full_wms was set...  apparently it defaults to jpeg when mapcache has to

[mapserver-users] Cut off/missing tiles [bump]

2012-06-12 Thread Charlie Allgrove
Hi I have an issue which seems to relate to tile-edge buffering and world-view zoom levels. There's an example page at http://mapserver.magicsite.co.uk When you first visit the page, all seems normal, until you zoom out 1 level, at which point the tile which should sit over the west of

Re: [mapserver-users] Cut off/missing tiles [bump]

2012-06-12 Thread forums
Try adding +over to your epsg definition of 4326. It fixed the problem for me. Mine looks like this now: /usr/local/share/proj/epsg 4326 +proj=longlat +ellps=WGS84 +datum=WGS84 +over +no_defs You might need to upgrade your version of PROJ4 for it to have an effect. Jerl On Tue, Jun 12,

Re: [mapserver-users] MapFile ClassItem Expression on in-line features

2012-06-12 Thread StevenHin
Hi Steve, I have created a ticket for this issue and the number is #4341 in GitHub. Here is the link: https://github.com/mapserver/mapserver/issues/4341. Regards, Steven. -- View this message in context:

[mapserver-users] Regular expression error

2012-06-12 Thread Richard Greenwood
I am getting the error: msValidateParameter(): Regular expression error. Parameter pattern validation failed. From the following in my LAYER definition: METADATA 'filter_validation_pattern' 'ogc_fid.' END FILTER %filter% And I just can't see what I'm doing wrong. I'd sure appreciate

Re: [mapserver-users] Regular expression error

2012-06-12 Thread Lime, Steve D (DNR)
What value are you trying to validate? -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Richard Greenwood Sent: Tuesday, June 12, 2012 9:26 AM To: mapserver Subject: [mapserver-users] Regular expression error

Re: [mapserver-users] Regular expression error

2012-06-12 Thread Richard Greenwood
If I don't have any key/value in the query string I get a whole bunch regular expression errors in the error log. In other words, just the presence of that layer in the map file is generating error. An actual value would look like ogr_fid=123456 Thanks, Rich On Tue, Jun 12, 2012 at 8:29 AM,

Re: [mapserver-users] Regular expression error

2012-06-12 Thread Lime, Steve D (DNR)
Your regex only allows for 1 character after ogc_fid. I'd rewrite as: '^ogc_fid=[0-9]{1,5}$' This restricts the number a bit more, plus doesn't allow characters before or after. Really you could to: VALIDATION 'ogc_fid' '^[0-9]{1-5}$' END FILTER ogc_fid=%ogc_fid% That's a lot

Re: [mapserver-users] WFS GetFeature issue with MS4W

2012-06-12 Thread Alexandre Dube
Hi Eric, On 12-06-05 12:25 PM, Eric Lemoine wrote: We have finally found a solution: use a 64-bit version from http://www.gisinternals.com/sdk/ (our Windows machine is 64-bit). I'm facing the exact same problem with MS4W 3.0.3 on Windows Server 2008 RC2 64bits. I tried your solution using

[mapserver-users] Mapserver as WMS client, legend pass-through . . .

2012-06-12 Thread Basques, Bob (CI-StPaul)
All, I have this MAPFILE which works fine for a Map image, but how do I get a WMS legend from the upstream WMS service? Do I need to set up a LAYER (like) definition inside of a LEGEND block for a mode=legend to work downstream. Right now I get a blank image. I don't see any information on

Re: [mapserver-users] Mapserver as WMS client, legend pass-through . . .

2012-06-12 Thread Barend Köbben
Hi, In the WMS world you get a legend by requesting it with a GetLegendGraphic request, something like: http://geoserver.itc.nl/cgi-bin/mapserv.exe?map=D:/Inetpub/mapserver/config OL.mapSERVICE=WMSREQUEST=GetLegendGraphicVERSION=1.1.1FORMAT=image/png LAYER=forest And you can do this for any of

Re: [mapserver-users] Regular expression error

2012-06-12 Thread Puneet Kishor
On Jun 12, 2012, at 10:11 AM, Lime, Steve D (DNR) steve.l...@state.mn.us wrote: ogc_fid' '^[0-9]{1-5}$' You did mean '^[0-9]{1,5}$' Not the comma not the dash in the quantifier (a minimum of one up to a maximum of 5, or however many you desire, digits)

Re: [mapserver-users] mapcache - transparency, surrounding area color, performance when assembling images (pink tiles)

2012-06-12 Thread thomas bonfort
Hi Mark, On Tue, Jun 12, 2012 at 6:28 PM, Mark Volz markv...@co.lyon.mn.us wrote: Thomas, Our server is behind a firewall, but anyways here is some of the information that I can share which might help. Server: New Quad Core Xeon, 20 GB ram, 1Tb storage free, RAID 5 Tiles: jpeg (source,

Re: [mapserver-users] Mapserver as WMS client, legend pass-through . . .

2012-06-12 Thread Barend Köbben
Hmm, I clearly didn't read your original post well enough, sorry... The easy solution would be to have the legend embedded in the WMS image (use STATUS EMBED in the LEGEND object). Won't be useful if you want the WMS in a tiled fashion, though... Barend On 12-06-12 17:44, Basques, Bob

Re: [mapserver-users] Mapserver as WMS client, legend pass-through . . .

2012-06-12 Thread Basques, Bob (CI-StPaul)
Barend, I'm using GeoMoose, it has a separete menu for displaying the Legend chips integrated into it. I'm still pondering some ideas . . . bobb From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of

Re: [mapserver-users] WFS GetFeature issue with MS4W

2012-06-12 Thread Alexandre Dube
Nevermind, my issue was something else. It was just a coincidence that I had the same environment. Regards, Alexandre On 12-06-12 11:21 AM, Alexandre Dube wrote: Hi Eric, On 12-06-05 12:25 PM, Eric Lemoine wrote: We have finally found a solution: use a 64-bit version from

Re: [mapserver-users] mapcache - transparency, surrounding area color, performance when assembling images (pink tiles)

2012-06-12 Thread thomas bonfort
Something's definitely wrong with your setup :( given your machine specs, typical timings should more likely be: - for tiled requests, around .2-.5 ms/req - for off-grid 256x256 requests, around 10-20 ms/req what timings to you get if you request tiles / maps using the supplied default

[mapserver-users] Anaimated images as map sources

2012-06-12 Thread Basques, Bob (CI-StPaul)
All, Can Mapserver slice and dice an Animated (GIF or PN or ??) map source image and return a resulting animated image? I found a refernce to it NOT owrking for a WMS to WMS call where the upstream WMS service would produce a Animated GIF, but the downstream Mapserver WMS client would only

Re: [mapserver-users] Regular expression error

2012-06-12 Thread Richard Greenwood
Steve, Yeah, the map draws fine. Maybe even too fine because it draws with a query sting of: ogc_fid=430454 and a validation string of: 'filter_validation_pattern' 'ogc_fid.' which doesn't look right. But I'm still looking at what initially caught my attention - hundreds of mapserver

Re: [mapserver-users] Anaimated images as map sources

2012-06-12 Thread Lime, Steve D (DNR)
I'm not an AGG expert but that's probably not the component in play here anyway. Presumably whatever the source imagery it would/should be considered a raster dataset. I guess I'd look into how GDAL deals with animated input and then figure out if that can be configured through MapServer. I

Re: [mapserver-users] mapcache - transparency, surrounding area color, performance when assembling images (pink tiles)

2012-06-12 Thread Mark Volz
Thomas, I loaded up the demo mapcache.xml. Even on the demo resampling was slow. The only change I made to the html file was change the mapextent from: new OpenLayers.Bounds(-180.00,-90.00,180.00,90.00) to: new OpenLayers.Bounds(-179.235454,-89.456458,179.354812,89.545112)

Re: [mapserver-users] Anaimated images as map sources

2012-06-12 Thread Stephen Woodbridge
Bob, You might look at doing something like using mapcache to generate the images needed for the animation as multiple separate layers. Then look at using imagemagic in a perl script to combine the layers into a single animated gif image and putting the combined image into another layer in

Re: [mapserver-users] Anaimated images as map sources

2012-06-12 Thread Basques, Bob (CI-StPaul)
Steve, I can get the individual images online, I can run them together with PERL too, was just wondering where support was at in MapServer. I'll hit it tomorrow with some hacking bobb From: mapserver-users-boun...@lists.osgeo.org