Re: [mapserver-users] Bug or User error? MINSIZE not working

2011-02-03 Thread thomas bonfort
what are you trying to obtain? * minsize/maxsize and minwidth/maxwidth are only used when doing scale-dependent scaling of symbols (either by using sizeunits different than pixels, or by having the symbolscaledenom activated) * symbol STYLE is deprecated, and dots and caps are now set at the style

Re: [mapserver-users] Bug or User error? MINSIZE not working

2011-02-05 Thread thomas bonfort
el this as a performance enhancement rather than a quality one. regards, thomas On Fri, Feb 4, 2011 at 17:25, Stephen Woodbridge wrote: > On 2/4/2011 10:34 AM, Daniel Morissette wrote: >> >> On 11-02-04 10:13 AM, Stephen Woodbridge wrote: >>> >>> On 2/4/2011 2:

Re: [mapserver-users] Compiling with opengl support

2011-02-22 Thread thomas bonfort
Felipe, opengl support should compile and run in the trunk version of mapserver, you'll have to do a checkout if you want to try it out. please report back the bugs you see ;) -- thomas On Tue, Feb 22, 2011 at 16:38, Felipe Alcacibar wrote: > Hi, i am trying to compile mapserver with the experim

Re: [mapserver-users] MapServer 6.0.0-beta1 release - Please test!

2011-03-10 Thread thomas bonfort
use AGG/JPEG regards, thomas On Thu, Mar 10, 2011 at 18:33, Andy Colson wrote: > On 3/9/2011 8:47 PM, Daniel Morissette wrote: >> >> The MapServer Team is pleased to announce the release of MapServer >> 6.0.0-beta1. This is the first beta on our way to a final 6.0 release. >> > > My mapfile has:

Re: [mapserver-users] Symbol not showing up in MapServer 6.0.0-beta1 release

2011-03-11 Thread thomas bonfort
Phil, what kind of symbology are you trying to obtain. I suspect you're aiming for a thick line, which now does not require the use of a symbol, but rather: style width 20 color 0 0 255 end regards, thomas On Fri, Mar 11, 2011 at 02:24, Anzel, Phil - Fort Collins, CO wrote: > All, > > I upgr

Re: [mapserver-users] MapServer 6.0.0-beta1 release - Please test!

2011-03-11 Thread thomas bonfort
Andy, yes a (beefy) video card is needed or at least wanted, as you want to offset the calculations to the GPU. If one isn't present, you're going to fall back to a software opengl implementation which will be orders of magnitude slower than what AGG is going to take. cc-ing Toby if he wants to co

Re: [mapserver-users] Symbol not showing up in MapServer 6.0.0-beta1 release

2011-03-11 Thread thomas bonfort
, 2011 at 12:10, thomas bonfort wrote: > Phil, > > what kind of symbology are you trying to obtain. I suspect you're > aiming for a thick line, which now does not require the use of a > symbol, but rather: > > style >  width 20 >  color 0 0 255 > end > > regards,

Re: [mapserver-users] Symbol not showing up in MapServer 6.0.0-beta1 release

2011-03-11 Thread thomas bonfort
style >       symbol "circle" >       color 254 161 0 >       size 7 >     end > then there is no image created. > > Given these experimental results, I wonder if there has been a change in > behavior in drawing symbols. Alternatively I've made a very simple

Re: [mapserver-users] Symbol not showing up in MapServer 6.0.0-beta1 release

2011-03-11 Thread thomas bonfort
 symbol 'circle' >        size 20 >        color 255 255 0 >        outlinecolor 255 0 0 >      end >      style >        width 1 >        color 0 0 255 >      end >    end >  END # end of layer 'single line' > END  # end of MAP >

Re: [mapserver-users] MapServer 6 testing: WMS - invalid layer parameter

2011-03-15 Thread thomas bonfort
> Is there anything I am missing? yes, the migration guide ! ;) (the part on OGC Web Services) -- thomas ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Floating point exception agg png

2011-03-21 Thread thomas bonfort
Daniel, any chance you can create a ticket for that with a mapfile and sample data that reproduces it ? the png vs. jpeg should not intervene as at the point the error is occuring the code path has been nearly identical (i.e. no png or jpeg library calls have been made yet). thomas On Mon, Mar 21

Re: [mapserver-users] Production mapserver

2011-03-21 Thread thomas bonfort
On Mon, Mar 21, 2011 at 18:28, Andy Colson wrote: > On 3/21/2011 11:27 AM, Jeff Dege wrote: >> >> What do we need to do to get Mapserver running in a production >> configuration? > > I guess that's up to you.  Do you need 100% uptime?  Mirrors and backups and > redundancy?  You'll also need an ISP

Re: [mapserver-users] Production mapserver

2011-03-21 Thread thomas bonfort
Jeff, all the documentation is online, the folks producing the open source software you are intending to use have gone to some trouble to produce it. If that isn't sufficient, I highly doubt that the answers you'll get from a mailing list where people don't know your requirements will get you to wh

Re: [mapserver-users] showing line direction (without font)

