legends are drawn with agg to. please post the relevant sections of
your mapfile to see what could be going wrong.
regards,
thomas
On Feb 6, 2008 6:51 PM, Hunter, David - St. Louis Park, MN
[EMAIL PROTECTED] wrote:
While experimenting with AGG, it appears that the legend is still drawn
if your trying to get hatching, you should probably be going with the
hatch symbol.
if not, could you post your layer definition and a screenshot of what
you're getting
regards,
thomas
On Feb 6, 2008 6:56 PM, Hunter, David - St. Louis Park, MN
[EMAIL PROTECTED] wrote:
When I use
SYMBOL
SYMBOL line-horizontal
COLOR 102 102 102
OUTLINECOLOR 102 102 102
SIZE 2
END
END
Attached are sample maps produced with AGG and GD.
-Original Message-
From: thomas bonfort [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 06, 2008 1:11 PM
To: Hunter
On Feb 6, 2008 8:38 PM, Bob Basques [EMAIL PROTECTED] wrote:
I don't think that BITMAP fonts are supported for AGG,
they are supported in trunk (i.e. what will be 5.2)
hi Flavio,
can you double check you're not using quantization or palette_force?
I don't experience the problem you're pointing out if using plain png output.
cheers,
thomas
On Feb 7, 2008 7:56 AM, Flavio Hendry [EMAIL PROTECTED] wrote:
Hi Thomas / Group
Using PNG Output using AGG, the map
(this can
also be modified with the ANGLE parameter, eg to rectify an arrow
pointing 90 degrees off)
regards,
thomas
On Jan 22, 2008 7:46 PM, rich.fromm [EMAIL PROTECTED] wrote:
thomas bonfort wrote:
try
GAP -5
regards,
thomas
Indeed, GAP -5 preserves the angle properly, while GAP 5 does
Pattern has no effect on symbology, it's only used for drawing dashed
solid lines.
vector should show up however.
what's your symbol definition and your corresponding STYLE block ?
tb
On Jan 22, 2008 8:30 PM, rich.fromm [EMAIL PROTECTED] wrote:
tbonfort wrote:
you're right the documentation
coming back again at my angle follow question...
the layers you request, ie main and/or basemap are layer groups right,
not just single layers. can you make sure that angle follow is
disabled for *all* layers in the corresponding group.
just checking 'cause there was a recently fixed problem here
strange...
what version of mapserver are you using?
can you (temporarily) turn off the angle follow of your labels and
report if you're still having the same output problems
thomas
On Jan 16, 2008 8:03 PM, Lee Keel [EMAIL PROTECTED] wrote:
sorry, I hit enter before I meant to
You can view
palette_force and quantize_force are mutually exclusive, in the sense
that only one of them is applied (depending on which comes first in
the mapserver code)
* quantize_force is more flexible as it doesn't need to create a
palette beforehand, but different colors can be seen from one map to
that's how the agg antialiasing works, I'm sorry but I don't think
there's a way to avoid that. As david points out, the effect is
amplified if the feature is drawn mutiple times, eg with adjacent
outlined polygons.
you can observe the same kind of output on all webmaps.
hi all,
I committed the implementation to enable forced palette and color
reduction via quantization for RGBA images. These options greatly
reduce image size for png output when using IMAGEMODE RGBA.
the tracking ticket is http://trac.osgeo.org/mapserver/ticket/2436 ,
which contains examples of
There are still some little things like the centering of the numbers in the
highway shield, as in they moved a pixel or two to the left in the AGG
output.
that's a known issue: http://trac.osgeo.org/mapserver/ticket/2357
it'll hopefully be fixed in 5.2 or later, as for the time being
there's
will file a big report.
thomas bonfort wrote:
I'm guessing this has to do with using negative values in your vector
points.
this looks like an agg rendering, what kind of output do you get using gd?
could you file a bug report on this please?
thanks,
thomas
On Dec 14, 2007 7:16 PM
hi
bug http://trac.osgeo.org/mapserver/ticket/2436 addresses this issue
and should be included in 5.2
regards,
thomas
On Dec 19, 2007 8:27 AM, Pål Kristensen [EMAIL PROTECTED] wrote:
Hi!
The AGG renderer it self can not produce 8bit output, but as stated in the
RFC GD is actually used to
I'm guessing this has to do with using negative values in your vector points.
this looks like an agg rendering, what kind of output do you get using gd?
could you file a bug report on this please?
thanks,
thomas
On Dec 14, 2007 7:16 PM, Kyle Wilcox [EMAIL PROTECTED] wrote:
My symbol is defined
are you using a paletted outputformat (i.e. gif) ?
if so there's a bug that was found
http://trac.osgeo.org/mapserver/changeset/7036/trunk/mapserver/mapchart.c
you basically have to change all occurences of gdImageColorAllocate to
gdImageColorResolve in mapchart.c
cheers,
tb
On Dec 12, 2007
Gregor,
quantization is poorly supported for rgba images, you'll have to use
24bit pngs in that case.
thomas
On Dec 5, 2007 9:19 PM, Gregor Mosheh [EMAIL PROTECTED] wrote:
I'm having some rendering glitches with Mapserver 5.1-dev
Go to http://69.59.158.8/ and let the map load.
There is no
Gregor,
this is a known bug in 5.0, and recently fixed in SVN. It'll be included in 5.2.
cheers,
thomas
On Dec 5, 2007 3:18 AM, Gregor Mosheh [EMAIL PROTECTED] wrote:
Since the switch from MS4+GD to MS5+AGG every layer being rendered with
a true type font for an icon is being displayed with the
yes its a bug that will be fixed in 5.0.1.
for the time being you can replace maplegend.c in your source tree by this one:
http://trac.osgeo.org/mapserver/browser/branches/branch-5-0/mapserver/maplegend.c?format=raw
and recompile.
thomas
On Nov 30, 2007 3:06 PM, Matthias Schuermann [EMAIL
Rich:
it's your IMAGETYPE that you're setting wrong. it should reference
one of the agg outputformats, eg IMAGETYPE AGG or IMAGETYPE AGG_Q
thomas
On Nov 27, 2007 11:03 PM, rich.fromm [EMAIL PROTECTED] wrote:
Summary: I was previously trying to get antialiased lines working with
cartographic
oh, and agg 2.4 is for the time being strictly identical to 2.5 ,
except for the license.
tb
On Nov 27, 2007 11:17 PM, thomas bonfort [EMAIL PROTECTED] wrote:
Rich:
it's your IMAGETYPE that you're setting wrong. it should reference
one of the agg outputformats, eg IMAGETYPE AGG or IMAGETYPE
is this using the agg renderer?
if so try using WIDTH instead of SIZE
thomas
On Nov 26, 2007 8:16 PM, Luca Manganelli [EMAIL PROTECTED] wrote:
Hi,
I have problem with TILEINDEX. Mapserver 5.0 refuses to render this
layer. Note that Mapserver 4.10 works flawlessy. Is there any known
bug
On Nov 13, 2007 10:09 AM, Matthew Pulis [EMAIL PROTECTED] wrote:
Yes every folder from /home up to /tmp is 755. Its quite strange ey :S
we're not talking about /tmp here but /home/yancho/public_html/tmp
type these commands, just to make sure:
sudo chmod 755 /home/yancho
chmod 755
Tim,
you can add POSTLABELCACHE TRUE to the layers you want drawn after the labels
cheers,
tb
On Nov 8, 2007 5:30 PM, Nolte, Tim [EMAIL PROTECTED] wrote:
I have a feature on m MapServer where someone can geocode and address
and plot that on the map. The problem I have is that most often the
Implementation of the wrap parameter for legend labels went into svn
trunk today. please comment on any issues you may have with this once
you get a chance to try it out.
cheers,
tb
On 11/4/07, Yves Jacolin [EMAIL PROTECTED] wrote:
Thanks Thomas,
Y.
Le dimanche 4 novembre 2007 14:51, thomas
Hans,
* using shapefiles, this isn't possible with mapserver (or at least I
don't think so, someone correct me if not)
* if you're using postgis, you could implement this with some server
side scripting, with or without some help from the mapscript functions
I think the way to go for your case is
Luca:
yes you can, you just have to specify two style blocks
LAYER
[...CUT...]
TYPE POLYGON # FOR FILL COLOR
CLASS
STYLE
COLOR 197 227 252
END
you are using *OUTLINECOLOR* in your second style block ?
tested here by copy pasting the code block i sent you and I'm getting
expected result
tb
On 11/5/07, Luca Manganelli [EMAIL PROTECTED] wrote:
On Nov 5, 2007 1:39 PM, thomas bonfort [EMAIL PROTECTED] wrote:
Luca:
yes you can, you just
Yves,
this isn't currently supported. I'll be looking into this and another
side effect which concerns vertical spacing between legend items and
let you know when/if things change on this end.
cheers,
tb
On 11/3/07, Jacolin Yves [EMAIL PROTECTED] wrote:
Hi,
Does the WRAP parameter is suppose
For the time being, the answer is no.
support for this will probably make its way into 5.2, with cap and
join keywords being added to the style blocks.
thomas
On 11/2/07, Pål Kristensen [EMAIL PROTECTED] wrote:
Hi!
With MapServer version 5.x the symbol type cartoline was deprecated when
For the archives, and to avoid people from investigating this problem:
problem solved on irc, the Uwi_faculties.shp is missing the TYPE keyword (duh).
tb
This is a bug.
the problem comes from the fact that mapserver tries to concatenate
colinear vertices to reduce the number of lines to be drawn. In your
case the vertice at the extreme of your line segment is removed.
I'll file this on trac
tb
On 10/26/07, Javier Carrasco [EMAIL PROTECTED] wrote:
mollweide uses meters as units. so your request of a bounding box
-180,180,90,-90 was giving you a correct answer as you where
displaying a tiny rectangle of ocean in the gulf of guinea.
tb
On 10/22/07, AA BB [EMAIL PROTECTED] wrote:
nevermind...
the answer is that each of the four values in
mauro,
I think what you are looking for is the setBinding method of the styleObj
unfortunately I haven't found the MS_STYLE_BINDING_* constants defined
for java mapscript, so for the time being there's no way to do what
you want.
I've cc'd umberto on this so he can confirm, and there will
the command line should be like
shp2img -m or_mapfile.map -l counties random_polys airports_nearby
-o random_polys.jpg -e $SMALL_AREA_EXTENT
cheers,
tb
On 10/18/07, Webb Sprague [EMAIL PROTECTED] wrote:
Could someone tell me why I can't get both triangles airports AND my
random polys to
José,
TRANSPARENCY 0 has been deprecated in 5.0 and been replaced with
OPACITY. and a layer with 0 opacity being fully transparent, it is not
drawn.
tb
On 10/17/07, José Ramón López [EMAIL PROTECTED] wrote:
Hi list.
Im trying to configure mapserver with Oracle Spatial or OCI connection
This
could all of you having these problems summarize , for each specific
case if necessary (i.e. html legends or wms getlegendgraphics), if the
problem is specific to agg rendering or also occurs using gd.
there's also http://trac.osgeo.org/mapserver/ticket/2284 on this, so
it is a known issue that
have you read the migration guide at
http://trac.osgeo.org/mapserver/browser/branches/branch-5-0/mapserver/MIGRATION_GUIDE.TXT
?
notably the URL configuration changes
cheers,
tb
On 9/25/07, John Cole [EMAIL PROTECTED] wrote:
Has the syntax for adding a point via the URL (for mapserver cgi)
thanks all for feedback.
there's a typo bug in the legend rendering. will fix this in trunk
soon and should be incorporated in 5.0.1
tb
Broadmoor Ave, Suite G
Kentwood, MI 49512
Office: 616-656-5163
PCS:616-706-2438
Fax:616-554-6484
Web: www.ipcswirelessinc.com
-Original Message-
From: thomas bonfort [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 18, 2007 1:46 PM
To: Nolte, Tim
Cc: MAPSERVER-USERS
I seem to remember a discussion a while ago stating that agg had to be
build with position independant code on 64 bit platforms. could you
try that out (and also add -fPIC to CPPFLAGS)?
tb
On 9/18/07, Daniel Morissette [EMAIL PROTECTED] wrote:
Gregor Mosheh wrote:
Never mind; my bad. I had
yes, AGG only renders vector formats, raster processing hasn't changed.
have you had a look at http://mapserver.gis.umn.edu/development/rfc/ms-rfc-4/
PROCESSING RESAMPLE=NEAREST
PROCESSING RESAMPLE=AVERAGE
PROCESSING RESAMPLE=BILINEAR
PROCESSING RESAMPLE=BICUBIC
tb
On 9/18/07, Guillaume Sueur
On 9/18/07, Nolte, Tim [EMAIL PROTECTED] wrote:
I hope that you didn't take my comment as though I was questioning the
validity of the comment. I was really just curious because of my
performance issues. I'll throw together a test case, who should I send
it to, just the list?
you open a bug
oops typo...
and of course it'll work much better if your symbol uses ANTIALIAS
FALSE instead of ANTIALIASED FALSE ;)
On 9/18/07, thomas bonfort [EMAIL PROTECTED] wrote:
Tim,
Attached is a patch you can apply to mapagg.cpp - if you can't apply
it I'll mail you the whole file.
it basically
Tim,
Attached is a patch you can apply to mapagg.cpp - if you can't apply
it I'll mail you the whole file.
it basically switches to aliased rendering if you use
SYMBOL
TYPE SIMPLE
ANTIALIASED FALSE
NAME 'aliased'
END
it'll work *only* on line and polygon layers, if you specify a
STYLE
NAME
Message-
From: thomas bonfort [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 18, 2007 12:31 PM
To: Nolte, Tim
Cc: MAPSERVER-USERS@lists.umn.edu
Subject: Re: [UMN_MAPSERVER-USERS] MapServer 5.0.0 released!
Tim,
Attached is a patch you can apply to mapagg.cpp - if you can't apply
you can use a custom query on your database
DATA the_geom from
(SELECT gid, nom, the_geom, (-angle) AS inv_angle FROM troncon_route)
as foo using unique gid
and then use
ANGLE [inv_angle] in your label block
tb
On 9/13/07, Stéphane RIFF [EMAIL PROTECTED] wrote:
Hello,
I want
another solution is to wait a few days for 5.0 to be released, which
supports antialiasing natively using the agg rendering backend.
cartoline symbols are likely to be deprecated in a future release by
the way, as all of their functionality (and more) is supported by AGG.
tb
quantization does not seem to support transparent backgrounds
(regardless of gd or agg)
I'll file a bug about this but I don't know if it will be fixed for 5.0
tb
On 8/30/07, Gilles Bassière [EMAIL PROTECTED] wrote:
Hi List,
I run Mapserver 5.0 beta5 as a WMS server and have some troubles
Another question, I tested the new outputformat with AGG, is it possible
to get jpg or gif image with it? If so, how can I setting up my mapfile
to realize this? Do I need special flag when building mapserver?
gif isn't supported with agg.
these are the main outputformats you can use with
I've checked with what withe the svn version and transparency is working
with gd and agg for pixmap (with a png image, haven't tried gif) and
truetype polygons fills.
the layer definition is simply
...
OPACITY 50
CLASS
NAME States/Provinces1
STYLE
SYMBOL
The AGG image is about 4x the file size as the GD image, which isn't
that surprising with all that antialiasing going on. More of a symptom
than anything, but not everyone is going to enjoy downloading 400k
images, so it's something to think about if you're going to use this in
a production
john,
could you be more specific as to what kind of maps you're rendering, in the
terms of the number and type of layers, and approximate number of features
per layer.
the agg stuff is just working for the moment , without much thought on
optimization. having a few pointers as to where to look for
andreas,
the outlining code for fonts is merely about drawing the same text offset by
one pixel in each direction (N, NE, E, etc ). I've changed a few things
today in the font rendering code, could you possibly check with the svn
version (or with beta5 due today I think) that this bug is still
tim: yes this is from the gif format
gif only specifies /one/ transparent color, not a complete alpha channel
png is ok, though you'll have to do more than just convert the gif to png
On 8/22/07, Nolte, Tim [EMAIL PROTECTED] wrote:
I've got MapServer v5 beta 4 running with AGG 2.4 and my maps
legend drawing was broken in beta4, you can either wait for the next beta or
adjust the source as in http://trac.osgeo.org/mapserver/changeset/6618
tb
On 8/20/07, Nolte, Tim [EMAIL PROTECTED] wrote:
So I was able to get MapServer v5 beta4 compiled and running, along with
AGG. The output that
this was fixed just after beta 3, so should be working ok in beta 4.
thanks for testing and please report if this isn't working as expected
tb
On 8/17/07, Stephen Woodbridge [EMAIL PROTECTED] wrote:
Brent,
Please file a bug on this. Looks like Thomas is not around to get it now.
Thanks,
have you set IMAGETYPE AGG_PNG ?
On 8/11/07, Steve Smith [EMAIL PROTECTED] wrote:
The instructions below did not appear to help.
I tried installing the 32bit agg libraries into /usr/lib using the fedora
package manager, and then re-configed and compiled mapserver. I was able to
compile
http://boston.freemap.in/kamap.html?lat=901231.7146lon=232335.42917zoom=8layers=B
vs.
http://boston.freemap.in/?lat=901231.7146lon=232335.42917zoom=8layers=B
doesn't demonstrate a fairly significant difference in rendering.
you're not being very fair here chris ;)
here's the (nearly)
5.0 will support pixmap rotations with the AGG renderer
font rotation is a bit more hypothetical but might make its way also
tb
On 7/31/07, Roy Braam [EMAIL PROTECTED] wrote:
List,
Does anyone know how to show rotated symbols (font's or images)
transparent in a point layer? If i rotate
don't know why this is coming out as an error ... it's an old debugging
message that should have been removed...
you can safely remove the two occurences of this code
if ( pRowCache == NULL )
{
fprintf ( pLogFile, imageFilledPolygon pRowCache == NULL, extra is
%08x\n,
you can have a look at bug 1800 on the mapserver bugzilla for what could be preliminary automatic charting capabilities... I've since added simple bar graphs, mail me if you're interested...cheers,tb
On 8/22/06, Stefan Schwarzer [EMAIL PROTECTED] wrote:
Hi there,is anyone doing some thematic
are you using an official release of gd or the patched version. there's a bug in gd that causes these symptoms exactly the patch is to add this near line 3035 of gd.c at the beginning of
static void gdImageSetAAPixelColor(gdImagePtr im, int x, int y, int color, int t) if(x0||y0||x=im-sx||y=im-sy)
having sporadic segfaults from mapserv, especially when there are a lot
of line features, that are set to use antialiasing...
Any ideas if this is related to your problems?
Note that maps are generated fine for lines with few elements...
Dylan
On Tuesday 25 October 2005 11:55 pm, thomas
65 matches
Mail list logo