Re: [mapserver-users] two lines form one inside the other

2015-11-11 Thread Christy Nieman
Hi Ahmet, You can use two styles in your class. Something like: CLASS ... STYLE #bigger white one COLOR "#FF" OPACITY 0.5 WIDTH 4 END STYLE #smaller black one COLOR "#00" WIDTH 2 END ... END I think I got the order right - the white one should be drawn

[mapserver-users] label outline not changing when sizeunits meters

2015-07-13 Thread Christy Nieman
Hi all, I filed a but about a month ago (https://github.com/mapserver/mapserver/issues/5107) about an issue that I started having with a mapfile where the outline on labels with SIZEUNITS METERS no longer seemed to be correct. No matter what I set OUTLINEWIDTH to, the outline stays the

Re: [mapserver-users] About FILTER and FILTERITEM

2014-05-14 Thread Christy Nieman
You do not need to set both FILTERITEM and FILTER. You can just set FILTER to an expression using as many attributes as you need. e.g. FILTER (( [POPULATION] 50 ) AND ([DISPLAY] == 1)). Just like you can have multiple attributes in a class EXPRESSION. I think it's the section of the

Re: [mapserver-users] Rasters with transparency and resampling

2013-07-04 Thread Christy Nieman
On 06/26/2013 08:39 AM, Christy Nieman wrote: Hi all, I've noticed that if I draw a TIFF that has some transparent pixels set either by using OFFSITE or alpha values in the TIFF palette, there are artifacts that appear around the transparent areas with MapServer 6.2, but not with 5.6, when I add

[mapserver-users] Rasters with transparency and resampling

2013-06-26 Thread Christy Nieman
Hi all, I've noticed that if I draw a TIFF that has some transparent pixels set either by using OFFSITE or alpha values in the TIFF palette, there are artifacts that appear around the transparent areas with MapServer 6.2, but not with 5.6, when I add the resample processing option to the

Re: [mapserver-users] SVG Symbol support

2013-06-25 Thread Christy Nieman
Hi Jeff, I've built it on Fedora 16. I can't find my notes from when I built the dependencies, but it was something like: - get libsvg 0.5 and libsvg-cairo 0.5 from http://sourceforge.net/projects/svg2swf/files/ . This version has better luck rendering more complicated SVGs - build them

Re: [mapserver-users] Problem with ANGLE FOLLOW

2012-12-03 Thread Christy Nieman
Hi, ANGLE FOLLOW is subject to MAXOVERLAPANGLE (see http://mapserver.org/mapfile/label.html). If there is an angle between letters that is larger than 22.5 (if you don't have a manually-set value), then the label will not be drawn. I wrote a blog post that may help you understand:

Re: [mapserver-users] Projection values of mapfile

2012-11-06 Thread Christy Nieman
Hello, If you are using a recent version of PROJ.4, you should be able to use epsg:3857 for Web Mercator. MapServer can reproject your data on-the-fly if you also have projection blocks in your layer definitions to say what projection the data are (i.e. epsg:4326). This will slow down the

[mapserver-users] Cairo SVG PDF output

2012-10-03 Thread Christy Nieman
Hi all, I have been looking into something I just noticed when I change the output of a map draw from png to Cairo svg or pdf. A 300px by 300px png image became a 375 px by 375 px svg according to Inkscape. I realized this is because the size of the svg was specified in points and Inkscape

[mapserver-users] Label priorities in MapServer 6

2012-03-22 Thread Christy Nieman
-- Christy Nieman GIS Technician DM Solutions Group, Inc. Email: cnie...@dmsolutions.ca Web: http://dmsolutions.ca ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Label priorities in MapServer 6

2012-03-22 Thread Christy Nieman
Ah. This seems to be a difference between using ANNOTATIONS vs. POINTS. I was trying to get the same result as using an ANNOTATION to draw a point marker with a label in a POINT layer (i.e. that the point only gets drawn if the label does). Never mind :) C On 03/22/2012 11:16 AM, Christy

[mapserver-users] CLUSTER object with GROUPs and FILTERs

2011-05-04 Thread Christy Nieman
Hello, I'm trying to understand the new CLUSTER object. I have a feeling that I'm just expecting things to work differently than they do, but wanted to confirm. If you have a CLUSTER object with a GROUP expression in it (e.g. GROUP ( '[type]' = 'car' ), the Cluster:Group feature attribute

[mapserver-users] TYPE UNION and STYLEITEM

2011-05-03 Thread Christy Nieman
in the union layer, the two source layers must have STATUS DEFAULT for anything to show up (which, I think, causes them to be drawn twice?). Am I missing something with how UNIONs and STYLEITEM AUTO work? Or is this how it was designed? Thanks, Christy -- Christy Nieman GIS Technician DM

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

2011-04-27 Thread Christy Nieman
Hi, For the railfar symbol, all you need is for the PATTERN to be in the style (no symbol required). Something like: STYLE COLOR 0 0 0 WIDTH 2 PATTERN 5 5 END END For the rail symbol, you need to move the GAP parameter from the symbol into the style.

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

2011-04-21 Thread Christy Nieman
Thomas, Sorry it took me awhile to respond - I'd left things compiling when I went home last night, and it failed, so I had to fix it and get it going again this morning. With libpng 1.5.3 beta3 and mapserver 6.0 beta 7 (since it was released before I fixed things this morning), everything

Re: [mapserver-users] how to render labels on lines?

2011-01-26 Thread Christy Nieman
Hello Sergey, Using ANGLE FOLLOW in the label block will provide labels that follow the curvature of the line segment that is being labelled. Please note, that if the line segment is shorter than the label, the label will hang off the end of the line unless you use MINFEATURESIZE AUTO in the

Re: [mapserver-users] Creating and editing UTF8 shape files

2010-12-15 Thread Christy Nieman
Hello Ian, QGIS can handle many different encodings. You set the encoding when you save a new shapefile or load an existing shapefile. Regards, Christy -- Christy Nieman GIS Technician DM Solutions Group, Inc. Email: cnie...@dmsolutions.ca Web: http://dmsolutions.ca On 12/15/2010 11:03 AM

Re: [mapserver-users] Creating and editing UTF8 shape files

2010-12-15 Thread Christy Nieman
Of *Christy Nieman *Sent:* Wednesday, December 15, 2010 8:13 AM *To:* mapserver-users@lists.osgeo.org *Subject:* Re: [mapserver-users] Creating and editing UTF8 shape files Hello Ian, QGIS can handle many different encodings. You set the encoding when you save a new shapefile or load an existing

Re: [mapserver-users] layers sharing the same class ?

2010-11-04 Thread Christy Nieman
Hi, You should be able to use an INCLUDE (see http://mapserver.org/mapfile/Include.html) that contains the classes. E.g.: LAYER ... CLASSITEM CLASS INCLUDE path/to/include/file.txt END Where file.txt would be: CLASS EXPRESSION A COLOR #FF END ... CLASS EXPRESSION Z COLOR

Re: [mapserver-users] Ogrtindex and attribute data

2010-10-20 Thread Christy Nieman
Hi, Do you mean that you cannot classify a layer where the data are drawn using a tile index? I use tile indexed shapefiles all the time and have never had any problems using CLASSITEM/EXPRESSION and FILTERITEM/FILTER. Could you provide an example of what's not working? Regards, Christy

Re: [mapserver-users] rendering difference between 5.6.3 and 5.6.4

2010-07-13 Thread Christy Nieman
I tested (and reported back to the ticket), that it looks good now. On 07/13/2010 11:47 AM, Daniel Morissette wrote: Christy Nieman wrote: Attached is a sample. With mapserver 5.6.3's shp2img, in the mapfile as provided, I get a thin lines and small labels on them. With 5.6.4's shp2img I

Re: [mapserver-users] add string before a label

2010-05-17 Thread Christy Nieman
Hi, You can use the TEXT parameter: CLASS ... TEXT (surface is [TXT]) LABEL ... END END Where [TXT] is the attribute field from your data. You can also use this method to combine two attributes into the label. Christy On 05/17/2010 08:22 AM, Tonton wrote: hello i use

Re: [mapserver-users] cartolines in AGG?

2010-04-09 Thread Christy Nieman
Hi Mark, You can also make a symbol of type simple. See http://research.dmsolutions.ca/?p=168 Christy On 04/09/2010 10:00 AM, thomas bonfort wrote: please keep your replies on list... you can replace that with no symbol, and STYLE WIDTH xxx LINECAP butt PATTERN 2 20 END COLOR

Re: [mapserver-users] cartolines in AGG? - Found word(s) list error XXX in the Text body [Keyword]

2010-04-09 Thread Christy Nieman
I would be disappointed if they were deprecated at the symbol level, as I have several SIMPLE symbols that I reuse with different colours/widths. Christy On 04/09/2010 10:18 AM, thomas bonfort wrote: since recent versions, most (all?) of the parameters that resided in TYPE SIMPLE symbol have

Re: [mapserver-users] Rendering bridges

2010-02-03 Thread Christy Nieman
-- Christy Nieman GIS Technician DM Solutions Group, Inc. Email: cnie...@dmsolutions.ca Web: http://dmsolutions.ca Web: http://research.dmsolutions.ca On 02/03/2010 12:52 PM, Lime, Steve D (DNR) wrote: I don't believe this will get you the desired effect. You'll get the lines but you'll also get the line

Re: [mapserver-users] How do I have a polygon with an outline with a width?

2010-01-06 Thread Christy Nieman
Hi, If you are indeed using MapServer 5.4, you should be able to control the width of a polygon's outline by specifying an OUTLINECOLOUR and a WIDTH. I just tested with the 5.4 svn branch and had no trouble. I'm not sure what you mean by it seems that MapServer cannot read a symbol file

[mapserver-users] Multiple WRAP Characters

2009-12-03 Thread Christy Nieman
to provide. -- Christy Nieman GIS Technician DM Solutions Group, Inc. Email: cnie...@dmsolutions.ca Web: http://dmsolutions.ca Web: http://research.dmsolutions.ca ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman

Re: SV: [mapserver-users] Classitems selection

2009-08-13 Thread Christy Nieman
Hi, When you say that you could very well use expressions, do you mean regular expressions? In my experience, unless you are working with a very large data set they're fine. E.g. CLASSITEM flavour ... EXPRESSION /cherry|mango|lime/ Christy Lars Westerlind wrote: AFAIK currently I write

Re: [mapserver-users] RASTER MAX SIZE

2009-08-12 Thread Christy Nieman
Hi, I don't think there is any MapServer-specific raster size limit. I have successfully drawn (very) bigtiff images (~ 30 GB each) with MapServer, gdal and libgeotiff that were compiled against libtiff 4. Christy Rodríguez wrote: Hi everyone, We are planning to buy a huge

Re: [mapserver-users] duplicate labels

2009-07-23 Thread Christy Nieman
Hi, (I don't remember if this has been asked yet or not, but...) does your OpenLayers application use tiles? Is it possible the duplicate labels are actually on separate tiles? If so, you can try setting OpenLayers to single tile mode to see if this is indeed the problem. Then you can try

Re: [mapserver-users] clipping symbols at tile boundary?

2009-06-22 Thread Christy Nieman
Hi, You can put labelcache_map_edge_buffer -10 in the WEB block metadata. This will ensure that no labels are drawn within 10 pixels of a tile boundary (you can change the value to increase or decrease the buffer zone) E.g.: MAP ... WEB METADATA labelcache_map_edge_buffer -10

Re: [mapserver-users] labeling streets

2009-06-08 Thread Christy Nieman
Hi, You could set MINFEATURESIZE to AUTO and then only the labels that fit on the lines should be drawn. Regards, Christy Raivo Alla wrote: Hello! I'm stuck in simple-looking problem, but the solution is just hiding somewhere. The question is: how I can label only those line features,

Re: [mapserver-users] Mapserver 5.4 SYMBOLSET

2009-04-30 Thread Christy Nieman
Hi, It was addressing some potential security problems: http://lists.osgeo.org/pipermail/mapserver-users/2009-March/060600.html Christy Guillaume Sueur wrote: Hi, I think what David meant was about getting an error when SYMBOLSET is not declared in the symbol file since 5.4. I ran into

Re: [mapserver-users] Points and labels always together

2009-04-29 Thread Christy Nieman
Hi, If you use an ANNOTATION layer instead of POINT, the only points that will be drawn are those where the labels will be drawn. Christy Nelson Correia wrote: Hi all, Is it possible to have points and labels always drawn together when in a POINT layer? The objective is to draw

Re: [mapserver-users] Outline on the roads label boxes

2009-04-28 Thread Christy Nieman
, -- Christy Nieman GIS Technician DM Solutions Group, Inc. Email: cnie...@dmsolutions.ca Web: http://dmsolutions.ca Web: http://research.dmsolutions.ca Nelson Correia wrote: Hi, Do you know how to write an outline on the roads label boxes, just like the ones that Google Maps has? In Mapserver docs

Re: [mapserver-users] Painting outside a polygon.

2009-04-20 Thread Christy Nieman
Hi, You can set the IMAGECOLOR parameter for the map (see http://mapserver.org/mapfile/map.html), which sets the background colour for the map. Then your coloured polygons would be drawn on top of the background colour. Regards, -- Christy Nieman GIS Technician DM Solutions Group, Inc

Re: [mapserver-users] Symbol problem

2009-04-08 Thread Christy Nieman
Hi, If you use TYPE ANNOTATION instead of TYPE POINT only the symbols for features that get labelled will be drawn. Regards, -- Christy Nieman GIS Technician DM Solutions Group, Inc. Email: cnie...@dmsolutions.ca Web: http://dmsolutions.ca Web: http://research.dmsolutions.ca Valeria Muñoz

Re: [mapserver-users] problem with raster data..

2009-01-30 Thread Christy Nieman
Melvin, The syntax is: gdaltindex /name_of_tile_index/.shp /location_of_rasters /So, for your example, the syntax would look something like: gdaltindex sample_index.shp c:\ms4w\data\raster\*.tif Regards, Christy -- Christy Nieman GIS Technician DM Solutions Group, Inc. Email: cnie

Re: [mapserver-users] problem with raster data..

2009-01-29 Thread Christy Nieman
Hi Melvin, Using a tool such as gdaltindex (see http://www.gdal.org/gdaltindex.html and http://mapserver.org/optimization/tileindex.html#tileindex) you can create a shapefile tile index that will give MapServer the information it needs to use the required rasters for the current map extent.

Re: [mapserver-users] data handling capacity of map server

2009-01-28 Thread Christy Nieman
methods to see if they suffice. In my experience, one of the best ways to speed up the drawing of vector layers is to limit the use of filters and class expressions on large data files. Regards, Christy -- Christy Nieman GIS Technician DM Solutions Group, Inc. Email: cnie...@dmsolutions.ca Web

Re: [mapserver-users] mapfile: displaying a feature from a shapefile.

2009-01-26 Thread Christy Nieman
STYLE COLOR 102 0 0 SIZE 2 SYMBOL line_solid END STYLE COLOR 204 51 51 SIZE 1 SYMBOL line_solid END LABEL TYPE truetype FONT PerspectiveBlack SIZE 11 END END END Best regards, Christy -- Christy Nieman GIS Technician DM Solutions Group

Re: [mapserver-users] AGG and cartoline trap

2008-11-04 Thread Christy Nieman
Hi, There is a symbol type simple that does more or less the same as cartolines. SYMBOL NAME dotline TYPE simple LINECAP butt LINEJOIN miter PATTERN 1 20 1 20 END END should do the trick. Christy -- Christy Nieman GIS Technician DM Solutions Group, Inc. Email: [EMAIL PROTECTED

Re: [mapserver-users] AGG and cartoline trap

2008-11-04 Thread Christy Nieman
Ah, never mind, Thomas' answer is better. But for future reference, symbol type simple provides the LINECAP and LINEJOIN options for line styling that cartoline used to provide. C Christy Nieman wrote: Hi, There is a symbol type simple that does more or less the same as cartolines

Re: [mapserver-users] installing 2 ms4w versions on same server?

2008-10-22 Thread Christy Nieman
ways to have more than one ms4w on a machine. -- Christy Nieman GIS Technician DM Solutions Group, Inc. Email: [EMAIL PROTECTED] Web: http://dmsolutions.ca Web: http://research.dmsolutions.ca zach cruise wrote: if i setup httpd.conf right, can i unzip and use 2 ms4w versions (4.8 and 5.2

Re: [mapserver-users] why 5.0.3 on latest linux distro's

2008-10-10 Thread Christy Nieman
There is the FGS installer package (http://maptools.org/fgs/) for Linux. But it's still using version 5.0.2, as far as I know. Christy Willy-Bas Loos wrote: exactly. i built my own 5.2.0 too. But i'm not a system admin really and it's a bit of a hassle. If i were planning to compile my

Re: [mapserver-users] why 5.0.3 on latest linux distro's

2008-10-10 Thread Christy Nieman
In my experiences with Fedora, they tend to keep the same version of MapServer that the OS version was released with (so Fedora 9 has 5.0.2, or something like that, by default). As I want to use the latest version, I build it for myself. I bet that distributions tend to stay with what they

Re: [mapserver-users] Thickness of outline/border of polygons

2008-10-02 Thread Christy Nieman
Hello, I'm not exactly sure what you mean about the border being broken, but if you want the polygon border thickness to be larger than one pixel, I believe the only way is to create a line layer to put on top of the polygon. For example: #Polygon layer on the bottom LAYER NAME States

Re: [mapserver-users] GPS to GIS

2008-08-06 Thread Christy Nieman
I've used GPSBabel (http://www.gpsbabel.org) to download data from my GPS and get them into more usable formats. It can also convert between formats. I'm not sure what you mean by converting between GPS and GIS coordinates. If you have a delimited table of coordinates you should be able to