Re: [mapserver-users] insert png image in svg output

2008-06-03 Thread valerio vianello
Ok thanks now it works but.. little backgroundTo do my example I started from Mapserver tutorial (example 2.1:  http://biometry.gis.umn.edu/cgi-bin/mapserv.exe?map=/ms4w/apps/tutorial/htdocs/example2.map&layer=states&zoom=0&mode=browse&root=/tutorial&program=/cgi-bin/mapserv.exe&map_web=

[mapserver-users] Output Raster format

2008-06-03 Thread David Martinez Morata
Hello! I have a question about customizing output format for a WMS server. I have a Raster collection in .tiff format, I make a wms server with this raster files. The output in mapfile its not specified in map file. My question its: Can we change the contrast, saturation and other values for out

Re: [mapserver-users] insert png image in svg output

2008-06-03 Thread Barend Kobben
Hi, I do not use the mapserver SVG output much myself, mostly because last time I tried (over a year ago), the SVG output was not very good. It lacks graphic quality in that it does not really use the possibilties of SVG like I'd wish. But I am quite a bit biassed, firstly because I'm the WMS int

Re: [mapserver-users] Output Raster format

2008-06-03 Thread Rahkonen Jukka
Hi Mapserver is not much like web processing service. However, something can be done with layer PROCESSING directives SCALE and LUT. There may be other options for customizing which I am not aware. http://mapserver.gis.umn.edu/docs/howto/raster_data/#special-processing-directives Sometime

RE: [mapserver-users] PHP: Segmentation fault when draw() orsaveWebImage()

2008-06-03 Thread Burgholzer,Robert
Pavel, So... the trouble is actually with the rasters, not with the Mapserver version? As evidenced by the fact that now neither the previous nor the current version of mapserver work for you? Couple of questions: 1. Can you render this map from the mapserver CGI? 2. Did you recompile PHP, map

[mapserver-users] Dinamically changing HTML Template using CGI parameter? (instead of hardcoded)

2008-06-03 Thread [EMAIL PROTECTED]
I have one mapfile, let say, PACITAN.MAP, with two template files: PACITAN-TMPL.HTML and PACITAN-PRINT-TMPL.HTML. The former is the "primary" template for the normal web map display, while the latter has "cleaner look" for printing purpose (print page). The print page (PACITAN-PRINT-TMPL.HTML)

[mapserver-users] MapServer + SLD + transparency

2008-06-03 Thread Oscar Gomez
Hi all! I'm having some trouble trying to use SLDs with MapServer. I'm requesting maps from GoogleEarth using a NetworkLink object and a custom KML-WMS-KML parser. If I apply "simple" symbology through a custom SLD, it works, and the background of the map created by MapServer is transparent, so

RE: [mapserver-users] Dinamically changing HTML Template using CGIparameter? (instead of hardcoded)

2008-06-03 Thread Wim Blanken
Hello Kresh, In Mapserver version 5 you can change the HTML template as follows. At first you will have to set the templatepattern in the root part of the mapfile (below MAP). TEMPLATEPATTERN ".*" Then you can change the template in the cgi with: ...&map_layer[Wegen]=TEM

RE: [mapserver-users] Dinamically changing HTML Template using CGIparameter? (instead of hardcoded)

2008-06-03 Thread Wim Blanken
Hello Kresh, Sorry, I did not read you question carefull enough..the answer is about changing the template of a single layer and not the main template. Changing the main map template goes with cgi (mapserver 5) i believe as follows: ...&map_web=TEMPLATE+othertemplate.html Sorry

Re: [mapserver-users] MapServer + SLD + transparency

2008-06-03 Thread Yewondwossen Assefa
Hi There, Oscar Gomez wrote: Hi all! I'm having some trouble trying to use SLDs with MapServer. I'm requesting maps from GoogleEarth using a NetworkLink object and a custom KML-WMS-KML parser. If I apply "simple" symbology through a custom SLD, it works, and the background of the map cre

RE: [mapserver-users] KML thematics from MS Layers

2008-06-03 Thread Christopher Condit
Hi Sarel- I’m not sure why I didn’t see your GDAL-dev post… I don’t know of any way to do this with MapServer, but you can come close with a combination of OGR and XSL. I wrote a post on this a while ago on the gdal wiki here: http://trac.osgeo.org/gdal/wiki/KML So essentially you’d export to

[mapserver-users] Using gdaltindex yields "no georeferencing is available"

2008-06-03 Thread Jeremy Short
I have used gdal2tiles.py to convert a simple very large png file to many small tiled images. The command I used is “gdal2tiles.py BigWhite_600.png tiledmaps/ ”. This created 6 directories named 0 to 5, each a directory of tiled pngs 0 to x. The 0 directory has only one 0.png file in the str

[mapserver-users] queryByAttribute Expression Matching

2008-06-03 Thread Ian Tidy
Hi All, I am struggling to get my expression match to work properly. I need to match a string with any part of the attribute value. So if in may SRCH field I have 'NAPIER BOYS HIGH SCHOOL', if I search for BOYS or SCHOOL (any combination of letters / part of the word that matches), I will get th

Re: [mapserver-users] MapServer + SLD + transparency

2008-06-03 Thread Oscar Gomez
Hi Assefa, I have tried with a .map file, and the same symbol, and it works. But it doesn't work with the SLD. My goal is trying to make it work with the SLD. The picture is: http://www.mirame.chduero.es/DMADuero_09_Viewer/img/sld/dam.gif I'm also using pictures for filling polygons, for exampl