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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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,
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
>
>
>
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
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
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
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
://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
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
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,
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
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
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
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
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:
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
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
&
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
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
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
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
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
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
> 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
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:
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:
>
&
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
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
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"
>
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
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,
>>>
&
> 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?
[
> 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
> 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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'
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
>&
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
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:
>
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
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://
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
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://
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:
>>
>>
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
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
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:
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
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
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
> 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
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:
>>
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
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
___
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
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
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
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
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'
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
> 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
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
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
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
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
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
--
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
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
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
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 - 100 of 870 matches
Mail list logo