Re: [mapserver-users] LAYER CHART

2008-03-12 Thread thomas bonfort
On Wed, Mar 12, 2008 at 1:33 PM, Kai Behncke <[EMAIL PROTECTED]> wrote: > Hello list, > > I have a questions about LAYER CHART. > Is it possible to set a LABLE to the pies or bars so that I can see with > value they have? no > If not is this maybe planned in future versions? maybe ;) > Tha

Re: [mapserver-users] AGG vs. GD: Label placement problems

2008-03-18 Thread thomas bonfort
Yes, that's exactly the problem, as there's a difference of a few pixels between the size of the label calculated by gd and the size it actually takes when rendered with agg. I realize now that it can cause some quite visible problems in the case you show here (labels to the left), as in that case

Re: [mapserver-users] AGG vs. GD: Label placement problems

2008-03-18 Thread thomas bonfort
is issue ...) > > J.F. > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of thomas > bonfort > Sent: March 18, 2008 03:42 > Cc: mapserver-users@lists.osgeo.org > Subject: Re: [mapserver-users] AGG vs. GD: Label placement p

Re: [mapserver-users] WMS => GetLegendGraphic : encoding problem

2008-03-19 Thread thomas bonfort
hi, encoding of legend labels was added in 5.0 (http://trac.osgeo.org/mapserver/ticket/2239) you'll have to add an ENCODING UTF8 to your LABEL block in your LEGEND object thomas On Wed, Mar 19, 2008 at 11:13 AM, Sylvain Perrinel <[EMAIL PROTECTED]> wrote: > Hello > I have some problems of encod

[mapserver-users] Re: [mapserver-dev] Build with AGG support at windows

2008-03-27 Thread thomas bonfort
chitecture, but others don't: - your question is how to build on a *windows* platform - the version you're trying to build is *trunk* please keep these recommendations in mind for your next messages. cheers, thomas -- Thomas Bonfort Camptocamp France SAS Tel : +33 (0)4 79 26 57 97 t

Re: [mapserver-users] Label Follows streets alignment issue

2008-03-28 Thread thomas bonfort
Steve, I haven't noticed anything special, nor do I really understand what problem you mention. attached is a test image I used to check. do you see anything wrong in it? could you make a minimal test case to reproduce, or attach an image showing the problem? cheers, thomas -- Thomas Bo

Re: [MAPSERVER-USERS] agg and line widths

2008-03-31 Thread thomas bonfort
to a line layer with no duplicates. cheers, -- Thomas Bonfort Camptocamp France SAS Tel : +33 (0)4 79 26 57 97 thomas dot bonfort at camptocamp dot com http://www.camptocamp.com On Sat, Mar 29, 2008 at 1:22 PM, DNC <[EMAIL PROTECTED]> wrote: > > Hi. > > I'm having trouble ge

Re: [mapserver-users] labeling charts

2008-03-31 Thread thomas bonfort
On Fri, Mar 28, 2008 at 1:59 PM, "Sven Böhme (WhereGroup)" <[EMAIL PROTECTED]> wrote: > Hi list, > > i´d like to add a label to my charts (bar or pie). I´dd like to see the > values of each column. Is this possible? no (not yet?) cheers, -- Thomas Bonfort Camptoca

Re: [MAPSERVER-USERS] agg and line widths

2008-04-02 Thread thomas bonfort
ng polygons with adjacent borders right? > > in this case, each line except the outer ones is drawn twice, and thus > > its final width is larger than what is requested. > > I don't think there's much you can do about it except preprocess your > > data to transform

Re: [MAPSERVER-USERS] agg and line widths

2008-04-02 Thread thomas bonfort
ored, the pattern of your dashes, the scale of your drawing, and a small dose of black magic, dashes will show up well or not ;) note that this isn't agg specific, the gd renderer has the same limitations when using dashes. -- Thomas Bonfort Camptocamp France SAS Tel : +33 (0)4 79 26 57

Re: [mapserver-users] Truetype symbols won't render in AGG png?

2008-04-18 Thread thomas bonfort
can you include your symbol and layer definition please? what version are you using? ms4w , ... ? do you have the possibility of using a locally compiled version from the development branch (ie trunk)? regards, thomas On Fri, Apr 18, 2008 at 2:55 PM, Barend Kobben <[EMAIL PROTECTED]> wrote: > Hi,

Re: [mapserver-users] Truetype symbols won't render in AGG png?

2008-04-18 Thread thomas bonfort
ok, the culprit is CHARACTER "o" try replacing that with CHARACTER 'o' . ... or wait for the 5.2 ms4w binaries, as this bug is fixed there cheers, thomas On Fri, Apr 18, 2008 at 4:05 PM, Barend Kobben <[EMAIL PROTECTED]> wrote: > > can you include your symbol and layer definition please? > > Su

Re: [mapserver-users] AGG Anti-alias & VECTOR sybmol

2008-04-22 Thread thomas bonfort
try SYMBOL NAME "rail_line" TYPE SIMPLE PATTERN 8 4 8 END END along with STYLE SYMBOL"rail_line" WIDTH 3 COLOR250 250 250 END regards, thomas On Wed, Apr 23, 2008 at 5:02 AM, Jackey Cheung <[EMAIL PROTECTED]> wrot

