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 first, 
then the black one on top.


Regards,
Christy

On 11/11/15 10:33 AM, Ahmet Temiz wrote:


​How can I construct two lines form one inside the other
- inner is thin and solid black
- outer is thicker tranparentand white

I will appreciate if you provide a hint

regards
 ​

--
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Bilgi İşlem  Dairesi Başkanlığı-CBS Grubu




Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[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 same.


I would appreciate it if someone would let me know if I'm doing 
something wrong, or if there really is a bug there.


Thanks,
Christy
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 document that is key - the MapServer 
Expressions section talks about using FILTER and EXPRESSION in more 
complex logical expressions, where as the section you quoted is talking 
about basic string comparison.


Christy

On 14/05/14 08:03 AM, Rahkonen Jukka (Tike) wrote:

Hi,

 From document page: http://mapserver.org/mapfile/expressions.html
To use a string comparison for filtering a LAYER, both FILTERITEM and FILTER must 
be set. FILTERITEM is set to the attribute name. FILTER is set to the value for 
comparison. The same rule applies to CLASSITEM in the LAYER object and EXPRESSION in the 
CLASS object.

That would mean that only one attribute from the data can be used for building 
a filter. Is this true or just old information living in the document?

-Jukka Rahkonen-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

2013-07-04 Thread Christy Nieman

Bump!

The problem is that I often need to draw raster layers using tile 
indexes, and in 6.2 I get artifacts at each tile boundary.  Rasters that 
have transparency at coast lines for water also have the same problem.


Is there a way to avoid this and still use resampling?

Thanks,
Christy

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 the resample processing option to 
the layer.  I assume there is something that has changed in MapServer 
that causes this to happen and I was wondering if someone could 
explain it to me.


Thanks,
Christy


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[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 
layer.  I assume there is something that has changed in MapServer that 
causes this to happen and I was wondering if someone could explain it to me.


Thanks,
Christy
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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
- export the package config paths for them (e.g.: export 
PKG_CONFIG_PATH=/usr/local/libsvg0.5/lib/pkgconfig:/usr/local/libsvg-cairo0.5/lib/pkgconfig/)
- build mapserver (./configure your options here --with-cairo=yes 
--with-libsvg-cairo=yes)


I used the system installed cairo and pixman

Christy

On 06/24/2013 04:20 PM, Jeff Konnen wrote:

Hi all,
we've been trying to build mapserver with SVG Symbol support on CentOS 
/ Redhat, but we are facing the same problems as described here: 
http://lists.osgeo.org/pipermail/mapserver-dev/2012-January/011901.html


We did not manage to compile mapserver 6.2.0 with SVG symbol support. 
When I say we, I mean Stephan Meissl maintaining 
http://packages.eox.at/ and myself trying to compile it from scratch 
on a redhat box.


The cited thread is 17 months old.
What's today's state of this issue? Has anyone managed to compile 
mapserver with SVG symbol support on either RedHat or CentOS?


Should it work better with 6.2.1 ?

Thanks in advance for your answers
Jeff


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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: 
http://research.dmsolutions.ca/2011/new-and-exciting-in-mapserver-6-0/


Christy

On 12/03/2012 09:07 AM, umn...@hydrotec.de wrote:

Try lowering the BUFFER number? ...

Good idea. But even changing to BUFFER 0 didn't change anything ...

Problem is still there.

Benedikt




TC Haddad tchad...@gmail.com schrieb am 03.12.2012 13:54:56:


TC Haddad tchad...@gmail.com
03.12.2012 13:55

An

umn...@hydrotec.de umn...@hydrotec.de

Kopie

Thema

Re: [mapserver-users] Problem with ANGLE FOLLOW


Try lowering the BUFFER number? If each label has a big buffer, then
less labels can fit...

Tanya

On Dec 3, 2012, at 2:56 AM, umn...@hydrotec.de wrote:


Hi

I'm using  ANGLE-FOLLOW in Mapserver 6.2 to label lines.
Unfortunately only 5 of 12 features are labeld.

I attach an example with data and mapfile. It can be used with
shp2img -m example.map -o out.png
All features are drawn, but most of them are not labeld, although there
should be enough space for all labels.

(To activate this example, one has to add arialbd.ttf in the
test-directory. I didn't attach this one, because of size-limits
in this mailing-list...)

Without ANGLE FOLLOW all labels are drawn.

Benedikt


#Layerdefinition:

LAYER
  NAME Striche
  TYPE LINE
  STATUS ON
  DEBUG 5
  TEMPLATE dummy.html
  TOLERANCE 0
  DATA Striche
  LABELITEM name
  CLASS
  NAME Hauptsammler
  LABEL
COLOR 0 0 0
OUTLINECOLOR 255 255 255
OUTLINEWIDTH 6
TYPE truetype
SIZE 5
MINDISTANCE 0
ANGLE FOLLOW
FORCE TRUE
FONT arial-bold
BUFFER 10
  END
  STYLE
OUTLINECOLOR 0 0 0
WIDTH 3
PATTERN 5 5 END
LINECAP BUTT
  END
  END
END
(See attached file: missinglabel.zip)
missinglabel.zip
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 map draws somewhat, so if you are planning to always display 
this map in Web Mercator, it's a good idea to reproject your shapefiles.


... oh, it looks like Jeff beat me to it :)

Christy

On 11/05/2012 11:06 PM, Forest wrote:

Hello everyone,
 I've been using shp2img tools to generate tile image by mapfile. 
And the project is by default,which is epsg:4326.Now I want to use Web 
Mercator Projection,Can you tell me how to write the mapfile's 
projection label?And Do I need to change my shpfile's projection?

Waiting for your answers,thanks very much!



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[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 
was assuming a dpi of 90 instead of 72.  I tried changing the RESOLUTION 
parameter in my mapfile to 90, but (and I already knew this) changing 
the RESOLUTION value only affects the sizes of features in the map, not 
the output map size.


I edited the svg xml for the size to be in px instead of pt, which 
seemed to make the svg draw the same size as the png in Chrome and 
Firefox.  Is there a way to have the units for cairo output images set 
to be pixels instead of points?  Am I wrong in thinking there is a 
problem with the way it works now?


Thanks,
Christy
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Label priorities in MapServer 6

2012-03-22 Thread Christy Nieman

Hi,

I was hoping someone could confirm the following for me:

In MapServer 5.6, labelling seems to still honour the last in-first out 
idea, in addition to priorities.  I.e.  when two layers have the same 
label priority, the one that appears closest to the end of the mapfile 
will take priority over the one that appeared earlier in the mapfile.


In MapServer 6, it seems that of these two layers with the same 
priority, the layer that appears first in the mapfile will take 
priority over the layer that appears later.


Is this correct, or am I missing something?

Thanks,
Christy
--
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 Nieman wrote:

Hi,

I was hoping someone could confirm the following for me:

In MapServer 5.6, labelling seems to still honour the last in-first 
out idea, in addition to priorities.  I.e.  when two layers have the 
same label priority, the one that appears closest to the end of the 
mapfile will take priority over the one that appeared earlier in the 
mapfile.


In MapServer 6, it seems that of these two layers with the same 
priority, the layer that appears first in the mapfile will take 
priority over the layer that appears later.


Is this correct, or am I missing something?

Thanks,
Christy

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[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 evaluates to 
true or false.  Makes sense.  Now, is there a way to make it so that a 
grouping by attribute value happens?  i.e. if I have data with vehicle 
types in it and want the data to be clustered by type - car, truck and 
van for example - is there a way to do this without having three layers 
where each one has a GROUP expression for each vehicle type?


Thanks,
Christy
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] TYPE UNION and STYLEITEM

2011-05-03 Thread Christy Nieman

Hello,

I was wondering if someone could let me know if my logic here is flawed...

I am testing layers of TYPE UNION.  I have two point data files and if I 
have classes in the UNION'ed layer, they draw correctly.  E.g.:


# ==
# Layer: Layer 1 for union
# ==
LAYER
  NAME layer_1_for_union
  STATUS OFF
  TYPE POINT
  SIZEUNITS PIXELS
  DATA points1
END

# ==
# Layer: Layer 2 for union
# ==
LAYER
  NAME layer_2_for_union
  STATUS OFF
  TYPE POINT
  SIZEUNITS PIXELS
  DATA points2
END

# ==
# Layer: UNION Layer
# ==
LAYER
  NAME union_layer
  STATUS DEFAULT
  TYPE POINT
  SIZEUNITS PIXELS
  CONNECTIONTYPE UNION
  CONNECTION layer_1_for_union,layer_2_for_union
  PROCESSING ITEMS=TYPE,ELEV
  CLASS
NAME At 4ft or lower
EXPRESSION ([ELEV] = 4)
STYLE
  SYMBOL 'circle'
  COLOR 0 255 0
  SIZE 15
END
  END
  CLASS
NAME Above 4ft
EXPRESSION ([ELEV] = 100)
STYLE
  SYMBOL 'circle'
  COLOR 0 255 255
  SIZE 15
END
  END
  CLASS
NAME Other
STYLE
  SYMBOL 'circle'
  COLOR 180 180 180
  SIZE 15
END
  END
END

However, if I have styling in the source layers (i.e. layer_1_for_union 
and layer_2_for_union) and use STYLEITEM AUTO 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 Solutions Group, Inc.
Email: cnie...@dmsolutions.ca
Web: http://dmsolutions.ca
Phone: 613-565-5056 x12
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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.  Something like:


   STYLE
  SYMBOL rail
  GAP -3
  SIZE 5
  COLOR 0 0 0
   END


And in the symbol file:

   SYMBOL
NAME rail
TYPE TRUETYPE
FONT sc
CHARACTER '|'
   END




Christy

On 04/27/2011 11:51 AM, 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 giving the same appearence?

SYMBOL
 NAME rail
 TYPE TRUETYPE
 FONT sc
 CHARACTER '|'
 GAP -3
END
SYMBOL
 NAME railfar
 TYPE SIMPLE
 PATTERN 5 5 END
END


-Jukka Rahkonen-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 
now seems fine.


Christy

On 04/21/2011 04:59 AM, thomas bonfort wrote:

Christy,
Can you confirm that the bug disappeared with the latest libpng beta ?

--
thomas

On Wed, Apr 20, 2011 at 16:39, Christy Niemancnie...@dmsolutions.ca  wrote:

Aha, thanks Thomas.  I hadn't found that.

On 04/20/2011 10:28 AM, thomas bonfort wrote:

Christy,
I suspect this is due to a bug in libpng. see

http://sourceforge.net/tracker/index.php?func=detailaid=3288207group_id=5624atid=105624
.

On Wed, Apr 20, 2011 at 15:20, Christy Niemancnie...@dmsolutions.ca
  wrote:

Hi,

I compiled MapServer 6.0 beta6 against libpng 1.5.2 and encountered the
following problems:

when using the default png IMAGETYPE (i.e. no OUTPUTFORMAT block), I got
yellowstriped maps (see cyprus.png)
when using the AGG/PNG driver and IMAGEMODE RGBA, the output image
looks
fine
when using the default png8 IMAGETYPE, the output image looks fine

I also compiled with cairo, and with the driver set to CAIRO/PNG, I had
the
same yellowstriped maps.

rgba and png8 use different png formats. agg/png and cairo/png use the
same codepath when saving images, so the behavior your are observing
is normal.


With libpng 1.2.44, everything seems to work properly.  Has anyone else
seen
this problem with libpng 1.5?  Should it work properly with MapServer?

Regards,
Christy

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 label 
block as well.


Regards,
Christy

On 01/26/2011 05:52 AM, Теплов Сергей Геннадьевич wrote:

Hello!

I have a problem with using mapserver to render streets and labels to them.
I want  the labels to be rendered on the streets. If a street has any turn I 
want to have a curved label to it.
So, I read an article about that: 
http://mapserver.org/development/rfc/ms-rfc-11.html#rfc11 .
This idea was passed in 2006, but I haven't found any messages about solution.
I am using mapserver-5.6.6.tar.gz  release, but keyword FOLLOW doesn't work 
right, see screenshot.
I think it is a common task. What is the easiest way to solve this problem?

Thanks, Sergey.


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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, Ian Walberg wrote:


Hello list,

Can anyone advise us what tools are available for creating and editing 
UTF8 shape files.


Many thanks

Ian


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

2010-12-15 Thread Christy Nieman

Ian,

For future QGIS-related questions, QGIS user's list email address is 
here: qgis-u...@lists.osgeo.org


To import a delimited text file, there is a plugin called Add Delimited 
Text Layer.  It can then be saved to a shapefile by right-clicking on 
it in the list of Layers on the left.


Regards,
Christy

On 12/15/2010 12:53 PM, Ian Walberg wrote:


Christy,

Many thanks, that seems to do what we want.

Do you know how to import a UTF8 text from a CSV file?

Thanks

Ian

*From:*mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] *On Behalf 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 shapefile.


Regards,
Christy
--
Christy Nieman
GIS Technician
DM Solutions Group, Inc.
Email: cnie...@dmsolutions.ca mailto:cnie...@dmsolutions.ca
Web: http://dmsolutions.ca

On 12/15/2010 11:03 AM, Ian Walberg wrote:

Hello list,

Can anyone advise us what tools are available for creating and editing 
UTF8 shape files.


Many thanks

Ian

  
  
___

mapserver-users mailing list
mapserver-users@lists.osgeo.org  mailto:mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 #00
END

Hah, I just saw that I was beaten to this.  Sent anyway to provide the 
example.


Christy


On 11/04/2010 07:55 AM, Sebastian E. Ovide wrote:

Hi All,

I have a lot of layers that are displayed using the same colors. If I 
need to change a color for, I have to go trough all the layers, one by 
one, and change all the colors..


Is there any way to define a CLASS (or a THEME ??) and just use it 
within all the layers that share that class ?


This is what I have:

  LAYER
...
...
CLASSITEM CLASS
CLASS
  EXPRESSION A
  COLOR #FF
END
...
...
...
CLASS
  EXPRESSION Z
  COLOR #00
END
  END

Thanks
--
Sebastian E. Ovide





___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

On 10/19/2010 10:17 AM, Rahkonen Jukka wrote:

Hi,
Can somebody affirm that using ogr tileindex is breaking the access to 
the attribute date of the real datasets, for example shapefiles?  
Somebody was trying to use WMS GetFeatureInfo with a ogrtindex layer 
and failed and so did I in the test I made for verification.  Now I 
have been trying myself to classify an orgtindex layer but 
CLASSITEM/EXPRESSION does not select anything. FILTERITEM/FILTER does 
not work either.  Both systems work if I change a huge combined 
shapefile in place of the tileindex connection and without EXPRESSION 
or FILTER Mapserver is drawing all the features OK.
If access to attribute data is not implemented, wouldn't it be cool to 
have it?  Multigigabyte shapefiles are tedious to update but I have a 
reason to use files instead of a database in this case.

-Jukka Rahkonen-


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 get thicker
lines with larger labels.  If you uncomment the MAXSCALEDENOM in the
smallest scale class, in 5.6.3 you get nothing, in 5.6.4 you get the
same thick lines and large labels as in the first test.

 

Can you please test again with the fix that Alan just made? See
http://trac.osgeo.org/mapserver/ticket/3173#comment:22

Daniel
   

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 shapefile with mapserver in a column there a label but i hope 
add some text like surface is  or number of foo : before the value 
in the shape file column..


did someone nknows how to doing that ?

if my column name TXT  where i set in label the string before ?

LABELITEM TXT
CLASS
NAME LabelParcelle
STYLE
SYMBOL 7
SIZE 3
OUTLINECOLOR 255 0 0
COLOR 255 0 0
END
LABEL
TYPE BITMAP
SIZE MEDIUM
COLOR 0 0 0
End #LABEL
END


thanks
Tonton


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
   
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 r g b
END

the only missing functionality to my knowledge lost from cartoline to
agg is triangle caps

regards,
thomas

On Fri, Apr 9, 2010 at 15:54, Mark Volzmarkv...@co.lyon.mn.us  wrote:
   

Thomas,

Here is the line on my error log:
[Fri Apr 09 08:30:05 2010].631000 msDrawLineSymbolAGG(): AGG library error.
Cartoline drawing is deprecated with AGG


Here is the part of my .map file that has a cartoline:

SYMBOL
Name myRailLine
TYPE cartoline
LINECAP butt
LINEJOIN bevel
LINEJOINMAXSIZE 1
STYLE 2 20 END
END # Symbol



Mark Volz
GIS Specialist
Lyon County, MN

-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
Sent: Friday, April 09, 2010 8:50 AM
To: Mark Volz
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] cartolines in AGG?

