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

Re: Σχετ: [mapserver-users] Re: Mapserver 6 WMS / PostGIS Problem

2011-09-22 Thread thomas bonfort
When the request hangs, is it the mapserver process or the postgres one that is eating all the cpu cycles ? -- thomas 2011/9/22 Rahkonen Jukka : > Hi, > > I can repeat this problem with Mapserver 6.0.1 on Windows Vista 32-bit.  I > defined one PostGIS test layer without metadata and GetCapabiliti

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

2011-09-22 Thread thomas bonfort
color yes, width not with GD. -- thomas On Thu, Sep 22, 2011 at 17:10, Bistrais, Bob wrote: > Yes, I think I see a white outline about 1 pixel.  Do I have any control over > that at all? (width and/or color) > > -Original Message----- > From: thomas bonfort [mailto:thomas.bo

Re: [mapserver-users] Abandoned railroad symbol

2011-09-22 Thread thomas bonfort
SYMBOL NAME "tie" TYPE TRUETYPE FONT "path/to/arial.ttf" CHARACTER "|" END CLASS EXPRESSION ('[STATUS]' = '3') # The crossties: STYLE COLOR 200 200 200 SIZE 4 SYMBOL "tie" GAP -10 END # The centerline: STYLE COLOR 200 200 200 WIDTH 1

Re: [mapserver-users] Abandoned railroad symbol

2011-09-26 Thread thomas bonfort
4 PM, Bistrais, Bob wrote: >> >> Hmm, still not getting the spacing correct.  The crossties seem to be at a >> consistent interval, but the dashed centerline isn't spacing well- sometimes >> I get ties centered on the line (which is whaat I want), and sometimes the &g

Re: [mapserver-users] Displaying repeated values in label

2011-09-26 Thread thomas bonfort
remove the MINDISTANCE keywords from your labels, they prevent duplicate labels from appearing closer than the specified distance (i.e. 600 in your case) which depending an your image size can mean that your 0.0 is only displayed once. -- thomas On Mon, Sep 26, 2011 at 17:52, Toni Martínez wrote

Re: [mapserver-users] arrow head doesn't draw at the end

2011-09-28 Thread thomas bonfort
On Wed, Sep 28, 2011 at 15:09, Mr. Puneet Kishor wrote: > Hi luis, > > Thanks for helping out. I will try OVERLAYSYMBOL, but from the docs it seems > it is no different that using two stacked symbols. I did try GAP, but that > doesn't help at all. > > As I mentioned below, I am drawing these poi

Re: [mapserver-users] minscaledenom puzzle, Mapserver 6.0.1

2011-09-29 Thread thomas bonfort
> Thomas is right that I needed a real symbol and not "symbol 0" > within the pixel-sized class.  I was confused by the docs under > class:symbol, which says "Default is 0, which results in a single > pixel, ..."  Is that part now out of date? Yes, it's out of date. The default symbol at index 0 s

Re: [mapserver-users] How to remove the label of a class with mapscript

2011-09-29 Thread thomas bonfort
remove the layer->labelitem and label->text -- thomas On Thu, Sep 29, 2011 at 16:33, Frank Broniewski wrote: > Hi, > > how can I remove the label of a class with mapscript, or disable labeling? > Doing this by hand, I would simply delete the label definition part in the > mapfile but apparently

Re: [mapserver-users] Need help with Expression

2011-09-30 Thread thomas bonfort
You can use a regular expression CLASSITEM RDNAME CLASS EXPRESSION /^Main/ ... END -- thomas On Fri, Sep 30, 2011 at 15:51, Bistrais, Bob wrote: > I’m trying to create an Expression to select features in a Class, MapServer > 6.0.1.  I want to do something such as a wildcard or a Like state

Re: [mapserver-users] MapCache - failed to remove lockfile error

2011-10-06 Thread thomas bonfort
The log message should be more explicit, and contain the reason of the unsuccessful removal. In any case, looking at the code, this error will have interrupted the seeding process. regards, thomas On Thu, Oct 6, 2011 at 15:03, Travis Kirstine wrote: > Hi All, > I hope this is the right spot to p

Re: [mapserver-users] MapCache - failed to remove lockfile error

2011-10-06 Thread thomas bonfort
-21-167158-72919-ms_tileset_8: No > such file or directory > > > Regards > > > On 6 October 2011 09:11, thomas bonfort wrote: >> The log message should be more explicit, and contain the reason of the >> unsuccessful removal. In any case, looking at the code, th

Re: [mapserver-users] MapCache - failed to remove lockfile error

2011-10-06 Thread thomas bonfort
PNG_BEST >      JPEG >   > >   >       >         >            image/png >            YORK2009 >            true >         >       >       >         http://localhost.jdbarnes.com/cgi-bin/ms_wms >       >   > >   >      ms_wms >      d

Re: [mapserver-users] MapCache - failed to remove lockfile error

2011-10-07 Thread thomas bonfort
gt; # check for inode issues >> touch /path/to/cache/test.junk >> >> # if the touch failed then you have run out of inodes >> # otherwise clean up >> rm /path/to/cache/test.junk >> >> Thanks, >>  -Steve W >> >> On 10/6/2011 12:14 PM, thomas bon

Re: [mapserver-users] symbolunits meters doesn't work

2011-10-17 Thread thomas bonfort
make sure your map UNIT is correctly set (meters or dd depending on the projection). On Mon, Oct 17, 2011 at 08:56, knasia wrote: > Hi, > I am trying to put symbols on the map giving their size in meters, but I > didn't manage. Here is my code. > > LAYER >        NAME queue >                PROJE

Re: [mapserver-users] Problem compiling MapServer - "error: cannot find gif lib"

2011-10-17 Thread thomas bonfort
--with-gif=$HOME if you have installed it there. As a rule of thumb, it is not a good idea to only compile the packages and not install them (i.e. no make install) as there is no reason that the packages respect the include/ lib/ hierarchy inside their source structure. (i.e. you should be using -

Re: [mapserver-users] Problem compiling MapServer - "error: cannot find gif lib"

2011-10-17 Thread thomas bonfort
avid/src/mapserver-6.0.1/mapogroutput.c:1000: undefined reference to > `CPLWriteFileInZip' > /home/david/src/mapserver-6.0.1/mapogroutput.c:1004: undefined reference to > `CPLCloseFileInZip' > /home/david/src/mapserver-6.0.1/mapogroutput.c:1006: undefined reference to > `CP

Re: [mapserver-users] Re: symbolunits meters doesn't work

2011-10-17 Thread thomas bonfort
epsg:4326 is units dd On Mon, Oct 17, 2011 at 15:19, knasia wrote: > This is my declaration: > >  PROJECTION >  "init=epsg:4326" >  END > UNITS METERS > > No matter what I use my symbol is of a size which has nothing to do with > real legth in meters. When I change zoom level size of a symbol is

Re: [mapserver-users] Cairo and text elements

2011-10-18 Thread thomas bonfort
I agree this would be a nice feature to have, but this concerns the cairo library. Once cairo supports this kind of text placement, we can have a look at how to support it inside mapserver. you might want to have a look at http://lists.freedesktop.org/archives/cairo/2011-February/021777.html for a

Re: [mapserver-users] How to deal with floating point exception?

2011-10-20 Thread thomas bonfort
your bounding box is invalid as minx=maxx and miny=maxy. please open a ticket for this as mapserver should return an error message, and not fail with an exception. -- thomas On Thu, Oct 20, 2011 at 04:39, jjwang wrote: > I got an floating point exception when I tried to run the mapserv. > > *./m

Re: [mapserver-users] mapcache in a cluster

2011-10-20 Thread thomas bonfort
Travis, I haven't had any feedback from people using mapcache in a cluster. This is my understanding of the possibilities and pitfalls: - if you have a fully seeded cache, there are no locking issues, therefore running a mapcache cluster will be transparent. - if you have a non-seeded cache, there

Re: [mapserver-users] mapcache in a cluster

2011-10-20 Thread thomas bonfort
So, this discussion inspired me to completely rework the locking mechanism in mapcache, to stop relying on file locks which have their quirks on network filesystems. I have tried using multiple apache instances configured to used a SMB-mounted lock directory and hammered both instances on unseeded

Re: [mapserver-users] How ro get transparent image on 6.0.1

2011-11-03 Thread thomas bonfort
Either your asp page is selecting the wrong (i.e. a non-transparent) imagetype, or you have a layer that is drawn ontop of the transparent background, thus making the final image non transparent. The outputformat you have shown is correct and produces trasnparent images. -- thomas On Thu, Nov 3,

Re: [mapserver-users] hatch symbol edge effects when rendering tiles with TilecCache

2011-11-10 Thread thomas bonfort
there's ticket http://trac.osgeo.org/mapserver/ticket/3847 for this issue. It should be implemented in the coming days/weeks. regards, thomas On Thu, Nov 10, 2011 at 09:24, SQ9MEV wrote: > Hi all! > > Working on my first webgis app, I use mapserver with python mapscript to > generate WMS tiles.

Re: [mapserver-users] quality of 8bit image in 6.0

2011-11-14 Thread thomas bonfort
should be fixed in r12767 and r12768, please confirm. regards, thomas On Sun, Nov 13, 2011 at 19:57, Richard Greenwood wrote: > Steve, > > I put a small test set together at: >  http://www.greenwoodmap.com/mapserver-image-quality/test.zip > It has a shape file and two map files, one for mapserve

Re: [mapserver-users] style level opacity issue

2011-11-17 Thread thomas bonfort
I've just run a quick check and opacity on the style object works correctly. please come up with a self contained test case that reproduces your issue. regards, thomas On Thu, Nov 17, 2011 at 18:15, Huotari, John B (RCIS) wrote: > I’d likewise like to see an answer to this as I’ve thus far bee

Re: [mapserver-users] mapcache in a cluster

2011-11-21 Thread thomas bonfort
ormance issues mapcache and nfs. > We feel the issue may be related to how nfs locks files/directories > compared to smb.  We are trying a few thing on our end (disable > locking / nfs4 etc).  Do you have any ideas? > > Regards > > On 20 October 2011 12:19, thomas bonfort wrote: &g

Re: [mapserver-users] Re: mapeditor for mapserver

2011-11-28 Thread thomas bonfort
Janeks, The vim documentation page dates from 2008 (given by the svn rev 8369), but the actual vim syntax file it links to is regularly updated (c.f. http://trac.osgeo.org/mapserver/browser/trunk/docs/_static/map.vim ) If you would like to update those doc pages and add other syntax files, please

Re: [mapserver-users] mod-geocache to mod-mapcache transition...

2011-11-28 Thread thomas bonfort
aside from the opening block called instead of they should be indentical. recent mapcache will work with the same caches as modgeocache, except for the WGS84 preconfigured grid where the zoom level numbering has changed (mod-geocache's zoom level 0 has been deleted, it's level 1 is now mapcache'

Re: [mapserver-users] mod-geocache to mod-mapcache transition...

2011-11-28 Thread thomas bonfort
S and singleTile). > > Steve > > -----Original Message- > From: thomas bonfort [mailto:thomas.bonf...@gmail.com] > Sent: Monday, November 28, 2011 11:56 AM > To: Lime, Steve D (DNR) > Cc: mapserver-users@lists.osgeo.org > Subject: Re: [mapserver-users] mod-geocache t

Re: [mapserver-users] high memory usage on map draw

2011-11-29 Thread thomas bonfort
On Tue, Nov 29, 2011 at 09:20, Daniele Debernardi wrote: > Hi, > with mapserver trunk version (but i think with others too) I have to > generate very big map to be imported in a pdf file. > I use php mapscript to generate maps with 300 dpi for an A1/A0 pdf page or > bigger. > This mean that the ma

Re: [mapserver-users] MapCache: Disabling WMS requests for fully-seeded caches?

2011-11-29 Thread thomas bonfort
You can do this by commenting out the block from the tileset once the wanted tiles have been created. You'll probably also want set error reporting to return blank images from that stage onwards. -- thomas On Tue, Nov 29, 2011 at 00:09, John Taranu wrote: > We have a fully seeded cache that was

Re: [mapserver-users] MapCache: Disabling WMS requests for fully-seeded caches?

2011-11-29 Thread thomas bonfort
r reporting seems to be broken.  Setting > empty_img crashes Apache with a segmentation fault > (mod_mapcache SVN revision 12828).  Setting report throws > HTTP 404 responses, which is a more reasonable result. > > John > > > > -Original Message- > From: th

Re: [mapserver-users] MapCache: Disabling WMS requests for fully-seeded caches?

2011-11-29 Thread thomas bonfort
gt; > -Original Message- > From: Travis Kirstine [mailto:traviskirst...@gmail.com] > Sent: Tuesday, November 29, 2011 3:21 PM > To: thomas bonfort > Cc: John Taranu; mapserver-users@lists.osgeo.org > Subject: Re: [mapserver-users] MapCache: Disabling WMS requests for >

Re: [mapserver-users] MapCache: Disabling WMS requests for fully-seeded caches?

2011-11-29 Thread thomas bonfort
hmm, ok, you're using the mixed image format for the empty image, and that was not a supported use-case. I've just commit a fix that fixes the issue for me here. regards, thomas On Tue, Nov 29, 2011 at 22:13, thomas bonfort wrote: > I'll have a look, but my config that doesn&#

Re: [mapserver-users] MapCache: Disabling WMS requests for fully-seeded caches?

2011-11-29 Thread thomas bonfort
1 at 22:27, thomas bonfort wrote: > hmm, ok, you're using the mixed image format for the empty image, and > that was not a supported use-case. I've just commit a fix that fixes > the issue for me here. > > regards, > thomas > > On Tue, Nov 29, 2011 at 22:13, thomas bo

Re: [mapserver-users] Re: Mapserver 6.0.1 -- Label Class not recognizing token BACKGROUNDCOLOR

2011-11-30 Thread thomas bonfort
Havard, "labelpnt generates a point with its center at the middle of the bounding rectangle of the text." Unless there's a problem with the code, this is not the behavior of the labelpnt geomtransform. The point created by labelpnt is dependant on the label's POSITION, i.e. it is the center of th

Re: [mapserver-users] Mapcache question.

2011-12-04 Thread thomas bonfort
Jerl, mapcache itself does not do any pruning of the caches it has created, but you can get the same effect by using a cache backend that supports expiration (i.e. memcache). Mapcache can fit your need, provided: - you configure your tileset with a "targetdate" - you use a memcache backend to store

Re: [mapserver-users] Mapcache question.

2011-12-04 Thread thomas bonfort
g the entire >> bounding box, the whole world.  Now to make it work with the the tilemode >> for google...which looks like that should be straight forward?? >> >> >> Thanks guys!! >> >> Jerl >> >> >> On Sun, Dec 4, 2011 at 2:00 PM, thom

Re: [mapserver-users] Specify resolution (or pixel size) in WMS requests

2011-12-05 Thread thomas bonfort
cgi controls should do the trick? http://../?SERVICE=WMS&&MAP.RESOLUTION=144&MAP.DEFRESOLUTION=96 -- thomas On Mon, Dec 5, 2011 at 17:43, Peter Hopfgartner wrote: > Basically, I am looking for a way to something analogous to DEFRESOLUTION in > a WMS request. The standard says, that a pi

[mapserver-users] Re: Reloading MapCache configuration file on changes?

2011-12-06 Thread thomas bonfort
AFAIK, this isn't possible. Inside an apache module, the configuration is considered read-only as it is shared between multiple worker threads/processed spawned by httpd. apachectl configtest && apachectl graceful will restart the server gracefully, i.e. without aborting ongoing requests, and will

<    1   2   3   4   5   6   7   8   9   >