Re: [mapserver-users] AGG Anti-alias & VECTOR sybmol

2008-04-22 Thread thomas bonfort
by the way, seeing your output I don't think that you're using agg. have you correctly set IMAGETYPE AGGA in your mapfile (or use format=AGGA in your url if using mapserv) thomas On Wed, Apr 23, 2008 at 5:02 AM, Jackey Cheung <[EMAIL PROTECTED]> wrote: > Greetings! > > > I've generated a map: http

Re: [mapserver-users] AGG - FORMATOPTION PALETTE

2008-04-24 Thread thomas bonfort
hi, you can send me your rgb.png, I'll have a look, but gdal does "seem" to find an rgba file, as shown by the quadruples printed out ( eg: 17,12,12,255) cheers -- Thomas Bonfort Camptocamp France SAS http://www.camptocamp.com On Thu, Apr 24, 2008 at 3:29 PM, Léveillé, James &l

Re: [mapserver-dev] Re: AW: [mapserver-users] Rendering of Static Text is different usinggd or AGG ?

2008-05-06 Thread thomas bonfort
This should already be fixed in trunk. regards, thomas On Tue, May 6, 2008 at 6:29 PM, Stephen Woodbridge <[EMAIL PROTECTED]> wrote: > Created a bug for this: > http://trac.osgeo.org/mapserver/ticket/2607 > > Schönhammer, Herbert wrote: > > > Hi Steve, > > Hi Jeff, > > > > the workaround of jeff

Re: [mapserver-users] Pattern

2008-05-12 Thread thomas bonfort
The functionality has been freshly implemented in trunk. you get it with SYMBOL TYPE HATCH PATTERN 2 2 END END regards, thomas On Sat, May 10, 2008 at 5:41 PM, Giacomo Sacchetti <[EMAIL PROTECTED]> wrote: > Hi all, > > how I can create dashed HATCH symbols? There are just few lines of > docum

Re: [mapserver-users] AGG vs. GD: Label placement problems

2008-05-12 Thread thomas bonfort
This issue should now be fixed in trunk, if you have time to confirm that would be great! regards, thomas On Tue, Mar 18, 2008 at 2:10 PM, thomas bonfort <[EMAIL PROTECTED]> wrote: > http://trac.osgeo.org/mapserver/ticket/2357 > > > > On Tue, Mar 18, 2008 at 1:05 PM,

Re: [MAPSERVER-USERS] help! agg palette quantize algorithmimperfection

2008-06-10 Thread thomas bonfort
you still need --with-experimental-png thomas On Tue, Jun 10, 2008 at 9:01 AM, Pål Kristensen <[EMAIL PROTECTED]> wrote: > > Hi! > > Is the quantize mechanism for AGG now included as default, or do we still > need to build with the --with-experimental_png set? > > Regards, > Pål Kristensen > > >

[mapserver-users] Re: [mapserver-dev] suppress label shown for each tile

2008-07-06 Thread thomas bonfort
you have to use 5.2 and add PROCESSING "LABEL_NO_CLIP=1" to the layers where you want this behavior thomas On Sun, Jul 6, 2008 at 1:51 PM, SUSANNE <[EMAIL PROTECTED]> wrote: > > Hallo, > Please could somenbode tell me how I can suppress labels shown for each > tile, when an object extends accross

Re: [mapserver-users] Compiling Issues: Ubuntu 8.04 -- libgd and gdFontCacheSetup

2008-07-18 Thread thomas bonfort
hi, have you installed the libgd development packages ? # apt-get install libgd-dev thomas On Sat, Jul 19, 2008 at 1:26 AM, Matthew Pettis <[EMAIL PROTECTED]> wrote: > Hi All, > > This still fails... below is my configuration parameter setup and the > output of configure are below... any suggest

Re: [mapserver-users] MapServer Version 5.2.0 Source Released

2008-07-21 Thread thomas bonfort
Yes, that patch won't apply on 5.2 as there have been substantial changes in that code. You'll have to manually merge it (the logic is the same). The function you're looking for is msDrawLineSymbolAGG -- thomas On Mon, Jul 21, 2008 at 5:26 PM, Steve Lime <[EMAIL PROTECTED]> wrote: > As far as I k

Re: [mapserver-users] Again: Some Problems with WMS-GetLegendGraphic using aggand pixmaps

2008-07-23 Thread thomas bonfort
Hi, what you mean is that the key image isn't scaled, as it is with GD ? If so, can you open a bug for this issue, and assign it to me (tbonfort) thanks, -- Thomas Bonfort Camptocamp France SAS http://www.camptocamp.com On Wed, Jul 23, 2008 at 1:43 PM, Schönhammer, Herbert <[EMAIL P

[mapserver-users] [Announce] A webapp for geodata management and dynamic mapping

2008-07-30 Thread thomas bonfort
://geoadminsuite.org with a few documentation and how-to's. The purpose of this publication is mostly for having advice from developpers or potentially interested users. Feel free to post any comment you like to help us go forward on this project. Cheers, The Camptocamp Team -- Thomas Bonfort Campt

[mapserver-users] Re: [Announce] A webapp for geodata management and dynamic mapping