what's in the plain AGG rendering that's missing compared to cartolines?

--
thomas

On Fri, Apr 9, 2010 at 15:45, Mark Volzmarkv...@co.lyon.mn.us  wrote:
 

Hello

I received a warning on one of my maps that I had an AGG library error due
to Cartoline drawings being depreciated with AGG.  Is there a replacement
for cartoline or will we have to use other symbol types?

Thanks

Mark Volz

GIS Specialist

Lyon County, MN

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


   
 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
   

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 been moved to the STYLE block, and will be
deprecated at the symbol level.

--
thomas

On Fri, Apr 9, 2010 at 16:04, Christy Niemancnie...@dmsolutions.ca  wrote:
   

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 r g b
END

the only missing functionality to my knowledge lost from cartoline to
agg is triangle caps

regards,
thomas

On Fri, Apr 9, 2010 at 15:54, Mark Volzmarkv...@co.lyon.mn.uswrote:

   

Thomas,

Here is the line on my error log:
[Fri Apr 09 08:30:05 2010].631000 msDrawLineSymbolAGG(): AGG library
error.
Cartoline drawing is deprecated with AGG


Here is the part of my .map file that has a cartoline:

SYMBOL
Name myRailLine
TYPE cartoline
LINECAP butt
LINEJOIN bevel
LINEJOINMAXSIZE 1
STYLE 2 20 END
END # Symbol



