[mapserver-users] Re: Postgis - Mapserver white background

2011-04-27 Thread Ben Madin
Graham, It looks OK to me. Although the brevity is good, it might help if you could also attach the table definition - is it just producing a blank png image? is it in the same projection etc...? How are you accessing it (ie through WMS, mapscript or standard mapserver output). I've also

[mapserver-users] problem with setting outline width for polygons

2011-04-27 Thread Hans Wapenaar (GIS Innovations)
Hi, I'm using mapserver/mapscript in a windows/visual studio environment and I'm getting some errors: when I want to add a style to a layer with polygons the setting of a width generates an error. Any idea what the reason is? Setting of colors etc is no problem. Dim classtest As

Re: [mapserver-users] problem with setting outline width for polygons

2011-04-27 Thread Milo van der Linden
Hello Hans ;-) I have no experience using C# with Mapscript, but have you tried this? http://efreedom.com/Question/1-826851/Dynamic-Map-Layer-Mapservers-CSharp-MapScript Maybe it has something to do with that your colorvalues should be cast to int32 2011/4/27 Hans Wapenaar (GIS Innovations)

Re: [mapserver-users] Re: Postgis - Mapserver white background

2011-04-27 Thread Stephen Woodbridge
Graham, Postgresql normally assumes table and column names will be in lower case and if not you need to quote them. So try: DATA the_geom from north and/or (notice the quoting below) DATA 'the_geom from North' I think you will find things easier if you keep everything as lower case

RE: [mapserver-users] problem with setting outline width for polygons

2011-04-27 Thread Hans Wapenaar (GIS Innovations)
Thanks for your reaction Milo, I tried to cast the values for Int32, but without any result. Problem is not in the color settings but in the width of the outlines of polygons. Colors of polygons and colors of the outlines are correctly rendered. I got the same errors when I try to set the

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

2011-04-27 Thread thomas bonfort
mapserver-utils repository has been updated for 6.0, you can see the changes there. -- thomas On Wed, Apr 27, 2011 at 17:51, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, My old OpenStreetMap mapfile does not work any more after update. I read that some SYMBOL stuff has been moved

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.

[mapserver-users] Anyone want to work on a climate mapping web project w/me?

2011-04-27 Thread The Cunctator
Hey -- I'm in the prototype stage of a new map-based climate change website, just putting out feelers for anyone with GIS chops and an interest in the alpha/brainstorm stage of things. (The essential concept is to turn these types of stories into a dynamic real-time GIS site.

[mapserver-users] free() methods in MapScript, compatibility MS 5.x and 6

2011-04-27 Thread Armin Burger
Hi everybody in MapServer/MapScript 6 the various class methods free() have been removed. If I want to have PHP/MapScript code compatible with both MapServer 5.x and 6, the easiest would be to completely remove these method calls from the code. My question is just if these free() methods

[mapserver-users] Font/Symbol size change with different MapServer

2011-04-27 Thread myOpenLayersUName
I have created a WMS containing a layer of points and labels that looks fine in our development environment. The font and symbol sizes are as I expect them to be. However, when I move this same WMS to our production environment, they display bigger...markedly so. I'll try to attach the pictures

Re: [mapserver-users] Font/Symbol size change with different MapServer

2011-04-27 Thread thomas bonfort
The symbols aren't the same size also. I suspect you have a RESOLUTION or DEFRESOLUTION that is different between your dev and prod platforms. -- thomas On Wed, Apr 27, 2011 at 19:42, myOpenLayersUName joanne.mcg...@sympatico.ca wrote: I have created a WMS containing a layer of points and

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

2011-04-27 Thread Jeff McKenna
On 11-04-27 12:51 PM, Rahkonen Jukka wrote: Hi, My old OpenStreetMap mapfile does not work any more after update. I read that some SYMBOL stuff has been moved into STYLE. Could somebody tell how should I convert the following symbols which were used for styling railways into STYLE things

[mapserver-users] multiple layers in a class

2011-04-27 Thread Mukesh Subedee
Hi, In the STYLE documentation, it is mentioned that it is possible to have multiple layers within a class. I could not find any example how it can be implemented. I was checking an example in http://lists.osgeo.org/pipermail/mapserver-users/2010-August/066303.html where SMALL PIG and BIG

[mapserver-users] Re: Font/Symbol size change with different MapServer

2011-04-27 Thread myOpenLayersUName
I came across that in the documentation, but couldn't find where I would check that. I understand setting it in the map files; but where is the default set? Where do I look to see if they are different on the two systems? -- View this message in context:

RE: [mapserver-users] multiple layers in a class

2011-04-27 Thread Fawcett, David (MPCA)
Mukesh, If you want to symbolize SMALL PIG and BIG PIG differently, you will need two classes. A class is used to select features that match the (optional) class expression. You can have multiple styles within a class, but they would be applied equally to all of the features in that class.

Re: [mapserver-users] multiple layers in a class

2011-04-27 Thread Mukesh Subedee
Oops, my bad...I meant multiple styles within a class. Does that mean I cannot use different color scheme for symbolizing SMALL PIG and BIG PIG within a same class? Is there any way to categorize each PIG with different EXPRESSION and give different STYLE for each within a class? Mukesh

Re: [mapserver-users] multiple styles in a class

2011-04-27 Thread Mukesh Subedee
Hi David, Oops, my bad...I meant multiple styles within a class. Does that mean I cannot use different color scheme for symbolizing SMALL PIG and BIG PIG within a same class? Is there any way to categorize each PIG with different EXPRESSION and give different STYLE for each within a class?

Re: [mapserver-users] multiple styles in a class

2011-04-27 Thread Mukesh Subedee
I wanted to minimize the number of classes within a layer and found a statement in MapServer/Style documentation that we can have multiple styles within a class but was wondering if they could be used for styling (coloring) different attributes of a type (as in PIG example). Mukesh

RE: [mapserver-users] multiple layers in a class

2011-04-27 Thread Fawcett, David (MPCA)
No. That is what classes are for. What is your concern about using multiple classes? From: Mukesh Subedee [mailto:msube...@yahoo.com] Sent: Wednesday, April 27, 2011 3:41 PM To: Fawcett, David (MPCA); mapserver mailing list Subject: Re: [mapserver-users] multiple layers in a class Oops, my

[mapserver-users] use of CLASSGROUP/GROUP

2011-04-27 Thread Mukesh Subedee
Hi all, Does anyone has answer of this question? http://www.osgeo.org/pipermail/mapserver-users/2008-October/057975.html Thanks, Mukesh___ mapserver-users mailing list mapserver-users@lists.osgeo.org

[mapserver-users] MapServer 6.0.0-rc1 release

2011-04-27 Thread Daniel Morissette
The MapServer Team is pleased to announce the release of MapServer 6.0.0-rc1 (release candidate 1). The 6.0 release introduces important changes in key components of the MapServer core (rendering, query and expressions), and for this reason we count on you, MapServer power users, to help test