2008-07-30 Thread thomas bonfort
sorry, the url was wrong: http://www.geoadminsuite.org On Wed, Jul 30, 2008 at 4:26 PM, thomas bonfort <[EMAIL PROTECTED]> wrote: > Camptocamp (http://camptocamp.com) has initiated the development of a > new project which aims to manage geographic data and assist users to > cr

Re: [mapserver-users] Fractional line widths?

2008-08-30 Thread thomas bonfort
Sorry for not hopping into the thread earlier, blame holidays :) For the time being, you can achieve similar output with mapserver 5.2, by using the OPACITY keyword at the style level STYLE COLOR r g b OPACITY 50 # essentially the same as WIDTH 0.5 WIDTH 1 END cheers, thomas On Tue, Aug 19,

Re: [mapserver-users] Spam: odd behaviour with labels using AGG

2008-09-01 Thread thomas bonfort
can you link to a screenshot of the problem please? also could you try with the trunk version, or apply the patch of http://trac.osgeo.org/mapserver/ticket/2756 and report if that fixes the problem cheers, thomas On Mon, Sep 1, 2008 at 5:08 PM, Rodriguez, Heraldo <[EMAIL PROTECTED]> wrote: > Hi ev

Re: [mapserver-users] rotation of vector symbol

2008-09-17 Thread thomas bonfort
it's a known problem http://trac.osgeo.org/mapserver/ticket/2671 cheers, thomas On Wed, Sep 17, 2008 at 10:26 AM, Alberto Poggi <[EMAIL PROTECTED]> wrote: > Hi. > Let me tell you about an issue of rotation of the vector symbols. I > found that in mapserver the rotation of these symbols does not f

Re: [mapserver-users] Color filled transparent polygons

2008-09-25 Thread thomas bonfort
yes, from version 5.2 AND with AGG output, you can obtain this by setting the OPACITY keyword at the STYLE level. cheers, thomas On Thu, Sep 25, 2008 at 11:20, Reinoud Bokhorst <[EMAIL PROTECTED]> wrote: > Hi, > I have a PostGIS table with about 12000 polygons scattered around the globe. > The po

Re: [mapserver-users] Re: Crispness of road edge

2008-09-28 Thread thomas bonfort
hi, the output you're showing has been rendered with gd, not agg. make sure openlayers is calling your wms server with your agg outputformat, by adding a format: 'agg' to your layer options. ps: the "antialias true" keywords are not necessary when using agg cheers, thomas On Thu, Sep 11, 2008 at

Re: [mapserver-users] Including a variable title on a map?

2008-09-29 Thread thomas bonfort
try with &map.layer[fid].feature[0]=TEXT+AS1 -- thomas On Sun, Sep 28, 2008 at 23:08, Robert Sanson <[EMAIL PROTECTED]> wrote: > OK - thanks for the hints. I can now get a static string on my map as > annotation, but I am still struggling to modify this via the URL. My map > file snippet is:

Re: [mapserver-users] cartographic lines in mapserver

2008-10-01 Thread thomas bonfort
try this: SYMBOL NAME "line_11" TYPE TRUETYPE FONT "esri_11" CHARACTER "#" GAP -1 END -- thomas On Wed, Oct 1, 2008 at 15:31, Raivo Alla <[EMAIL PROTECTED]> wrote: > Hi! > > I'm quite in trouble trying to describe complex symbols. The problem is for > example with this kind of line: > ht

Re: [mapserver-users] cartographic lines in mapserver

2008-10-01 Thread thomas bonfort
handle such lines more decently;) > I mean, there could be an option to make that polyline transition smoother. > Maybe utopian. > > Raivo > > On Wed, Oct 1, 2008 at 4:54 PM, thomas bonfort <[EMAIL PROTECTED]> > wrote: >> >> try this: >> SYMBOL &

Re: [mapserver-users] Raster alignment problem

2008-10-09 Thread thomas bonfort
there's no subpixel positioning for rasters by default, so for coarse rasters like the one you're showing, you can force that by adding a PROCESSING "resample=nearest" to your raster layer thomas On Thu, Oct 9, 2008 at 16:20, Graham Carlyle <[EMAIL PROTECTED]> wrote: > Hi > > I'm trying to render

Re: RE : [mapserver-users] Symbol...

2008-10-16 Thread thomas bonfort
this should do it: SYMBOL NAME dash PATTERN 3 3 END TYPE SIMPLE END STYLE COLOR 0 0 0 WIDTH 1 END STYLE SYMBOL dash WIDTH 1 COLOR 0 0 0 OFFSET 3 -99 END -- thomas 2008/10/16 Paul james <[EMAIL PROTECTED]>: > Thanks, but It does not help me in that case... > > > 2008/10/16 Léveillé, James

Re: [mapserver-users] Symbol rendering performance (image x vector xfont)

2008-10-21 Thread thomas bonfort
Note that there's no caching in place for truetype/vector/ellipse symbols with the agg renderer. As always, there's no better way than to try out the different options in your environment to see what suits your needs best, as there's no single answer to your performance requirements (it will depend

Re: [mapserver-users] Symbol rendering performance (image x vectorxfont)