Mark Volz
GIS Specialist
Lyon County, MN

-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
Sent: Friday, April 09, 2010 8:50 AM
To: Mark Volz
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] cartolines in AGG?

what's in the plain AGG rendering that's missing compared to cartolines?

--
thomas

On Fri, Apr 9, 2010 at 15:45, Mark Volzmarkv...@co.lyon.mn.uswrote:

 

Hello

I received a warning on one of my maps that I had an AGG library error
due
to Cartoline drawings being depreciated with AGG.  Is there a
replacement
for cartoline or will we have to use other symbol types?

Thanks

Mark Volz

GIS Specialist

Lyon County, MN

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



   


 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

   

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
   

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Rendering bridges

2010-02-03 Thread Christy Nieman

Hi,

If you draw it in two layers, one with the colour and width you want for 
the bridges, and the other with the road line to go on top, you will 
essentially cover up the end caps.  The bridges layer would have to come 
first in the mapfile, followed by the road line layer.


Christy
--
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 end caps. That's the real trick, turning those off. 
I'm not sure that you can.

Steve

-Original Message-
From: Fawcett, David (MPCA)
Sent: Wednesday, February 03, 2010 10:13 AM
To: Lime, Steve D (DNR); tommasodb; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] Rendering bridges

The feature that he is referencing is just a line segment with an additional 
attribute of 'bridge=yes'.

 * bridge: yes
 * highway: trunk
 * layer: 1
 * name: Manchester Road
 * ref: A56

