Re: [mapserver-users] Enhancing MapServer performance with GPUs

2014-06-17 Thread Rahkonen Jukka (Tike)
Hi, This reminds me that I wrote on 15th May, 2014 about slowish performance with png8 output when compared with gif. These reports are from the same situation http://latuviitta.org/documents/MS_64_gif.png http://latuviitta.org/documents/MS_64_png8.png Gif is not only faster but also much more s

[mapserver-users] Style pattern on mapscript

2014-06-17 Thread Andrea Peri
Hi, Is available the style pattern in mapscript ? Thx, -- - Andrea Peri . . . . . . . . . qwerty àèìòù - ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver

Re: [mapserver-users] Why $map->scaledenom returns -1 ?

2014-06-17 Thread Vladimir
Hello Steve. Thank you very much for the thought. I use OpenLayers 3 on client side whose query string contains: &WIDTH=2025&HEIGHT=1125&BBOX=5252151,2C3515519,11856310613,7184496 and futher scaledenom is computed: $extentArray=explode(',',$_GET['BBOX']); $minX=$extentArray[0]; $minY=$extentArr

Re: [mapserver-users] Style pattern on mapscript

2014-06-17 Thread Andrea Peri
Hi, it seem to exist, but every sintax I try , I'm have an error. like this: new_style.pattern = [1.0, 2.0] >Traceback (most recent call last): > File "generator.py", line 136, in >new_style.pattern = [1.0, 2.0] > File "C:\my-programs\osgeo4w\apps\Python27\lib\site-packages\mapscript.py",

Re: [mapserver-users] Why $map->scaledenom returns -1 ?

2014-06-17 Thread Lime, Steve D (MNIT)
This is a WMS request? I’d think MapServer would populate width, height and extent for you. What are the values for those parameters if you don’t set them explicitly? Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Vladimir Sent

Re: [mapserver-users] Style pattern on mapscript

2014-06-17 Thread Umberto Nicoletti
Andrea, it seems we never got around to properly wrap styleObj.pattern in mapscript. Actually it is not hard to do it, just provide a getPattern/setPattern index-based function in mapscript/swiginc/style.i and, of course, rebuild mapscript. You could use the get/setBinding functions as a starting

Re: [mapserver-users] Style pattern on mapscript

2014-06-17 Thread Andrea Peri
Hi umberto, thx for response. If I try to do a help(mapscript.styleObject) I can see in the list of availables: a pattern and a patternlength attributes. So I wrongly guess they are available. > Actually it is not hard to do it, just provide a getPattern/setPattern > index-based function > in m

Re: [mapserver-users] shapeObj classIndex

2014-06-17 Thread Lime, Steve D (MNIT)
Hi Meher: Can you post a quick snippet of your code? Which language? Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mohamed Meher TOUHAMI Sent: Monday, June 16, 2014 12:32 PM To: mapserver-users@lists.osgeo.org Subject: [mapserv

Re: [mapserver-users] Style pattern on mapscript

2014-06-17 Thread Andrea Peri
Hi, after a series of test. I see have other results. If I try this code: stile_foreground_pattern = [2.0,2.0,0,0,0,0,0,0,0,0] new_style_outline = mapscript.styleObj() si_out = clone_map.getLayer(li).getClass(ci).insertStyle(new_style_outline) new_style_outline.pattern_setpattern = stile_foregrou