2008-10-21 Thread thomas bonfort
On Tue, Oct 21, 2008 at 22:01, Steve Lime <[EMAIL PROTECTED]> wrote: > Could we mimic the cache used for GD? It's homegrown... conceptually there's no problem to add the same kind for cache for agg in practice, two points come to mind: * the caching mechanism for agg doesn't fit in smoothly with t

Re: [mapserver-users] Is OUTLINEWIDTH implemented for labels?

2008-10-24 Thread thomas bonfort
yes it's in 5.2, but only for the agg renderer stick with outlinewidths like 3,4 or 5 though -- thomas On Fri, Oct 24, 2008 at 23:00, Roger André <[EMAIL PROTECTED]> wrote: > Hi, > > Just a quick question about whether this option has been added? I'm trying > to use it in a map, and although i's

Re: [mapserver-users] AGG and cartoline trap

2008-11-04 Thread thomas bonfort
you can get that with a truetype or vector symbol SYMBOL NAME 'rail' TYPE TRUETYPE FONT arial CHARACTER '|' GAP -20 END then STYLE COLOR 0 0 0 WIDTH 1 END STYLE COLOR 0 0 0 SIZE 8 SYMBOL 'rail' END cheers, thomas On Tue, Nov 4, 2008 at 08:45, Raivo Alla <[EMAIL PROTECTED]> wrote: > H

Re: [mapserver-users] Adding symbols on top of polyline elements

2008-11-10 Thread thomas bonfort
> By ordered data you mean the direction in this case is A->B? yes > If I wanted to reverse the direction I'd have to write the data to the > shapefile in the order B->A? or add a field in your shapefile for that feature, eg reverse=true. you'd then have mapserver draw the < symbol for features wh

Re: [mapserver-users] Adding symbols on top of polyline elements

2008-11-10 Thread thomas bonfort
Hi, for repeated arrow symbols, you can use a truetype (or image, or vector) symbol, with a negative GAP: SYMBOL NAME oneway TYPE TRUETYPE CHARACTER '>' FONT arial GAP -20 END and then in your layer: STYLE SYMBOL oneway SIZE 8 COLOR 0 0 0 END cheers, thomas On Mon, Nov 10, 2008 at 10:

Re: [mapserver-users] Adding symbols on top of polyline elements

2008-11-10 Thread thomas bonfort
and B? If I > understand this, I can create another symbol and use it for the reverse > path. > > Thanks, > Adrian > > thomas bonfort wrote: > > Hi, > > for repeated arrow symbols, you can use a truetype (or image, or > vector) symbol, with a negative GAP: > &

Re: [MAPSERVER-USERS] Pass parameters to mapfile

2008-11-11 Thread thomas bonfort
you'd use something like this: * in your mapfile: DATA "the_geom from ( select * from customised_point AS f where user_id='%userid%' AND f.subcat_id IN (select subcat_id from subcat_info where maincat_id =0))AS foo USING UNIQUE gid" you can add a regular expression for validating the %userid% str

Re: [mapserver-users] Adding symbols on top of polyline elements

2008-11-12 Thread thomas bonfort
Hi, > Case 3: displaying both arrows on the same element: > CLASS > NAME "Right" > EXPRESSION /^FO040314$/ > STYLE > SYMBOL right > SIZE 24 > COLOR 51 102 0 > END >END >CLASS > NAME "Left" > EXPRESSION /^FO040314$/ > STYLE > SYM

Re: [mapserver-users] Adding symbols on top of polyline elements

2008-11-13 Thread thomas bonfort
t; > I will try a workaround by creating a third symbol with both arrows on top > of it >< > > Thanks, > > thomas bonfort wrote: > > Hi, > > > > Case 3: displaying both arrows on the same element: > CLASS > NAME "Right" >

Re: [mapserver-users] Mapserver segfaulting

2008-11-18 Thread thomas bonfort
the shipped gcc with 8.10 does not play nice with mapserver and gdal. Try setting your compile optimisation flag to -O0 and -O2 to see if this fixes the segfault. -- thomas On Wed, Nov 19, 2008 at 02:17, Frank Warmerdam <[EMAIL PROTECTED]> wrote: > Sam Ingarfield wrote: >> >> G'day; >> >> I am ha

Re: [mapserver-users] Failed to show Arabic labels with MapServer 5.2

2008-11-20 Thread thomas bonfort
ar as I know this feature does not exist in Mapserver at the >> moment, so it would have to be requested. >> >> Tanya >> >> >> >> On Tue, Nov 18, 2008 at 12:14 PM, Stephen Woodbridge >> <[EMAIL PROTECTED]> wrote: >>> Jackey, >>> &

Re: [mapserver-users] agg support and accents umlauts