2011-03-24 Thread thomas bonfort
clement, GEOMTRANSFORM END SYMBOL "arrowhead" ANGLE AUTO does what you want, with the arrowhead symbol being a truetype symbol with character '>'. you can also define arrowhead as a vector symbol with the points forming an arrowhead. -- thomas On Thu, Mar 17, 2011 at 15:28, Clément MONIER wro

Re: [mapserver-users] how to create symbol on the START and END of aline

2011-03-30 Thread thomas bonfort
Juan, If there was a simple and efficient way of rendering start and end points before version 5.4, we probably would not have gone to the trouble of implementing the GEOTRANSFORM stuff. So no, there no other way aside from upgrading or creating a second layer. -- thomas On Wed, Mar 30, 2011 at

Re: [mapserver-users] Negative GAP parameter to rotate vector symbols along line

2011-03-30 Thread thomas bonfort
what mapserver version? what outputformat/renderer? -- thomas On Wed, Mar 30, 2011 at 15:10, Bartłomiej Burkot wrote: > Hi Users > > I would like to render a vector symbol along the line in a layer. This > vector symbol should be rotated according to orientation of linesegments > (for example a

Re: [mapserver-users] Negative GAP parameter to rotate vector symbols along line

2011-03-30 Thread thomas bonfort
It's supposed to work. If not, you might want to file a bugreport with a screenshot of what you're getting, but in any case the GD driver in the 5.x brach won't be getting much attention. I'd highly suggest using AGG/PNG for any vector symbology rendering. regards, thomas On Thu, Mar 31, 2011 at

Re: [mapserver-users] Transparency of overlapping PNG-symbols

2011-04-08 Thread thomas bonfort
Given the artifact, I'd say that you are using the GD renderer. Are you sure it's the AGG one that is being selected when you create that image? -- thomas 2011/4/8 Lime, Steve D (DNR) : > Can you share the batnight.png file? Any difference if you remove > "TRANSPARENT 0"? It shouldn't have any >

Re: [mapserver-users] Transparency of overlapping PNG-symbols [solved]

2011-04-11 Thread thomas bonfort
Ok, thanks. could you check the same mapfile with GD on mapserver 6.0 to see if the issue still exists? thomas On Mon, Apr 11, 2011 at 09:39, Stephan Holl wrote: > Hello thomas, > > thomas bonfort , [20110408 - 16:52:53] > >> Given the artifact, I'd say that you are usi

Re: [mapserver-users] Tag SYMBOL -> CENTER/ORIGIN

2011-04-11 Thread thomas bonfort
No, it was not implemented, and is on hold until someone funds it. regards, thomas On Mon, Apr 11, 2011 at 10:54, tommaso wrote: > Hallo List, > in the Document http://mapserver.org/trunk/development/rfc/ms-rfc-45.html is > mentioned the tag CENTER / ORIGIN for SYMBOL:  was this feature already

Re: [mapserver-users] fastcgi mode with raster layer?

2011-04-11 Thread thomas bonfort
Martin, fastcgi will essentially give you speedups in these two cases: * with slow-to-open data connections (i.e. oracle, some gdal/ogr datasources?) if you use "CLOSE_CONNECTION=DEFER" * and/or when the cost of creation of a process becomes non negligible compared to the time that the mapserv pr

Re: [mapserver-users] MS 6.0 beta4 writes always into ms_errorfile with raster layers

2011-04-12 Thread thomas bonfort
fixed in r11537. regards, thomas On Tue, Apr 12, 2011 at 11:59, Rahkonen Jukka wrote: > Hi, > > I wonder why Mapserver 6.0 beta seems to write two lines into ms_errorfile > even if there is no errors and I do not have degug on. > > [Tue Apr 12 12:37:59 2011].386000 msDrawRasterLayerLow(Suomi_1m)

Re: [mapserver-users] MS 6.0 beta4, is image/jpeg output OK?

2011-04-12 Thread thomas bonfort
I think some browsers do that if the image is corrupt. Try to use curl or wget or view-source to see the actual returned data. -- thomas On Tue, Apr 12, 2011 at 15:47, Rahkonen Jukka wrote: > Hi, > > I have a pretty basic mapfile without my own OUTPUTFORMAT settings.  MS 6.0 > beta4 is advertisi

Re: [mapserver-users] label placement problem

2011-04-14 Thread thomas bonfort
Raivo, When using mindistance, we check to see if there are labels with the same text from the same layer that are closer than the specified threshold. Modifying that behavior would not be impossible to make them check for a third condition (i.e. same text, same layer, and same attribute), but is

Re: [mapserver-users] MS 6.0 beta6 and faulty image/png; mode=8bit output if source image has overviews

2011-04-18 Thread thomas bonfort
Jukka, please create a ticket and attach your test case, I'll have a look. thanks, thomas On Mon, Apr 18, 2011 at 10:18, Rahkonen Jukka wrote: > Hi, > > I am sometimes getting images with totally odd colours with MS 6.0 beta 6 > (and the previous beta versions) with format image/png; mode=8bit. 

Re: [mapserver-users] MS 6.0 beta6 and faulty image/png; mode=8bit output if source image has overviews

2011-04-19 Thread thomas bonfort
please test with trunk and report back if you're still having the error: http://trac.osgeo.org/mapserver/ticket/3848 -- thomas On Tue, Apr 19, 2011 at 09:32, Erik Gustafson wrote: >> On Mon, Apr 18, 2011 at 10:18, Rahkonen Jukka >> wrote: >>> Hi, >>> >>> I am sometimes getting images with tota

Re: [mapserver-users] MS 6.0 beta6 and faulty image/png; mode=8bit output if source image has overviews

2011-04-19 Thread thomas bonfort
rik Gustafson wrote: > On Tue, Apr 19, 2011 at 9:39 AM, thomas bonfort > wrote: >> please test with trunk and report back if you're still having the >> error: http://trac.osgeo.org/mapserver/ticket/3848 > > My test case from yesterday has correct colors with trunk of tod

Re: [mapserver-users] MS 6.0 beta6 and faulty image/png; mode=8bit output if source image has overviews

2011-04-19 Thread thomas bonfort
n Tue, Apr 19, 2011 at 10:44, Erik Gustafson wrote: > On Tue, Apr 19, 2011 at 10:27 AM, thomas bonfort > wrote: >> Erik, >> the png compression that is applied is now configurable, and defaults >> to "6". You can set it as it was by default in 5.6 for quantized &

Re: [mapserver-users] Problems with png output when using libpng 1.5

2011-04-20 Thread thomas bonfort
Christy, I suspect this is due to a bug in libpng. see http://sourceforge.net/tracker/index.php?func=detail&aid=3288207&group_id=5624&atid=105624 . On Wed, Apr 20, 2011 at 15:20, Christy Nieman wrote: > Hi, > > I compiled MapServer 6.0 beta6 against libpng 1.5.2 and encountered the > following pr

Re: [mapserver-users] relative path for .map file inside a WMS url

2011-04-20 Thread thomas bonfort
I don't think it is possible o have this yet. You could file an enhancement request, as this would be a nice feature to have. regards, thomas On Wed, Apr 20, 2011 at 16:43, Clément MONIER wrote: > Hi, > > > > I have a CGI MapServer 5.6.0beta5 instance running on Windows. > > But I’m not (and wo

Re: [mapserver-users] relative path for .map file inside a WMS url

2011-04-20 Thread thomas bonfort
Actually, you can also do this with an apache rewrite rule, I've just tested it and it seems to work quite well ! RewriteEngine On RewriteRule ^/wms/(.*) /cgi-bin/mapserv?map=/datadir/$1.map [PT,QSA] it will translate requests that are like /wms/carto to /cgi-bin/mapserv?map=/datadir/carto.map ,

[mapserver-users] Re: [mapserver-dev] problem with mapserver

2011-04-21 Thread thomas bonfort
forwarding this to the mapserver-users list where it belongs. you are setting TYPE bitmap, which does not support more than ascii characters. you must set TYPE TRUETYPE and SIZE 9 (an integer value, not tiny, medium, etc...) regards, thomas On Thu, Apr 21, 2011 at 16:35, Annabell Schelton Lima

[mapserver-users] Re: [mapserver-dev] problem with mapserver

2011-04-21 Thread thomas bonfort
my > object label my label layer does not show..any idea?? > > > > - Mensaje original ----- > De: "thomas bonfort" > Para: "Annabell Schelton Lima" > CC: "MapserverList OSGEO" > Enviados: Jueves, 21 de Abril 2011 17:47:23 GMT +01:00 Amste

[mapserver-users] Re: [mapserver-dev] problem with mapserver

2011-04-21 Thread thomas bonfort
; - Mensaje original ----- > De: "thomas bonfort" > Para: "Annabell Schelton Lima" > CC: "MapserverList OSGEO" > Enviados: Jueves, 21 de Abril 2011 18:22:25 GMT +01:00 Amsterdam / Berlín / > Berna / Roma / Estocolmo / Viena > Asunto: Re: [mapserver-de

Re: [mapserver-users] From MS 5.6 SYMBOL into 6.0 STYLE

2011-04-27 Thread thomas bonfort
mapserver-utils repository has been updated for 6.0, you can see the changes there. -- thomas On Wed, Apr 27, 2011 at 17:51, Rahkonen Jukka wrote: > Hi, > > My old OpenStreetMap mapfile does not work any more after update. I read that > some SYMBOL stuff has been moved into STYLE. Could somebod

Re: [mapserver-users] Font/Symbol size change with different MapServer

2011-04-27 Thread thomas bonfort
The symbols aren't the same size also. I suspect you have a RESOLUTION or DEFRESOLUTION that is different between your dev and prod platforms. -- thomas On Wed, Apr 27, 2011 at 19:42, myOpenLayersUName wrote: > I have created a WMS containing a layer of points and labels that looks fine > in our

Re: [mapserver-users] Re: Font/Symbol size change with different MapServer

2011-04-28 Thread thomas bonfort
are your production and dev envirronments running the same mapserver version? The scaling applied when resolution!=defresolution was introduced in 5.6 I think. -- thomas On Thu, Apr 28, 2011 at 16:26, myOpenLayersUName wrote: > Since you folks are usually so good on this forum, the lack of resp

Re: [mapserver-users] Validation example wanted

2011-04-29 Thread thomas bonfort
have you tried without the surrounding slashes? i.e. VALIDATION tag "." value "." END On Fri, Apr 29, 2011 at 10:37, Rahkonen Jukka wrote: > Hi, > > Could somebody tell how can I make my WMS requests to validate? I am sending > WMS GetMaps with two extra parameters "tag" and "value" by a

Re: [mapserver-users] Mapserver usage with commercial vendors data

2011-04-29 Thread thomas bonfort
Paolo, On Fri, Apr 29, 2011 at 15:19, Paolo Crosato wrote: > Hi, > > I work for an LBS based company, we have our own proprietary rendering > engine for producing maps, and we work mainly with data from Navteq and > Teleatlas. Presently our rendering engine is behind the competition in terms > of

Re: [mapserver-users] Parameterized MapFile using CGI variable

2011-04-29 Thread thomas bonfort
As David stated, the INCLUDE keyword does not have to be a full mapserver object, it can be any valid mapserver keywords. -- thomas On Fri, Apr 29, 2011 at 16:49, Nicolas BOUTET wrote: > Thank you David, > > > > Yes, using INCLUDE should be a good solution. But as I know in MapServer > 5.6, CONN

Re: [mapserver-users] Arrowhead in Mapserver 6.0

2011-05-06 Thread thomas bonfort
vector symbols are ill-defined by nature in mapserver, especially if you are using negative values and single points like you are. more precisely, you should *never* use -99 -99 x y -99 -99 as in that case you are drawing a line with a single point which will be rightfully discarded by cairo and a

Re: [mapserver-users] Rendering Challenges

2011-05-10 Thread thomas bonfort
Brent, those are interesting questions On Mon, May 9, 2011 at 21:51, Brent Fraser wrote: >  While testing v6, I can up with the following list of things I couldn't do > (see http://i56.tinypic.com/8vvprn.png for a graphic): > > 1. Render lines inside polygon boundary (with or without opacity) Al

Re: [mapserver-users] Rendering Challenges

2011-05-10 Thread thomas bonfort
;      END > > results in http://i54.tinypic.com/25a22k4.jpg  Close, but notice the "bleed" > outside the polygon at the sharp corners. > > Thanks! > > Best Regards, > Brent Fraser > > > On 5/10/2011 1:38 AM, thomas bonfort wrote: >> >> Brent, &

Re: [mapserver-users] Rendering line crossing iteslf

2011-05-11 Thread thomas bonfort
An undocumented and "not guaranteed to work in future versions" is to trick mapserver in not drawing the cached base style for bridge lines. As you are avoiding the line caching mechanism, you have to tweak the linecaps for the base style. CLASS EXPRESSION ([bridge]=1) STYLE END STYLE

Re: [mapserver-users] Rendering line crossing iteslf

2011-05-11 Thread thomas bonfort
-- Forwarded message -- From: thomas bonfort Date: Wed, May 11, 2011 at 16:03 Subject: Re: SV: [mapserver-users] Rendering line crossing iteslf To: Stephen Woodbridge Steve, That isn't the case. The first style of all the features are rendered in a first phase, an

Re: [mapserver-users] Layer rendering performance problem

2011-05-11 Thread thomas bonfort
what mapserver version and renderer/driver are you using? AGG should'nt be accessing the font file unless a new character is encountered. For GD I don't know. -- thomas On Wed, May 11, 2011 at 18:00, Jon-Paul Dobson wrote: > Thanks guys. I will give this ago. Any ideas about poor performance wh

Re: [mapserver-users] opacity and outputformat

2011-05-12 Thread thomas bonfort
Opacity is set as a single integer between 0 and 100 on the layer level. There are no limitations on setting it on multiple layers, but in that case the opacity adds up, so if you have two layers with opacity 50, the final opacity of the image ends up being 75. If your final images end up with no

Re: [mapserver-users] Reference Map must be a GIF????

2011-05-12 Thread thomas bonfort
looking through the code, both GD and the other renderers should support loading GIF and PNG images. (This also concerns pixmap symbols, legend icons, etc... i.e. anything which requires loading an image file outside of GDAL) Can you supply the and the reference image you are using ? regards, tho

Re: [mapserver-users] Layer rendering performance problem

2011-05-12 Thread thomas bonfort
On Thu, May 12, 2011 at 10:57, Jon-Paul Dobson wrote: > Hi, > > I just tried creating a qix file as suggested and found that the Shape file > now renders 22 times faster! Fantastic advice guys. Many thanks. > > If only there was a way to prevent the TTF file being continuously accessed > when disp

Re: [mapserver-users] Problem rendering multiple layers

2011-05-13 Thread thomas bonfort
mixing the mode=map with a WMS request might be treated differently in 5.0 than 5.6. To be on the safe side, either do a mapserver style mode=map request without the SERVICE and REQUEST params, or do some pure wms requests without the mode=map (the second option seems to be what you are trying to a

Re: [mapserver-users] compilation error about shp2img

2011-05-17 Thread thomas bonfort
what png library version are you using. if 1.5, try downgrading to 1.4 regards, thomas 2011/5/17 ahmet temiz : > hello > > when I tried to compile UMN_Mapsever (6.0), I encountered this error: > > -undefined reference to `png_set_longjmp_fn'- > collect2: ld returned 1 exit status > make: *** [shp

Re: [mapserver-users] Re: Is it posible to substitute a value from table for width of line

2011-06-01 Thread thomas bonfort
are you using the exact syntax of your first example, i.e. "WIDTH [gid]" ? On Wed, Jun 1, 2011 at 10:27, prab.raja wrote: > But when I tried this mapserver gives error message as "getInteger(): Symbol > definition error. Parsing error near (gid)". > I am using MapServer version 5.2.1. > > On Wed,

Re: [mapserver-users] Re: Is it posible to substitute a value from table for width of line

2011-06-01 Thread thomas bonfort
then make sure you are actually using 5.2.1 and not an older version On Wed, Jun 1, 2011 at 10:47, prab.raja wrote: > yes. > Below is the style copied from my Map file. >         STYLE >             COLOR 0 140 70 >             WIDTH [gid] >          END > On Wed, Jun 1, 20

Re: [mapserver-users] Re: HTTP request error. CURLOPT_PROXYAUTH not supported. Requires Curl 7.10.7 and up

2011-06-01 Thread thomas bonfort
first check that comes to mind: is your curl version > to 7.10.7 ? On Wed, Jun 1, 2011 at 10:55, sulu wrote: > Update. > > Am i doing something wrong here? > > There is the same problem when i use the ms4w-windows-mapserver (5.6.6) > > It also complains about > CURLOPT_PROXYAUTH not supported. R

Re: [mapserver-users] Re: Is it posible to substitute a value from table for width of line

2011-06-01 Thread thomas bonfort
ORTS=GEOS SUPPORTS=RGBA_PNG INPUT=JPEG INPUT=POSTGIS > INPUT=OGR >  INPUT=GDAL INPUT=SHAPEFILE > On Wed, Jun 1, 2011 at 2:24 PM, thomas bonfort [via OSGeo.org] <[hidden > email]> wrote: >> >> then make sure you are actually using 5.2.1 and not an older version >&

Re: [mapserver-users] Re: HTTP request error. CURLOPT_PROXYAUTH not supported. Requires Curl 7.10.7 and up

2011-06-01 Thread thomas bonfort
looking at the code, it seems the only reason on unix you'd get that message is because the curl library is too old. On ms4w it might be because the maintainer has not set the USE_CURLOPT_PROXYAUTH #define. -- thomas On Wed, Jun 1, 2011 at 11:26, sulu wrote: > Hi Jukka. > > Thanks for answering.

Re: [mapserver-users] ANGLE FOLLOW and Label Offset (v. 5.6.6)

2011-06-06 Thread thomas bonfort
The status has not changed: label follow with offset is not supported. regards, thomas On Mon, Jun 6, 2011 at 15:33, uvg wrote: > Hi all! > Sorry for my bad English. > > I am trying to achieve is a label that follows the rivers that is also > OFFSET so that > the label does not  'above' on the l

Re: [mapserver-users] Re: ANGLE FOLLOW and Label Offset (v. 5.6.6)

2011-06-06 Thread thomas bonfort
6/6/2011 9:48 AM, uvg wrote: >> >> Thank you, Thomas. >> Are there any workarounds for this problem? >> Is there 'best practices' for the problem? >> Maybe unvisible layer or other? >> 06.06.2011, 17:35, "thomas bonfort [via OSGeo.org]" <[h

Re: [mapserver-users] Re: ANGLE FOLLOW and Label Offset (v. 5.6.6)

2011-06-06 Thread thomas bonfort
er idea for smoothing out curves for labeling might be to apply an N >> point moving average and allow that to be the label path. I don't think this >> has been mentioned as an option in the past. >> >> -Steve W >> >> On 6/6/2011 10:20 AM, thomas bonfort wrot

Re: [mapserver-users] Fixed labels for polygons

2011-06-08 Thread thomas bonfort
PROCESSING "LABEL_NO_CLIP=ON" on the polygon layer -- thomas On Wed, Jun 8, 2011 at 10:18, Ambrogio Foletti wrote: > Hi there, > > I just subscribed to the list so I want to say hello before posing my > question ;-) > > And here's my problem: I have a lot of contiguous polygons who need to be >

Re: [mapserver-users] symbol position moving when using angle

2011-06-21 Thread thomas bonfort
Bart, What mapserver version, and which renderer? Le 21 juin 2011 14:38, "Bart van den Eijnden (OSGIS)" a écrit : > Hi list, > > hopefully someone can explain the following issue to me. > > I am using a vector symbol (ttf), and when using no angle, it is > positioned correctly. > > However, when I

Re: [mapserver-users] symbol position moving when using angle

2011-06-21 Thread thomas bonfort
Thomas, > > I tested both 5.2 and 5.7 (i.e. trunk a few months after the 5.6 release). > > Renderer: my guess is GD but I would need to check on Thursday to be sure. > > Best regards, > Bart > > Sent from my iPhone > > On Jun 21, 2011, at 7:52 PM, thomas bonfort wr

Re: [mapserver-users] LABELPOLY with increased padding

2011-06-23 Thread thomas bonfort
I agree this would be an important feature to have. For now, you should be able to hack around it by specifying the width of the outline as twice the value of the padding you want. You do loose the possibility of having an outline of a different color than the fill. STYLE GEOMTRANSFORM 'labelpol

Re: [mapserver-users] LABELPOLY with increased padding

2011-06-23 Thread thomas bonfort
On Thu, Jun 23, 2011 at 11:35, Jana Golinowski wrote: >> I agree this would be an important feature to have. >> For now, you should be able to hack around it by specifying the width >> of the outline as twice the value of the padding you want. You do >> loose the possibility of having an outline o

Re: [mapserver-users] Re: Font rendering in MapServer 6.0

2011-07-07 Thread thomas bonfort
We've kept the GD renderer in 6.0 for some marginal use cases, but the preferred way is to switch to AGG rendering (which is compiled in by default): you can use the builtin png8 imagetype (mimetype: image/png; mode=8bit) which does a quantization step if you need a 256 color paletted image. The e

Re: [mapserver-users] defresolution and resolution issues in Mapserver 6

2011-07-18 Thread thomas bonfort
Mike, I am not able to reproduce with the msautotest tests: These are the steps I have taken, in msautotest/renderers - mapserv -nh QUERY_STRING='map=point_ellipse.map&mode=map&map_resolution=144&map_size=800+600' > result/point_ellipse.png.png - convert -scale 50% result/point_ellipse.png.png re

Re: [mapserver-users] defresolution & resolution in 6.0

2011-07-18 Thread thomas bonfort
Richard, I was also unable to reproduce your issue (see the similar titled thread initiated by Mike Smith), using the msautotest/renderers/polygon-as-line.map please submit a self-contained test-case where the issue can be reproduced. thanks, thomas On Sun, Jul 17, 2011 at 21:35, Richard Greenwo

Re: [mapserver-users] defresolution & resolution in 6.0

2011-07-18 Thread thomas bonfort
the behavior. > > If you consider this a bug I am happy to file a ticket, but I'd like > another set of eyes on it before I do so. This definitely seems like a bug, go ahead and file a ticket ! thanks, thomas > > Thank you, > Rich > > On Mon, Jul 18, 2011 at 11:52 AM,

Re: [mapserver-users] defresolution & resolution in 6.0

2011-07-19 Thread thomas bonfort
I still haven't been able to reproduce the issue with my simple testcase, so please attach the complete mapfile that triggers this to the bugreport. -- thomas On Tue, Jul 19, 2011 at 08:37, thomas bonfort wrote: > On Mon, Jul 18, 2011 at 21:31, Richard Greenwood > wrote: >> th

Re: [mapserver-users] mapserver publish road

2011-07-19 Thread thomas bonfort
I don't think there's a way to do this, as when rendering roads the mapserver method is usually what is desired. You might want to file an enhancement ticket so that this behavior can be configured with a mapfile keyword. On a side note, cartolines in mapserver are deprecated since version 5.0 and

Re: [mapserver-users] mapserver publish road

2011-07-19 Thread thomas bonfort
2011/7/19 Rahkonen Jukka : > Hi, > > I believe that most cartographers would say that the uDig way to to draw the > outlines is ugly and the Mapserver way looks better but it is partly a matter > of taste.  However, at least for me the continuous black lines also give a > feeling that it is not

Re: [mapserver-users] wms time problem

2011-07-21 Thread thomas bonfort
have a look at http://mapserver.org/cgi/runsub.html regards, thomas On Thu, Jul 21, 2011 at 15:19, Luana Valentini wrote: > Dear all, > > I'm using MapServer to serve a building shapefile, in which ? have stored > in the attribute table a 'date of construction' and a 'date of > demolition'. > At

Re: [mapserver-users] expressions in a chart layer

2011-08-08 Thread thomas bonfort
There is no such functionality for the time being. You can either filter out the data at the DATA level (i.e. postgis query with "where year=xxx") or fund the addition of expressions to the chart type layers. regards, thomas On Mon, Aug 8, 2011 at 11:39, Mario Basa wrote: > Hello. > > Do EXPRESS

Re: [mapserver-users] googleMap as a base layer

2011-08-11 Thread thomas bonfort
no, the google maps terms of service explicitely deny this kind of usage (this limitation is probably raised if you get an enterprise license) -- thomas 2011/8/11 ahmet temiz : > hello > > I was wondering if it was possible to integrate googlemap to mapserver a > layer ? > > regards > > -- > Ahm

Re: [mapserver-users] Invalid pdf file from WMS

2011-08-17 Thread thomas bonfort
the second one is incomplete, the request seems to be failing. can you run the request locally to see if it segfaults, and if so provide a backtrace: /path/to/mapserver-cgi QUERY_STRING='map=/path/to/map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=864&HEIGHT=662&LAYERS=default&TRANSPARENT=TRUE

Re: [mapserver-users] Invalid pdf file from WMS

2011-08-17 Thread thomas bonfort
big BBOX does lead into segmantation fault.  Unfortunately I am > just an amateur and I have no idea about what is a backtrace and how I could > provide it to you. The server is a virtual Linux box (Ubuntu). > > -Jukka Rahkonen- > > thomas bonfort wrote: > >> the second

Re: [mapserver-users] Invalid pdf file from WMS

2011-08-18 Thread thomas bonfort
() > #8  0x0805c2f4 in ?? () > #9  0x00fefbd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 > #10 0x08057881 in ?? () > > -Jukka- > > Lähettäjä: thomas bonfort [thomas.bonf...@gmail.com] > Lähetetty: 17. elokuuta 2011 22:5

Re: [mapserver-users] Invalid pdf file from WMS

2011-08-19 Thread thomas bonfort
PHP and and am finally figuring it > out. > > Worth Lutz > > > > -Original Message- > From: mapserver-users-boun...@lists.osgeo.org > [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of thomas bonfort > Sent: Thursday, August 18, 2011 3:11

Re: [mapserver-users] create hatch symbol with python mapscript?

2011-09-01 Thread thomas bonfort
You should also set the style size which is the spacing between hatches. It should be larger than the style width. Thomas Le 1 sept. 2011 17:11, "Michael Schulz" a écrit : > Hi, > > I just tried to create a hatch type symbol only thru python mapscript, > but failed. Could someone have a quick look

Re: [mapserver-users] Crash on Labeling

2011-09-07 Thread thomas bonfort
Stuart, please open a ticket and attach a minimal mapfile/testcase that reproduces the issue. -- thomas On Wed, Sep 7, 2011 at 22:30, wrote: > I am labeling roads.  I have a class using the TEXT directive like so: > > TEXT 'Bus [NAME]' > > This is for a business loop and labels in the map corre

Re: [mapserver-users] Re: MapScript WMS request

2011-09-08 Thread thomas bonfort
it goes in map->web->metadata On Thu, Sep 8, 2011 at 19:48, Mr. Puneet Kishor wrote: > a bit more investigation on producing a WMS response via Perl MapScript > reveals the following error > >   >   "http://schemas.opengis.net/wms/1.1.0/exception_1_1_0.dtd";> >   >   >  msWMSDispatch(): WMS ser

Re: [mapserver-users] Re: MapScript WMS request

2011-09-08 Thread thomas bonfort
someone else might, I don't use mapscript On Thu, Sep 8, 2011 at 20:05, Mr. Puneet Kishor wrote: > > On Sep 8, 2011, at 1:03 PM, thomas bonfort wrote: > >> it goes in map->web->metadata >> > > I guessed as much, but I can't fathom the syntax. The web

Re: [mapserver-users] Problem compiling MapServer 6.0.1 with libpng

2011-09-12 Thread thomas bonfort
Can you check you are linking against the same version libpng library as the png.h header (i.e. check you don't have multiple png versions installed) 2011/9/12 Dejan Gambin : > Hi, > > I am still unable to compiče mapserver 6.0.1. I can't find this function > (png_set_longjmpfn) defined anywhere.

Re: [mapserver-users] Problem compiling MapServer 6.0.1 with libpng

2011-09-12 Thread thomas bonfort
a(mapimageio.o): In function `readPNG': > /home/dgambin/mapserver-6.0.1/mapimageio.c:738: undefined reference to > `png_set_longjmp_fn' > collect2: ld returned 1 exit status > > Is there anything wrong here? I'll send you anything else if needed :-) > > Thanks

Re: [mapserver-users] Problem compiling MapServer 6.0.1 with libpng

2011-09-12 Thread thomas bonfort
resql -I/usr/include/mysql  -DBIG_JOINS=1 -fPIC -I/usr/include   -I/usr/include/libxml2   mapimageio.c -M for the location of png.h - if png.h comes from /usr/local/include, open a ticket and assign it to me > > > On 12. ruj. 2011., at 11:17, thomas bonfort wrote: > >> can yo

Re: [mapserver-users] Problem compiling MapServer 6.0.1 with libpng

2011-09-12 Thread thomas bonfort
make sure you remove the "-o mapimageio.o" from the call 2011/9/12 Dejan Gambin : > I get no output, just mapimageio.o generatedI'll try again...maybe some > other option... > > dejan > On 12. ruj. 2011., at 11:45, thomas bonfort wrote: > >> 2011/

Re: [mapserver-users] Problem compiling MapServer 6.0.1 with libpng

2011-09-12 Thread thomas bonfort
One last check: can you run the linker command with the "-t" option and post the output 2011/9/12 Dejan Gambin : > Here is the ticket I created: > > http://trac.osgeo.org/mapserver/ticket/4019 > > regards, dejan > On 12. ruj. 2011., at 11:45, thomas bonfort wrote:

Re: [mapserver-users] Problem compiling MapServer 6.0.1 with libpng

2011-09-12 Thread thomas bonfort
r/lib/gcc/x86_64-linux-gnu/4.3.2/crtend.o > /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crtn.o > ./libmapserver.a(mapimageio.o): In function `savePalettePNG': > /home/dgambin/mapserver-6.0.1/mapimageio.c:274: undefined reference to > `png_set_longjmp_fn' > ./libmapserve

Re: [mapserver-users] Problem compiling MapServer 6.0.1 with libpng

2011-09-12 Thread thomas bonfort
:21, thomas bonfort wrote: > it's using the libpng.so from /usr/lib64 instead of /usr/local > > try adding -L/usr/local/lib right after "-o shp2img.o" > > 2011/9/12 Dejan Gambin : >> Is this ok? >> >> coin:/home/dgambin/mapserver-6.0.1# g++ -g -t -fP

Re: [mapserver-users] Problem compiling MapServer 6.0.1 with libpng

2011-09-12 Thread thomas bonfort
hould I add this piece of code (-L/usr/local/lib) so it > get linked properly? > > dejan > On 12. ruj. 2011., at 12:24, thomas bonfort wrote: > >> Note that even though this may make it compile, you might end up with >> runtime errors as you are mixing png version

Re: [mapserver-users] GEOMTRANSFORM not working on "notices"

2011-09-12 Thread thomas bonfort
On Mon, Sep 12, 2011 at 16:06, Flavio Hendry wrote: > Hi all > > A notice can be defined as follows (see http://mapserver.org/faq.html): > > LAYER >  NAME "copyright" >  STATUS ON >  TYPE annotation >  TRANSFORM ll #set the image origin to be lower left >  FEATURE >    POINTS >      60 -10 #set th

Re: [mapserver-users] GEOMTRANSFORM not working on "notices"

2011-09-12 Thread thomas bonfort
I have just tried your exact same layer and the output is correct and attached to this email -- thomas On Mon, Sep 12, 2011 at 16:29, thomas bonfort wrote: > On Mon, Sep 12, 2011 at 16:06, Flavio Hendry wrote: >> Hi all >> >> A notice can be defined as follows (see

Re: [mapserver-users] 'dot' only features that are labeled

2011-09-12 Thread thomas bonfort
you're looking for TYPE ANNOTATION layer. -- thomas On Mon, Sep 12, 2011 at 20:00, Charlton Galvarino wrote: > Hi, MS-ers.  Good luck to those of you who are in Denver this week.  For the > rest of us working away back home, I have a quick Q.  Probably even a rookie > Q. > > I have a nice LABE

Re: [mapserver-users] recommended tile caching mechanism with `mode=tile`

2011-09-18 Thread thomas bonfort
On Sun, Sep 18, 2011 at 08:08, Mr. Puneet Kishor wrote: > > On Sep 17, 2011, at 11:43 PM, Daniel Morissette wrote: > >> On 11-09-18 12:08 AM, Mr. Puneet Kishor wrote: >>> I am using MapServer cgi with `mode=tile` with a Google Maps front-end, and >>> am wondering what is a recommended tile cache

Re: [mapserver-users] recommended tile caching mechanism with `mode=tile`

2011-09-18 Thread thomas bonfort
there.)   Is > that true and can the current trunk be built on Windows? > - John > > > > > On Sun, Sep 18, 2011 at 11:02 AM, thomas bonfort > wrote: >> >> On Sun, Sep 18, 2011 at 08:08, Mr. Puneet Kishor >> wrote: >> > >> > On Sep 17,

Re: [mapserver-users] installing and configuring mapcache

2011-09-18 Thread thomas bonfort
On Sun, Sep 18, 2011 at 11:23, Mr. Puneet Kishor wrote: > installation mostly went well except for pixman. The install docs say, I > should have the following incantation > >        --with-pixman=[yes|no|/path/to/pkgconfig/pixman.pc] > > I installed pixman and have the following > > $ll /opt/loca

Re: [mapserver-users] recommended tile caching mechanism with `mode=tile`

2011-09-18 Thread thomas bonfort
To be a bit more precise, everything *except* blank tile linking should work on windows, but that code is already ifdef'd out for win32 and so should not pose any build problem. -- thomas On Sun, Sep 18, 2011 at 12:41, thomas bonfort wrote: > There are no known limitations in running on

Re: [mapserver-users] Text outline not working on line features

2011-09-20 Thread thomas bonfort
what mapserver version, what outputformat? regardless, it should work with any version, are you sure that this is the actual mapfile snippet that is being used ? -- thomas On Tue, Sep 20, 2011 at 18:45, Bistrais, Bob wrote: > I’m trying to draw and label road features from a shapefile.  I’d like

Re: [mapserver-users] Limits on CLASS EXPRESSIONS for regular expressions

2011-09-21 Thread thomas bonfort
If I'm not mistaken, mapserver uses regex, which has a smaller featureset than perl's regular expressions. Using pcre instead of regex inside mapserver might solve your problem. -- thomas On Wed, Sep 21, 2011 at 06:29, Stephen Woodbridge wrote: > Does anyone know if/what restrictions we have on

Re: [mapserver-users] Text outline not working on line features

2011-09-21 Thread thomas bonfort
utline not working on line features > > Bob, > > Also, what are you getting for label output in you case? More info would > > help diagnose this. > > Thanks, > -Steve W > > On 9/20/2011 1:47 PM, thomas bonfort wrote: >> what mapserver version, what outputforma

  1   2   3   4   5   6   7   8   9   >