If you just wanted to use the road data and not create an additional bridges 
data set, you would likely need to split up the road features so that the 
segment that is a bridge is an individual feature.

I haven't worked with any shapefile extracts from OSM, so the data may already 
be like this.

Assuming that you have a line shapefile that has a column called 'bridge', you 
could set up two classes in your roads layer.  The first one would have an 
expression like ('[bridge] = 'yes') and the second class wouldn't have an 
expression so it would catch the rest of the lines.

In the first class, you would stack two lines, the bottom one being the color 
of your bridge and wider than the roads line that will go on top of it.

David.

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Lime, Steve D 
(DNR)
Sent: Wednesday, February 03, 2010 9:50 AM
To: tommasodb; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] Rendering bridges

What feature type are bridges represented with in OpenStreetMap?

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of tommasodb
Sent: Wednesday, February 03, 2010 6:08 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Rendering bridges

Hallo list,

how can I render road bridges, like in mapnik?
(Example:
http://www.openstreetmap.org/?lat=53.398022lon=-2.35zoom=18layers=null)
Which symbol can I use?

Greets,
Tom
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
   


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 for polygons - I have no problem using it to specify a fill 
pattern, but I don't think it can be used to specify an outline style.


Christy

On 01/05/2010 02:59 PM, Andreas Douvalis wrote:
I test chameleon 2.6 with Mapserver 5.4 and I have problem with 
Polygons Symbols.
I have already  altered my Symbol.sym file to start with  SYMBOLSET 
and finish with END.
 In fact  I have problem only with polygons and their WIDTH. Lines and 
points works perfect.

it seems like mapserver can not read Symbol.sym  for polygons.
Here is a part of Layer section in map file:
//--
LAYER
NAME Perifereies
GROUP Διοικητικά Όρια
STATUS OFF
DATA C:\ms4w\apps\chameleon\samples\dataGreek\Dioikitika\Perifereies
TYPE POLYGON
UNITS METERS
LABELITEM NAME
METADATA
  wms_name Περιφέρειες
  wms_title  Περιφέρειες
  SPATIALSEARCH NAME,Έδρα_Περιφ,POP_1991_,POP_2001_,Embad_km2
  SPATIALSEARCHLIST NAME,Έδρα_Περιφ,POP_1991_,POP_2001_,Embad_km2
END
TEMPLATE Perifereies.dbf
CLASS
  NAME Perifereies
  STYLE
SYMBOL circle
SIZE 3
COLOR 12 112 255
OUTLINECOLOR 0 112 255
WIDTH 5
  END
END
END
//--
If I dont use '..SYMBOL circle.' and I write :
  STYLE
COLOR 12 112 255
OUTLINECOLOR 0 112 255
WIDTH 5
 END
 everything is ok  but then  I cannot control outline width.
Regarding the outputformat here is the part of my map file:
OUTPUTFORMAT
NAME 'AGG_Q'
DRIVER AGG/PNG
IMAGEMODE RGB
FORMATOPTION QUANTIZE_FORCE=ON
FORMATOPTION QUANTIZE_DITHER=OFF
FORMATOPTION QUANTIZE_COLORS=256
END

I HAVE ALREADY CHECK THE ABOVE LINK BUT THERE IS NO CHANGE REGARDING 
THE OUTLINE WIDTH


http://mapserver.org/faq.html#how-do-i-have-a-polygon-that-has-both-a-fill-and-an-outline-with-a-width 



ANY HELP PLEASE



Χρησιμοποιείτε Yahoo!
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την 
καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων

http://login.yahoo.com/config/mail?.intl=gr


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
   
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Multiple WRAP Characters

2009-12-03 Thread Christy Nieman

Hello all,

I realize this is largely a development-based question, but thought that 
users may be able to add to the discussion.


I've found some discussion about the feasibility of introducing the 
ability to specify multiple WRAP characters related to RFC 40.  Has 
there been any further discussion?  I have been working on a dataset 
with many French names, and am wondering how to proceed to have both 
spaces and hyphens treated as WRAP characters (I guess, for now, 
separate classes could be used.  Wouldn't be a perfect solution though).


Thanks for any insight you may be able 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/listinfo/mapserver-users


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

CLASSITEM “flavor”

…

EXPRESSION “cherry”

Suggested extension would be to allow for

CLASSITEM

…

EXPRESSION “cherry”,”mango”,”lime”

But really, syntax is not my concern. A could very well use 
expressions, but the documentation says they are not good for 
performance. And my first question is if I’ve missed something?




*Från:* Fawcett, David [mailto:david.fawc...@state.mn.us]
*Skickat:* 13 August 2009 15:39
*Till:* Lars Westerlind; mapserver-users@lists.osgeo.org
*Ämne:* RE: [mapserver-users] Classitems selection

Do you mean something like ('[flavor]' IN ('cherry', 'mango', 'lime')?

-Original Message-
*From:* mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] *On Behalf Of
*Lars Westerlind
*Sent:* Thursday, August 13, 2009 2:39 AM
*To:* mapserver-users@lists.osgeo.org
*Subject:* [mapserver-users] Classitems selection

I use the CLASSITEM – EXPRESSION with string expression rather
much, which is also recommended for performance. But sometimes I
have a few values that could be shown in the same class. Wouldn’t
it be a nice idea to allow for a commaseparated set/list of
strings to match?



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 raster file (9 GB) but before buying 
it we would need to know if mapserver can deal with this kind of images ( that 
large).
  I was reading the mapserver documentation but I couldn't find anything regarding this. 
   Is there any limitation with the image size or just those given by the image format ( for example the 4GB Geotiff limit)?

   Thanks in advance , regards.


Lic. Heraldo G. Rodriguez
  hrodrig...@siscat.com.ar
  TEL: 54-11-4326-4002 int 255
  Dpto. Desarrollo
  Sistemas Catastrales S.A
 
 



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 defining PROCESSING 'LABEL_NO_CLIP=1' for the layer.


Christy

Andy Colson wrote:

Lars Lingner wrote:

One last thought: Do you have this problem just with the layer
annotate_pin? Does the labeling of other layers work as you expect?


Hum... good question.  I'll try it Monday when I get back to work.  
Thanks for the help on this.


-Andy



Ok, took longer than I thought to get back to this, but I've tried it 
with the roads layer and still cannot adjust the distance between labels.


here is a screen shot:

http://maps.camavision.com/map2.png

I've changed MINDISTANCE from 9 to 90, and the image stays the 
same... the labels don't move.


If I set the layer.sizeunits to feet, then the font size scales with 
the image as I zoom in and out... I assume the font size is being set 
to 7 feet instead of 7 pixels?  (I have label.size = 7).  But still, 
the mindistance seems to make no difference.


Also, some of the labels are being messed up, in the screen shot you 
can see it.  And the road didnt get draw right either.


hum... it occurs to me... I dont know how many different lines were 
used to draw 110th st.  If they used multiple lines, would I get a 
label for each line?  Casper seemed to get one label.


-Andy
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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
   END
   ...
 END
 ...
END

Christy

BrainDrain wrote:

OL gutter helps with symbols but breaks labels. PARTIALS false doesn't help
in this case. I didn't find solution how to avoid breaking labels while
using gutter. I suppose the only one is to turn off gutter (prebuild OL map
clone with no gutter) on scales when symbols are turned off (if symbols are
visible in large scales then labels uses large font size and gutter works
fine with labels).

Aaron Racicot wrote:
  

Wendell,

Look at 'gutter' in OpenLayers.  It will allow you to get tiles slightly
larger from your Mapserver WMS to get rid of some of the artifacts:

http://dev.openlayers.org/docs/files/OpenLayers/Layer-js.html#OpenLayers.Lay
er.gutter

Hope that helps...

Aaron

--
Aaron Racicot
Z-Pulley Inc.


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Wendell
Turner
Sent: Thursday, June 18, 2009 4:59 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] clipping symbols at tile boundary?

(this must be basic, but here goes anyway...)

I'm using Mapserver 5.2 with OpenLayers 2.7.  I have a
vector mapserver layer with point objects (shown with circle
symbols) on it.  The vector layer referenced via
OpenLayers.Layer.WMS and is tiled.

The circles are displayed in the tile that the center is on,
but not the adjacent tiles.   That is, if a circle is near
the edge, part of the circle is chopped off.

Is that what 'BUFFER 10' fixes?  What about 'PARTIALS
FALSE'?  That seems to be just for labels, but that only
shows the label when it completely lies within the tile.
Do I need to turn off tiling completely?

Thanks,

Wendell

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users





  

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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, whos label
does not run over the line like that:

http://picasaweb.google.com/snaperski/Ort#5344831130138846050

As street lengths are very different, I cant solve the problem by
setting suitable MINFEATURESIZE for

respective MINSCALE,MAXSCALE range.


All the best,
Raivo Alla
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 the same problem, and had to add SYMBOLSET ... END to my
symbol files to have them running fine with MapServer 5.4.

Is it something newly added, or just a long lasting requisite become
mandatory ?

Regards,

Guillaume

Daniel Morissette a écrit :
  

Are you sure that the file you are editing is really the one used by
your mapfile? That's a common mistake... to verify that, try inserting
an invalid keyword in place of the SYMBOLSET keyword in your file and
verify that MapServer produces a parser error about it. If it doesn't
then it's probably not using the file you think it is.

Daniel


David Nugent wrote:
It starts (and ends) like this:

SYMBOLSET

  SYMBOL
NAMEpoint
TYPEELLIPSE
POINTS
1 1
END
FILLED  TRUE
  END

  SYMBOL
NAMEdashed
TYPEELLIPSE
POINTS
1 1
END
FILLED  TRUE
STYLE
8 6 8 6
END
  END

...

END


Regards,
David


On 30/04/2009, at 1:13 PM, Steve Lime wrote:



Can you share your symbolset file? I've not had an issue with that
change.

Steve

  

David Nugent dav...@datalinktech.com.au 04/29/09 9:54 PM 


Hello all,

I've recently upgraded to mapserver 5.4 and hit a problem with
SYMBOLSET.

It seems that a file containing symbols referenced from the .map file
must now contain a SYMBOLSET keyword at the start (and presumably end
with END?). I made this change, but the parser still complains with
the message First token must be SYMBOLSET.

Not really wanting to waste time on debugging the lex code, I simply
removed the check that emits this error from mapsymbol.c and all works
as expected. Obviously there is a deeper problem, whether it be the
logic in that statement (which appears to be correct as far as I can
tell) or the lex parser itself.

I'm just wondering if anyone else had hit the same problem.
  

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 localities on a map, and I 
don't want points or labels to appear alone.
 
The problem is with LABELCACHE that when turned on, the points are all 
drawn, but only the labels that fit on the map will be drawn. This 
leads to some points without the correspondent labels. I think 
LABELCAHE turned off is not an option, because then the labels will be 
overlapped.
 
Any ideas?
 
Thanks,
 
Nelson



Get news, entertainment and everything you care about at Live.com. 
Check it out! http://www.live.com/getstarted.aspx%20



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

2009-04-28 Thread Christy Nieman

Hi,

You can use an annotation layer with a symbol.  Something like:

LAYER
 NAME labels
 TYPE ANNOTATION
 DATA /your/data/path/
 STATUS ON
 LABELITEM RD_NUM

 CLASS
   NAME road_numbers
   STYLE
 SYMBOL 'rectangle'
 COLOR 255 255 255
 OUTLINECOLOR 0 0 0
 SIZE 16
   END
   LABEL
 TYPE TRUETYPE
 ANTIALIAS TRUE
 FONT myfont
 SIZE 8
 POSITION CC
 COLOR  0 0 0
 PARTIALS FALSE
   END
 END
END

and the symbol would be something like:
SYMBOL
 NAME 'rectangle'
 TYPE VECTOR
 POINTS
   0 0
   0 14
   25 14
   25 0
   0 0
 END
 FILLED TRUE
END

Regards,
--
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 I only see an 
outline for the letters and not for the background. Does Mapserver 
support it?
 
You can see the labels (L2150, K2, K7) with white background and black 
outline at:
 
http://maps.google.com/maps?ie=UTF8ll=50.764911,10.953197spn=0.038979,0.11158z=14 
http://maps.google.com/maps?ie=UTF8ll=50.764911,10.953197spn=0.038979,0.11158z=14
 
Thanks,
 
Nelson



Get news, entertainment and everything you care about at Live.com. 
Check it out! http://www.live.com/getstarted.aspx%20



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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.
Email: cnie...@dmsolutions.ca
Web: http://dmsolutions.ca
Web: http://research.dmsolutions.ca

Ernesto Barrera wrote:



Hi there,

I'm dealing with a layer containing polygon data for a given country 
(shapefile).

Color inside the polygon can be easily set via COLOR style parameter.
I'm just looking for a way to apply color to the outside of the 
polygon (i.e.:, paint the surrounding sea in solid blue)


Is there such a method inside Mapserver?
Is there a way to 'reverse' the shapefile to indicate that the wanted 
feature is not inside the boudaries but the complementary area?


Thanks in advance,


PD.: My single layer is like this

LAYER
 NAMEmycountry
 DATA mycountry.shp
 TYPE POLYGON
 STATUS ON
   CLASS
 NAME   boundaries
 STYLE
   COLOR255 0 0   # country area shown in red
 END
   END
END



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 wrote:

Hi
 I have problem with a Symbol, I define some configurations 
parameters for my labels, this works for labels but not for symbols
 
if you look the image attached the red labels are from the symbol.. I 
need to display on the map only the symbols of the labels and not 
symbols with no labels.
 
Layer:
 


  LAYER
NAME 'centro_urbano_punto'
TYPE POINT
DATA 'centro_urbano_punto.shp'
METADATA
  'wms_title' 'centro_urbano_punto'
END
STATUS DEFAULT
MAXSCALE 1988400
TRANSPARENCY 100
PROJECTION
'proj=longlat'
'ellps=WGS84'
'datum=WGS84'
'no_defs'
''
END
LABELITEM 'NAME'
CLASS
   NAME 'centro_urbano_punto'
   STYLE
 SYMBOL 'circle'
 SIZE 3
 OUTLINECOLOR 161 189 196
 COLOR 0 0 0
  
   END

   LABEL
SIZE 6
TYPE TRUETYPE
FONT georgia
ANTIALIAS TRUE
BUFFER 20
COLOR 110 0 0
   OUTLINECOLOR 255 255 255
   OUTLINEWIDTH 3
   
FORCE false

MINDISTANCE -1
MINFEATURESIZE -1
OFFSET 2 0
PARTIALS FALSE
POSITION AUTO
  END
END
  END 
 
 
 
   #Circle symbol

  SYMBOL
NAME 'CIRCLE'
TYPE ellipse
ANTIALIAS TRUE
FILLED true
POINTS
  1 1
END
  END
 
I attach image
 
help please...
 
RG






___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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...@dmsolutions.ca
Web: http://dmsolutions.ca
Web: http://research.dmsolutions.ca
Phone: 613-565-5056 x12

MeLv1n wAuRaN wrote:


Ok from the example:  gdaltindex doq_index.shp doq/*.tif   how do i
include the different tif files? 

for example there are 3 .tif : 1. sample_1.tif  
   2. sample_2.tif

   3. sample_3.tif

location: c:\ms4w\data\raster\

how will the syntax look like when i create an index name sample_index?





--- On *Fri, 1/30/09, Christy Nieman /cnie...@dmsolutions.ca/* wrote:

From: Christy Nieman cnie...@dmsolutions.ca
Subject: Re: [mapserver-users] problem with raster data..
To: death_knight0...@yahoo.com
Cc: mapserver-users@lists.osgeo.org
Date: Friday, January 30, 2009, 10:27 AM

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.  In the shapefile there 
will be
one feature that is the bounding box of each raster file, and an attribute 
that
contains the path to the raster that each feature represents.

Christy

MeLv1n wAuRaN wrote:
 hi all,
 
 right now i have 50 .TIF files (a whole map of my region) my question is,

is it possible for mapserver to load 50 .TIF files all together as a 
basemap?
because from the tutorial i read, the samples only load 1 raster file..so,
i'm wondering if it's possible to load all the 50 TIF files to the same
.MAP
 
 if not, then how do i merge all the TIF files into a single TIF?

 because
when i load them all together in ArcMap it forms a whole map.
 
 for the information, i'm still a newbie...so i still need alot of

advices from the experts.
 
 thanks for your help,

 Melvin
 
 
 
 
 ___

 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users
   





___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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.  In the 
shapefile there will be one feature that is the bounding box of each 
raster file, and an attribute that contains the path to the raster that 
each feature represents.


Christy

MeLv1n wAuRaN wrote:

hi all,

right now i have 50 .TIF files (a whole map of my region) my question 
is, is it possible for mapserver to load 50 .TIF files all together as 
a basemap? because from the tutorial i read, the samples only load 1 
raster file..so, i'm wondering if it's possible to load all the 50 TIF 
files to the same .MAP


if not, then how do i merge all the TIF files into a single TIF? 
because when i load them all together in ArcMap it forms a whole map.


for the information, i'm still a newbie...so i still need alot of 
advices from the experts.


thanks for your help,
Melvin




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

2009-01-28 Thread Christy Nieman

Hi,

As far as I know, there is no particular limiting data size that 
MapServer can work with.  A lot will depend on how you optimize the data 
(see http://mapserver.org/optimization/index.html ).  I am currently 
working on a map that has more than 60GB of vector data (shapefiles) and 
64GB of raster data (geotiffs).  There are other methods not discussed 
in the optimization document that can also be explored (e.g. using 
shp2tile/tile4ms, to create tiled shapefiles so that only the required 
features are considered for a given map extent) but I would suggest 
trying out the described 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: http://dmsolutions.ca
Web: http://research.dmsolutions.ca

cemre yilmaz wrote:
Hi everybody I search about the data handling capacity and also the 
performance of umn mapserver in the mailing list but I can't find an 
exact answer to my question. I want to execute a database nearly 5 GB 
and only the vector data (shapefiles) and may be one raster map will 
be in my database. What do you think about the data handling 
performance of the 5 GB data and also the maximum data capacity of the 
mapserver?   
 
Coul you please give me information or information link 
about the question.
 
Thanks..
 
Cemre YILMAZ



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  

--
Christy Nieman
GIS Technician
DM Solutions Group, Inc.
Email: cnie...@dmsolutions.ca
Web: http://dmsolutions.ca
Web: http://research.dmsolutions.ca
Phone: 613-565-5056 x12
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

2009-01-26 Thread Christy Nieman

Hi,

As already mentioned, what is missing is the LABELITEM in your layer 
definition.  Without this, MapServer will not know what attribute to use 
for labelling.  Your layer should look something like this:


# Road tracks
LAYER
   NAME 'mytown'
   TYPE LINE
   DATA '/var/www/manual/examples/mytown/data/mytown.shp'
*LABELITEM road_name*
   METADATA
 'wms_title' 'mytown'
  'gml_include_items' 'all'
   END
DUMP TRUE
   STATUS DEFAULT
   TRANSPARENCY 80
   PROJECTION
 'proj=longlat'
 'ellps=WGS84'
 'datum=WGS84'
 'no_defs'
 ''
   END

 CLASS
   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, Inc.
Email: cnie...@dmsolutions.ca
Web: http://dmsolutions.ca
Web: http://research.dmsolutions.ca

kende wrote:

Hi Jukka,

Thank you for your reply, I did RTFM before posting my question, and tried
LABELITEM (that was one of the several 'ways' quote in my original post),
also tried a separate layer for just the road names (separate and grouped),
and may other things, and none seemed to work, I didn't want to add too much
clutter
to my post, and my mapfile went through a lot of 'revisions/versions'.

Thanks.


Hi,

Looks like there is no LABELITEM set on layer descriptions.  Document An
introduction to MapServer (http://www.mapserver.org/introduction.html) does
mention LABELITEM but that part of text is messy.  Perhaps it should be
reviewed.

-Jukka Rahkonen-



  


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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]
Web: http://dmsolutions.ca
Web: http://research.dmsolutions.ca

Raivo Alla wrote:

Hi!

I have question about AGG incapability to handle CARTOLINE type of
symbols which in my case leads to problem - I can't figure out how I
can manage to describe symbol
seen here: http://picasaweb.google.com/snaperski/Ort#5264703564091103650

With GD rendering I could use symbol definition as follows:

SYMBOL
  NAME dotline
  TYPE cartoline
  LINECAP butt
  LINEJOIN miter
  LINEJOINMAXSIZE 3
  STYLE
  1 20 1 20
  END
END

and in mapfile describe the style like that:

 CLASS
  NAME Elektriliin
  EXPRESSION '10'
  STYLE
   SYMBOL line
   SIZE 1
   COLOR 0 0 0
  END
  STYLE
   SYMBOL dotline
   SIZE 8  #vertical stripes
   COLOR 0 0 0
  END
 END

How I can do that without cartolines?


Sincerely,
Raivo Alla
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

  

--
Christy Nieman
GIS Technician
DM Solutions Group, Inc.
Email: [EMAIL PROTECTED]
Web: http://dmsolutions.ca
Web: http://research.dmsolutions.ca
Phone: 613-565-5056 x12
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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.


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]
Web: http://dmsolutions.ca
Web: http://research.dmsolutions.ca

Raivo Alla wrote:

Hi!

I have question about AGG incapability to handle CARTOLINE type of
symbols which in my case leads to problem - I can't figure out how I
can manage to describe symbol
seen here: http://picasaweb.google.com/snaperski/Ort#5264703564091103650

With GD rendering I could use symbol definition as follows:

SYMBOL
  NAME dotline
  TYPE cartoline
  LINECAP butt
  LINEJOIN miter
  LINEJOINMAXSIZE 3
  STYLE
  1 20 1 20
  END
END

and in mapfile describe the style like that:

 CLASS
  NAME Elektriliin
  EXPRESSION '10'
  STYLE
   SYMBOL line
   SIZE 1
   COLOR 0 0 0
  END
  STYLE
   SYMBOL dotline
   SIZE 8  #vertical stripes
   COLOR 0 0 0
  END
 END

How I can do that without cartolines?


Sincerely,
Raivo Alla
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

  

--
Christy Nieman
GIS Technician
DM Solutions Group, Inc.
Email: [EMAIL PROTECTED]
Web: http://dmsolutions.ca
Web: http://research.dmsolutions.ca
Phone: 613-565-5056 x12


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

2008-10-22 Thread Christy Nieman
I could be mistaken, but I believe that you can have as many ms4w's that 
you want so long as there is only one on a drive.  I.E. they each need 
to be installed to the root of the drive (one on C:\, one on D:\, 
etc.).  I know that this structure definitely works; I'm not sure if 
there are other 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) on win2k3?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

  


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 software myself i 
would use a different distro (Gentoo?).
I've been posting some stuff on the ubuntu forums too, but i don't get 
too much response there.
I guess that 5.2.0 doesn't get into lenny (and so ubuntu 8.10) because 
it hasn't been tested for long enough. It is still in the 
experimental repository (thanks nico mandery for pointing this out 
to me), so not even in unstable yet.
And that will probably mean that we won't see any higher than 5.0.x in 
lenny - the stable debian versions for the next ±4 years. I know it's 
a choice for stability and security -- all about priorities, so 
nothing to make a fuss about -- but it's unconfortable nonetheless.


So lets try a different angle: if OSGeo are providing a package 
manager for windows (osgeo4w), why not provide a repository for Debian 
/ Ubuntu and another one for RedHat / Fedora ?
Easy for me to say of course, but doesn't it seem unfair that Windows 
should be favoured above open source OS's ?

(then, maybe i got it all wrong, so please correct me)

cheers,

WBL


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 had when first released
for map compatibility reasons.  It would be something to discuss
with your distributions package maintainers.


--
Patriotism is the conviction that your country is superior to all 
others because you were born in it. - George Bernard Shaw
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 had when first released for map compatibility reasons.  
It would be something to discuss with your distributions package 
maintainers.


Christy

Willy-Bas Loos wrote:

wait,

osgeo4w has 5.0.2 (http://trac.osgeo.org/osgeo4w/wiki/pkg-mapserver) 
(like debian and ubuntu)

but ms4w has 5.2.0 (http://www.maptools.org/ms4w/index.phtml)
fedora 10 will have 5.2.0 
(http://koji.fedoraproject.org/koji/packageinfo?packageID=4354)


seems to me that the changelog shows enough reasons to use 5.2 instead 
of 5.0, although major and minor things get mixed up in all this text.
it would be nice to be able to see what the major improvements are, 
maybe add a little overview of the major stuff at the top?

(http://trac.osgeo.org/mapserver/browser/tags/rel-5-2-0/mapserver/HISTORY.TXT)

Anyways, i still don't understand what is keeping people from using 
the latest version.

Is there some dependency in the way?

cheers,

WBL


Why do debian lenny and ubuntu 8.10 only have mapserver 5.0.3 in
their package lists?
MS4W has 5.2.0, this is feeling all wrong!




--
Patriotism is the conviction that your country is superior to all 
others because you were born in it. - George Bernard Shaw



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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
 STATUS DEFAULT
 TYPE POLYGON
 SIZEUNITS PIXELS
 DATA states
 CLASS
   NAME States
   STYLE
 COLOR 242 236 230
   END
 END
END

#Line layer on the top
LAYER
 NAME State_Borders
 STATUS DEFAULT
 TYPE LINE
 SIZEUNITS PIXELS
 DATA states
 CLASS
   NAME State Borders
   STYLE
 COLOR 100 100 100
 WIDTH 4
   END
 END
END

Christy

Subha Ramakrishnan wrote:

Hi All,
I had asked about how to mention thickness of the border as the border 
was broken when i rendered the image.
It seems like when i say antialias true, i get a broken border and a 
proper one if i don't use it.

Does anyone know why this is happening?

Subha

Subha Ramakrishnan wrote:

Hi,

I am generating an image of states of India using mapserver.
I want to know if i can mention the size of the outline/border for 
each state.[each polygon]
I am using outlinecolor to mention the color of the border but it is 
not being drawn properly.Earlier when i was not coloring the 
polygons/states,i could resolve this issue using width 2.

Does anyone know how to do it?

Thanks  regards,
Subha
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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 import it into a GIS to create, for example, a shapefile.




Subject:
[mapserver-users] GPS to GIS
From:
Peter Falk [EMAIL PROTECTED]
Date:
Wed, 06 Aug 2008 14:22:00 +0200
To:
mapserver-users@lists.osgeo.org

To:
mapserver-users@lists.osgeo.org


Hi,

I have a table of GPS-coordinates that I want to use as POI. I've 
tried to find an algoritm to convert GPS-coordinates to 
GIS-coordinates but without luck.


It would be a great help if anyone could tell me how to do this 
translation. Thanks!


Regards
Peter Falk



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users