2008-12-05 Thread thomas bonfort
> This means that AGG has no ability whatsoever to deal with non-standard > non-ASCII characters such as ä,ü, §, ß ? Is it really impossible to > render vowels with accents, Umlauts, Sharp-S and so on with AGG? Then > why has AGG been included into the mapserver distribution in the first > place? [

Re: [mapserver-users] agg support and accents umlauts

2008-12-08 Thread thomas bonfort
> On Solaris truetype fonts aren't included by default but have to be > installed manually as well. > And I didn't find much end user documentation on the internet dealing > with installing and configuring mapserver with agg support at all. (I > doubt that many users have got it to work or let alon

Re: [mapserver-users] Re: Adding a buffer symbol

2008-12-08 Thread thomas bonfort
> At the moment I am just using the CGI mapserver. I was wondering if this can > be done or ben achieved using Labels and symbols? but if needs be then I > guess either javascript or php would be used to do this. you could do that using a special layer in your mapfile, and using url parameters to

Re: [mapserver-users] AGG renderer and paletted RGBA PNG's

2008-12-08 Thread thomas bonfort
mapserver version, mapfile, screenshots? -- thomas On Mon, Dec 8, 2008 at 23:46, Roger André <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm seeing a problem in some of my raster data which have graduated color > ramps in them. When using the AGG renderer, the data appears to have > discreet colors

Re: [mapserver-users] Scalebar vs Numeric scale

2008-12-08 Thread thomas bonfort
and now what happens if you're using a projector ? could you please factor in the distance to the screen and the field of view of the projector :) just to say how scale is meaningless for pixel maps in an uncontrolled environment. nice hack by the way, but I'm not sure even your OS knows how many

Re: [mapserver-users] displaying line starting and ending points

2008-12-10 Thread thomas bonfort
a couple of links: http://trac.osgeo.org/mapserver/browser/trunk/msautotest/misc/rfc48.map http://trac.osgeo.org/mapserver/browser/trunk/msautotest/misc/expected/rfc48.png On Wed, Dec 10, 2008 at 16:02, thomas bonfort <[EMAIL PROTECTED]> wrote: > rfc48 has just entered the mapserver t

Re: [mapserver-users] displaying line starting and ending points

2008-12-10 Thread thomas bonfort
rfc48 has just entered the mapserver trunk, and will be present in 5.4 to apply a style block to just the start point, you'd use something like STYLE GEOMTRANSFORM "start" SYMBOL "mysymbol" SIZE ANGLE AUTO #to orient the symbol along the first segment END you also get the "end" and "ver

Re: [MAPSERVER-USERS] Serving jpeg tiles - is there a howto?

2008-12-14 Thread thomas bonfort
hi, the "easiest" way imho would be to create a custom batch script that creates wld georeferencing files for each of your jpegs: - use grep on the file name to extract the upper left coordinate (minx, maxy) - calculate the size of a single pixel (either from the image size and extent, or hardcode

Re: [mapserver-users] How to get data based on Date in Postgresql/PostGIS

2008-12-14 Thread thomas bonfort
try DATA the_geom from (select id,the_geom from pointlayer where date='12/2/2008') as foo using unique id using srid= -- thomas On Mon, Dec 15, 2008 at 06:32, Venkat Rao Tammineni wrote: > Dear All, > > > > I want get data based on Date. When I run query select * from > PointLayer wher

[mapserver-users] Re: AGG OUTPUTFORMAT Question

2008-12-17 Thread thomas bonfort
Steve, you have the undocumented FORMATOPTION QUANTIZE_NEW=yes that uses the median cut quantization algorithm which is slower but much better than the GD one. Still no guarantee your tiles will have exactly the same colors, although in practice this seems to be the case. keep me in touch with yo

[mapserver-users] Re: AGG OUTPUTFORMAT Question

2008-12-17 Thread thomas bonfort
tiles with pngnq: for file in `find tilecache/mylayer -name "*.png"`; do echo $file; pngnq -e .png.tmp -n 256 $file; mv $file.tmp $file; done On Wed, Dec 17, 2008 at 20:56, thomas bonfort wrote: > Steve, > you have the undocumented FORMATOPTION QUANTIZE_NEW=yes that

Re: [mapserver-users] thin lines in SVG format (size < 1) (and float size values)

2008-12-17 Thread thomas bonfort
José, the svn version of mapserver (what will be mapserver 5.4) comes with size and widths unrounded in the the style object. Please post your patch to mapsvg.c in the trac bugtracker so it can be incorporated alongside in 5.4 regards, thomas On Wed, Dec 17, 2008 at 20:58, José María Michia wro

Re: [mapserver-users] Trying to get GeoWebCache to work with MapServer

2008-12-17 Thread thomas bonfort
what are the exact urls called by geowebcache? (from your apache logs) I'd suspect a typo in your wms definition, given the stray "?" in your error message. eg: http://server/cgi/mapserv/map=path/to/map instead of http://server/cgi/mapserv?map=path/to/map regards, thomas On Wed, Dec 17, 2008 at

Re: [mapserver-users] LAYER LABEL ANGLE Calculation Problem

2008-12-27 Thread thomas bonfort
you can let postgres calculate the angle for you: DATA "geom FROM (select geom, toid, orientation/10-90 as orientation from cartographictext) as foo USING UNIQUE toid" and then use angle [orientation] in your label regards, thomas On Fri, Dec 26, 2008 at 18:36, Donald Kerr wrote: > I am looki

Re: [mapserver-users] MapServer Symbol Conversion from Polyline Points

2008-12-29 Thread thomas bonfort
hi, On Mon, Dec 29, 2008 at 11:59, Donald Kerr wrote: > the maximum number of points that can be used by default it's 100. you can change the MS_MAXVECTORPOINTS constant in mapsymbol.h to change that limit. > and the highest positive/negative numbers that can be used. > I believe that "-99" wor

Re: [mapserver-users] MapServer Symbol Conversion from Polyline Points

2008-12-29 Thread thomas bonfort
On Mon, Dec 29, 2008 at 13:58, Donald Kerr wrote: > Thomas, > > Thanks for your prompt reply. > >>> If I take just part of the above then it still doesn't work: >>> >>> SYMBOL >>>NAME 'boulderGeometry' >>>TYPE VECTOR >>>FILLED FALSE >>>POINTS >>>-0.1

Re: [mapserver-users] Image not rendered on large monitors.

2008-12-30 Thread thomas bonfort
hi, set maxsize to something bigger, eg 4096 regards, thomas On Tue, Dec 30, 2008 at 11:45, Subha Ramakrishnan wrote: > Hi, > > We have built a map based web portal using Openlayers and Mapserver 5.0.2. > We have multiple layers being rendered using Mapserver. > But we are facing an issue here.

Re: [mapserver-users] MapServer Website Migration

2008-12-30 Thread thomas bonfort
On Tue, Dec 30, 2008 at 02:41, Bob Basques wrote: > All, > > Hey, is there a link to the mapfile being used for the OpenStreetMap data in > the map. > > It isn't ready for publication yet. It will be soon though. thomas ___ mapserver-users mailing list

Re: [mapserver-users] question

2008-12-30 Thread thomas bonfort
hi, add GAP -20 to your symbol definition, for a 20 pixel gap between arrows regards, thomas On Tue, Dec 30, 2008 at 14:03, Valeria Muñoz wrote: > Hi > I have problems with symbol, this is my code: > > #Oneway nivel 4 > LAYER > NAME 'calle' > MAXSCALE 5000 > TYPE LINE > DATA 'calle.shp'

Re: [mapserver-users] question

2008-12-30 Thread thomas bonfort
you've probably left an ANGLE in your style block, no ? On Tue, Dec 30, 2008 at 14:51, Valeria Muñoz wrote: > thank thomas, but now i have other problem, the arrow don't follow the line > can you help me please? > attach image of the map.. > 2008/12/30 thomas bonfort >&

Re: [mapserver-users] Rotated TrueType Point Symbols - Issue

2009-01-02 Thread thomas bonfort
TYLE > END # CLASS > > SYMBOL >NAME 'benchMarkSymbol' >TYPE TRUETYPE >FONT OSMasterMapSymbols >FILLED false >ANTIALIAS true >CHARACTER '7' > END # SYMBOL > > The question is, am I doing something

Re: [mapserver-users] FORMATOPTION "PALETTE_FORCE=TRUE" problem

2009-01-06 Thread thomas bonfort
are you calling this with a transparent=true ?? in that cas, your palette file should be a list of quadruplets (r,g,b,a) (and it would be better to have an outputformat with imagemode rgba, and use that one instead of passing transparent=true) thomas On Tue, Jan 6, 2009 at 15:56, paalkr wrote: >

Re: [mapserver-users] Rotated TrueType Point Symbols - Issue

2009-01-06 Thread thomas bonfort
sorry for the late answer, > To be honest, I don't know if this is the latest or not and I don't really > know what "trunk code" is :( it's the latest version from svn > So, I suppose my questions are still the same i.e. do I have to recompile > using the latest code? Yikes! yes, you'd need to re

Re: [mapserver-users] Color palette for road-like layers

2009-01-07 Thread thomas bonfort
there are also some planned features to simplify that syntax. (this is how the mapfile to generate the map on the mapserver fron page is written). mapserver code: http://svn.osgeo.org/mapserver/sandbox/graphics (sticking with revision 8254 unless you want to feel daring) mapfile excerpt: http://

Re: [mapserver-users] FORMATOPTION "PALETTE_FORCE=TRUE" problem

2009-01-07 Thread thomas bonfort
d the effect of adding this to the outputformat be? outputformat with rgba: * used when a transparent background is needed * references a palette with r,g,b,a quadruplets outputformat with rgb: * used when transparency isn't needed * references a palette with r,g,b triplets regards, thomas

Re: [mapserver-users] MapServer 5.2.1 and AGG/PNG - too thick lines in the grid

2009-01-07 Thread thomas bonfort
that's what antialiasing is supposed to do, as your 1 pixel wide grid doesn't fall exactly on a pixel. I don't think there is a workaround. regards, thomas On Mon, Jan 5, 2009 at 13:28, Maximsu wrote: > > I have very thick lines in the grid layer when i use agg/png driver. See the > map http://

Re: [mapserver-users] Map File for Open Street Map symbology

2009-01-07 Thread thomas bonfort
http://code.google.com/p/mapserver-utils/source/browse/trunk/ you'll need the code from the mapserver graphics sandbox (rev 8254 is preferred as it doesn't have the cairo code in it yet) regards, thomas On Thu, Jan 1, 2009 at 20:28, Gregor at HostGIS wrote: > maxphe...@netscape.net wrote: >> >>

Re: [mapserver-users] Rotated TrueType Point Symbols - Issue

2009-01-08 Thread thomas bonfort
o you know when the next incremental MapServer release might be cut? > 5.2.2? > > Thanks, > > David. > > -Original Message- > From: mapserver-users-boun...@lists.osgeo.org > [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of thomas > bonfort > Sent: W

Re: [mapserver-users] MapServer 5.2.1 and AGG/PNG - too thick linesin the grid

2009-01-08 Thread thomas bonfort
it will be available in the next major release (i.e. 5.4 or 6.0 depending on what it gets called). It will not be in 5.2.2. regards, thomas On Thu, Jan 8, 2009 at 10:41, Maxim Savchenko wrote: > > Do you know is this option will be available in the next version? > > > Steve Lime wrote: >> >> If

Re: [mapserver-users] Rotated TrueType Point Symbols - Issue

2009-01-08 Thread thomas bonfort
just backported to the 5.2 branch. Now for some nagging to release 5.2.2 :) thomas On Thu, Jan 8, 2009 at 14:29, Donald Kerr wrote: > Sooner rather than later would be better for me :) > > Regards, > > Donald > > -Original Message- > From: thomas bonfort [mailto:

Re: [mapserver-users] Map File for Open Street Map symbology

2009-01-13 Thread thomas bonfort
Hi Steve, On Tue, Jan 13, 2009 at 20:12, Stephen Woodbridge wrote: > thomas bonfort wrote: >> >> http://code.google.com/p/mapserver-utils/source/browse/trunk/ >> >> you'll need the code from the mapserver graphics sandbox (rev 8254 is >> preferred as it

Re: [mapserver-users] SLD and antialiasing

2009-01-23 Thread thomas bonfort
I don't have an answer to your antialiasing keyword with the gd driver you are using, however you could switch to the agg renderer which antialiases by default: http://81.10.192.123:443/cgi/stat?LAYERS=stat&REASPECT=false&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS

Re: [mapserver-users] mapserver-tilecache DRIVER "AGG/PNG"

2009-01-28 Thread thomas bonfort
hi, you could try specifically adding the agg outputformat to your wms url: url=http://192.168.51.166/cgi-bin/mapserv.exe?map=c:/ms4w/Apache/htdocs/mapFile/mapas/iv_region_wms_d02.map&format=aggpng24 cheers, thomas On Fri, Jan 23, 2009 at 14:17, Valeria Muñoz wrote: > hi! > > I have problems

Re: [mapserver-users] Python mapscript, cStringIO, and the AGG renderer

2009-02-01 Thread thomas bonfort
> I'm having problems using the AGG renderer with Python mapscript. what version of mapserver, and exactly what problem? regards, thomas ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-u

Re: [mapserver-users] Different SIZEUNITS for line width and label fontsize

2009-02-03 Thread thomas bonfort
scale used. > > This isn't a bad solution at all but I wanted to see if there is away to > prevent the labels scaling at all within the same layer definition as the > scalable (real-world sized) lines. > > Thanks, > Vladimir > > > thomas bonfort wrote: >>

Re: [mapserver-users] Different SIZEUNITS for line width and label fontsize

2009-02-03 Thread thomas bonfort
hi, you can use minsize and maxsize in your label: these are always pixels: size 8 minszie 8 maxsize 8 regards, thomas On Tue, Feb 3, 2009 at 12:17, Vladimir Cvejanovic wrote: > Hi All, > > In the Mapfile, Is it possible to have different SIZEUNTIS for line width > and label font in the same la

Re: [mapserver-users] Using IMAGECOLOR to create a transparency mask

2009-02-05 Thread thomas bonfort
On Thu, Feb 5, 2009 at 14:43, Glenn Waldron wrote: > Stephen, > > However, I am trying to > get the pixels in the final composited image to be completely transparent. > There's no way you can set pixels to become transparent once the image is saved with the AGG outputformat. regards, thomas ___

Re: [mapserver-users] Using IMAGECOLOR to create a transparency mask

2009-02-05 Thread thomas bonfort
ail.com>, Glenn >> Waldron >> wrote: >> > Hi Thomas, >> > >> > In that case maybe I am misunderstanding the purpose of IMAGECOLOR. What >> > is >> > it supposed to do, if not make all pixels of the specified color >> > transparent

Re: [mapserver-users] Map File for Open Street Map symbology

2009-02-06 Thread thomas bonfort
I've created a wiki page with (I hope) a step by step tutorial for rendering OSM data with mapserver. enjoy it (or hate it) here: http://trac.osgeo.org/mapserver/wiki/RenderingOsmData best regards, thomas On Thu, Jan 1, 2009 at 17:26, wrote: > Anyone have a mapfile with the symbology correspon

Re: [mapserver-users] Map File for Open Street Map symbology

2009-02-07 Thread thomas bonfort
On Sat, Feb 7, 2009 at 12:57, Lars Lingner wrote: > Rahkonen Jukka schrieb: >> Lars Lingner wrote: >> >> >> >>> I see that you also had to rename the column "natural". As this is an >>> reserved name by postgres, is there an way to use such a name in an >>> mapserver expression? >>> Although renam

Re: [mapserver-users] symbol problem

2009-02-09 Thread thomas bonfort
upgrading to 5.2.x should fix this. I'm surprised you're having this problem again as you posted the same message in december and noted that you had solved the problem. regards, -- thomas On Mon, Feb 9, 2009 at 18:34, Valeria Muñoz wrote: > mapserver version is 5.0.2 . > > RG > > 2009/2/9 Fawc

Re: [mapserver-users] How can I do a SQL text comparison in a mapfile?

2009-02-12 Thread thomas bonfort
I don't see why you're a problem with that query string. From my experience, there's a limitation when you need to mix single and double quotes inside the sql expression. eg: DATA "way from (select way,osm_id ,leisure , landuse, name from osm_polygon where leisure='park' or leisure='golf_course'

Re: [mapserver-users] Selective Background Transparency with Labels

2009-02-13 Thread thomas bonfort
If I correctly understand what you're trying to do, then no, this is not possible with mapserver, as this would require recovering the pixels that have been overdrawn by the line. regards, thomas On Fri, Feb 13, 2009 at 15:14, Bill Thoen wrote: > Is there a way to set a LABEL BACKGROUNDCOLOR to

Re: [mapserver-users] Selective Background Transparency with Labels

2009-02-13 Thread thomas bonfort
> You would need something like GeoMoose or openlayers to view the stack though. > > bobb > > > >>>> thomas bonfort 02/13/09 8:37 AM >>> > If I correctly understand what you're trying to do, then no, this is > not possible with mapserver, as this wou

Re: [mapserver-users] Problem with Tiled wms Size

2009-02-18 Thread thomas bonfort
the keyword is MAXSIZE regards, thomas On Wed, Feb 18, 2009 at 17:01, Smith, Michael ERDC-CRREL-NH wrote: > David, > > Try adding a MAPSIZE value to your mapfile, eg MAPSIZE 4096 (to allow up to > 4096x4096 size image). > > Mike > > > -- > Michael Smith > Remote Sensing GIS Center > CRREL - ERDC

Re: [mapserver-users] Pyhton mapscript import error

2009-02-28 Thread thomas bonfort
hi, you should get going by adding MIMETYPE image/png to your agg outputformat bloc, or by explicitely calling your agg outputformat by its name in your tilecache requests (ie. format=aggpng24) regards, thomas On Sat, Feb 28, 2009 at 11:48, gautamvs wrote: > > Hi > As I checked the Tilecache cod

Re: [mapserver-users] Pyhton mapscript import error

2009-03-01 Thread thomas bonfort
mapserver version and your outputformat bloc please. -- thomas On Mon, Mar 2, 2009 at 07:19, gautamvs wrote: > > Hi Thomas and Chris > > Thanks for the feedback. I tried with 'MIMETYPE image/png' in AGG output > block. Its working now. I am able to get the png antialiase images using > Tilecache

Re: [mapserver-users] Pyhton mapscript import error

2009-03-01 Thread thomas bonfort
sorry, saw you're using 5.2.1 in the first post. you must configure mapserver with --with-experimental-png for png8 to work with transparency -- thomas On Mon, Mar 2, 2009 at 07:23, thomas bonfort wrote: > mapserver version and your outputformat bloc please. > > -- > thomas

Re: [mapserver-users] Mapserver images doesn't fit well on a tiling scheme???

2009-03-03 Thread thomas bonfort
a 1x1 one : metaTile=true metaSize=3,3 metaBuffer=10 * set a 10 pixel edge buffer in mapserver (so no labels are rendered in the 10 pixels on the edges of the image) : WEB METADATA labelcache_map_edge_buffer "-10" END END * use PARTIALS FALSE in all your label blocks --

Re: [mapserver-users] AGG FORMATOPTION "PALETTE_FORCE=TRUE" - transparent background

2009-03-05 Thread thomas bonfort
et instead of a quadruplet (should be 0,0,0,0) On a side note, your 230,230,230,0 isn't usefull, as it corresponds to 0,0,0,0 , thus eating up a entry in your generated palette (and palette entries in rgba mode are very expensive :) ) -- Thomas Bonfort CampToCamp On Thu, Mar 5, 2009 at 10:29

[mapserver-users] Re: [mapserver-dev] LABEL OUTLINEWIDTH - works or not?

2009-03-06 Thread thomas bonfort
On Fri, Mar 6, 2009 at 15:58, S. Constantinescu wrote: > > Hi everybody, I need to find out if LABEL OUTLINEWIDTH is implemented or NOT, > and if it is, how can I test if it's working. Source files show it is, but > using the AGG renderer doesn't appear to modify the 1px width of the halo > around

Re: [mapserver-users] cartographic symbol construction with mapserver

2009-03-12 Thread thomas bonfort
hi. the orientation of the symbol depends on the orientation of the underlying line, so to have all your triangles oriented inwards, you have to ensure that all your polygons are digitized with same orientation (i.e. clockwise or anticlockwise). hope this helps, -- thomas bonfort camptocamp On

Re: [mapserver-users] MapServer 5.4 Beta 3 is now available...

2009-03-15 Thread thomas bonfort
Tony, the 5.4 codebase has been branched, and the code in trunk is now milestoned for the 6.0 version, so these kind of changes aren't unexpected given the rendering changes that will come with the new version. as for the the legend issue you raised, could you please show your mapfile legend bloc

  1   2   3   4   5   6   7   8   9   >