| 00:26:44 | strk: | do I need AGG to serve a raster layer with alpha ? |
| 00:27:06 | tbonfort_: | no |
| 00:27:42 | strk: | I downloaded the global population density grid from gpw |
| 00:28:00 | strk: | in .grid format. and converted with gdal obtaining a geotiff with Band 1 Block=8640x1 Type=Float32, ColorInterp=Gray |
| 00:28:26 | strk: | NoData Value=-3.4028234663852886e+38 |
| 00:28:58 | strk: | where do I specify in the mapfile which value to send as transparent ? |
| 00:29:27 | tbonfort_: | offsite |
| 00:29:41 | tbonfort_: | at the layer level |
| 00:30:47 | strk: | uhm, r,g,b ? |
| 00:31:33 | strk: | oh well, 0 0 0 did it |
| 00:32:40 | strk: | alright, next. taking offsite 0,0,0 I still get colors from ~black to white |
| 00:33:02 | strk: | now how can I turn that gradient into a 0 to max alpha ? |
| 01:12:18 | strk: | tbonfort_: how to tell ms to send alpha when rendering vector layers ? |
| 01:24:41 | strk: | found, from WMS request |
| 01:24:45 | strk: | transparent=true |
| 01:36:46 | strk: | now about input raster interpretation |
| 01:36:57 | strk: | the inputRaster is single band with pixel value Float32 |
| 01:37:17 | strk: | rather than interpreting that as a Gray color, I'd like it to be an alpha value |
| 01:37:23 | strk: | do I need to change the input raster ? |
| 03:22:36 | CIA-6: | tbonfort * r9537 /branches/branch-5-4/docs/_static/ol.js: change map theme |
| 03:25:10 | CIA-6: | tbonfort * r9538 /trunk/docs/_static/ol.js: use new map theme |
| 04:13:37 | AlanB: | tbonfort_: hi |
| 04:13:57 | tbonfort_: | Hi Alan |
| 04:14:39 | AlanB: | How are you |
| 04:15:13 | tbonfort_: | fine, and you ? |
| 04:15:20 | AlanB: | fine too, thx. |
| 04:15:26 | tbonfort_: | trying to reproduce that bug without success for the moment |
| 04:15:32 | AlanB: | Did you figure out you seg fault problem? |
| 04:15:36 | AlanB: | haa |
| 04:16:01 | AlanB: | that's strange. I can't figure out what kind of line would produce that |
| 04:16:53 | tbonfort_: | I'll let you know if I can get more info on this |
| 04:17:15 | AlanB: | np, as soon as you get more info, I'm available to work on that. |
| 05:57:24 | mdev: | FrankW? |
| 06:21:39 | leifer: | anyone have success enabling fastcgi with the FGS installer? |
| 06:23:10 | AlanB: | never tried with FGS... what's the problem? |
| 06:39:35 | mdev: | Hi, does anyone know how to set what a label says in the mapfile? If I want to make a feature and then define a custom label for it? |
| 06:40:54 | leifer: | AlanB: just looking for a build of mapserver with fastcgi enabled |
| 06:41:32 | mdev: | nvmd, I got it... had to remove Labelitem declaration |
| 06:43:44 | AlanB: | leifer: kk, maybe someone on the fgs list would have that |
| 06:43:59 | AlanB: | or you can use fgs-dev. |
| 06:44:19 | leifer: | AlanB: fgs-dev...is that the VM for building custom pkgs? |
| 06:47:17 | mdev: | Is there a way to make symbols scale at the same proportion as the map when it is zoomed in/out? |
| 06:49:28 | jmckenna: | mdev: i think you should experiment with the LAYER's SYMBOLSCALEDENOM parameter |
| 06:49:42 | mdev: | is that parot of Symbol or Layer? |
| 06:49:54 | jmckenna: | "LAYER's" means layer |
| 06:49:58 | jmckenna: | : ) |
| 06:50:23 | jmckenna: | http://www.mapserver.org/mapfile/layer.html |
| 06:50:25 | sigabrt: | Title: LAYER MapServer 5.4.2 documentation ( at www.mapserver.org ) |
| 06:50:43 | mdev: | ok found it |
| 06:50:53 | mdev: | so the min/max has to be defined in the symbol? |
| 06:51:56 | jmckenna: | i believe so...i don't have the test in front of me..but just experiment with it...sorry |
| 06:52:15 | mdev: | ok, |
| 06:52:59 | mdev: | ok, works but problem... it scales my label as well |
| 06:53:15 | mdev: | because I have a symbol and a label for it |
| 06:53:43 | mdev: | is it possible to make only the symbol scale and not the label? It's a layer wide definition so it is affecting everything |
| 06:54:56 | mdev: | I guess I'll try defining a min and maxsize on the label then |
| 06:55:41 | mdev: | ok that worked, so nvmd |
| 06:55:46 | mdev: | thanks for your help |
| 09:14:11 | CIA-6: | assefa * r9539 /trunk/msautotest/wxs/expected/ ( 4 files ): update tests for wfs11 related to axis order and attributes |
| 11:01:35 | mdev: | hey, how do you define the thickness of a line? |
| 11:02:12 | FrankW: | mdev: I believe line thickness is accomplish by stroking the line with a symbol and controlling the size of the symbol. |
| 11:02:48 | mdev: | oh, you can't define a line as the TYPE and alter thickness in the layer properties? |
| 11:03:26 | mdev: | so if you make a line as a symbol, what is then the layer type? is it still line? or polygon? |
| 11:03:58 | FrankW: | It is style a line layer. |
| 11:04:15 | FrankW: | But you need to define a symbol as part of the style parameters. |
| 11:04:25 | mdev: | ah ok |
| 11:04:49 | mdev: | I just tried the size parameter in style and that worked but the line looks fuzzy |
| 11:04:58 | mdev: | does it work better doing it as a symbol? |
| 11:05:19 | FrankW: | ah, then disregard my statements about needing symbols - it is apparently inaccurate. |
| 11:05:36 | FrankW: | I think it was once that line thickness could only be accomplished with symbols. |
| 11:06:14 | mdev: | ah ok... but for some reason the 2 lines that got drawn are inconsistent in size and they look jagged |
| 11:06:19 | mdev: | they are diagnol |
| 11:06:29 | mdev: | is it possible to do antialiasing on lines? |
| 11:06:37 | FrankW: | You might want to investigate antialiasing options with the AGG renderer. |
| 11:06:48 | FrankW: | not my area of expertise, but I know it has some capabilities. |
| 11:06:51 | mdev: | but is antialiasing strictly for fonts? |
| 11:07:05 | FrankW: | I did not think it was limited to fonts. |
| 11:07:11 | mdev: | ok |
| 11:07:37 | mdev: | just turned opn antialias |
| 11:07:46 | mdev: | and it worked but it barely helped |
| 11:08:54 | mdev: | do you think that by making the line as a symbol would make it less jagged or is really the same whether you make it line or as symbol? |
| 11:09:04 | FrankW: | I do not know. |
| 11:09:28 | mdev: | ok |
| 11:23:25 | mdev: | do you know where to get the default symbols file that is referenced here to use? |
| 11:23:25 | mdev: | http://mapserver.org/mapfile/symbology/construction.html#examples |
| 11:23:26 | sigabrt: | Title: Cartographic Symbol Construction with MapServer MapServer 5.4.2 documentation ( at mapserver.org ) |
| 13:56:59 | tbonfort_: | ping hobu |
| 13:57:04 | tbonfort_: | isn't the mapserver website supposed to refresh from svn every so often ? |
| 14:01:59 | mdev: | are there any good examples of mapscript files to learn from? |
| 14:10:46 | mdev: | can mapscript be used to basically dynamically create a mapfile on the fly and output the appropriate map? |