RE: [mapserver-users] Rendering Challenges

2011-05-09 Thread Lime, Steve D (DNR)
That's were a difference operator might come in handy since you're looking for 
more of a fill-type effect:

  GEOMTRANSFORM (difference([shape], buffer([shape], -2)))
  
or something like that.

Steve

-Original Message-
From: Brent Fraser [mailto:bfra...@geoanalytic.com] 
Sent: Monday, May 09, 2011 5:18 PM
To: Lime, Steve D (DNR)
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Rendering Challenges

Steve L.,

   Good point;  I couldn't do any of this in pre-6.0 either!

   I tried the buffer and it worked great (but we might have to work on 
the end-cap types in PDF output)! See http://i52.tinypic.com/2qjc9yv.jpg

Best Regards,
Brent Fraser


On 5/9/2011 2:36 PM, Lime, Steve D (DNR) wrote:
> These aren't specific to 6.0 though- more of a wish list...
>
> Item 1 might be doable in 6.0 as it sits. In 6.0 a style GEOMTRANSFORM is 
> really an expression and I exposed
> the GEOS buffer operator as a proof-of-concept. For example:
>
> STYLE
>GEOMTRANSFORM (buffer([shape], -2))
>OUTLINECOLOR 255 0 0
> END
>
> Should generate a single pixel red line on the inside of a polygon shape. You 
> can render it however you'd like.
> Note that a GEOMTRANSFORM is performed AFTER a shape is converted from map to 
> image coordinates so it's effective
> for rendering effects only.
>
> If we exposed a few others you'd be able to do some other interesting things 
> (like fills just inside a line...).
>
> The rest of the ideas are interesting and worthy of discussion.
>
> Steve
>
> -Original Message-
> From: mapserver-users-boun...@lists.osgeo.org 
> [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Brent Fraser
> Sent: Monday, May 09, 2011 2:52 PM
> To: mapserver-users@lists.osgeo.org
> Subject: [mapserver-users] Rendering Challenges
>
> While testing v6, I can up with the following list of things I
> couldn't do (see http://i56.tinypic.com/8vvprn.png for a graphic):
>
> 1. Render lines inside polygon boundary (with or without opacity)
> 2. Place polygon annotation on/inside boundary line
> (http://trac.osgeo.org/mapserver/ticket/1592 point 8.)
> 3. Rotate anno if required to fit inside a polygon
> 4. Place polygon annotation outside polygon if anno doesn't fit inside
> 5. Place line anno above (or below) when using ANGLE FOLLOW
> 6. Rotate vector symbols to follow lines (a font might work but is a
> pain to create)
> 7. User specified character spacing
> 8. Erase lines (but not other objects) under annotation
>
> My goal was to use the published shp files
> (http://ftp2.cits.rncan.gc.ca/pub/canvec/50k_shp/092/h/canvec_092h06_shp.zip)
> without modification and see how close I could get to the published PDF
> (http://ftp2.cits.rncan.gc.ca/pub/cantopo/50k_geopdf/092/h/cantopo_092h06_geopdf.zip).
>
>
> Any suggested rendering techniques are appreciated.  I'll file
> tickets for those problems deemed worthy.
>



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


Re: [mapserver-users] Rendering Challenges

2011-05-09 Thread Brent Fraser

Steve L.,

  Good point;  I couldn't do any of this in pre-6.0 either!

  I tried the buffer and it worked great (but we might have to work on 
the end-cap types in PDF output)! See http://i52.tinypic.com/2qjc9yv.jpg


Best Regards,
Brent Fraser


On 5/9/2011 2:36 PM, Lime, Steve D (DNR) wrote:

These aren't specific to 6.0 though- more of a wish list...

Item 1 might be doable in 6.0 as it sits. In 6.0 a style GEOMTRANSFORM is 
really an expression and I exposed
the GEOS buffer operator as a proof-of-concept. For example:

STYLE
   GEOMTRANSFORM (buffer([shape], -2))
   OUTLINECOLOR 255 0 0
END

Should generate a single pixel red line on the inside of a polygon shape. You 
can render it however you'd like.
Note that a GEOMTRANSFORM is performed AFTER a shape is converted from map to 
image coordinates so it's effective
for rendering effects only.

If we exposed a few others you'd be able to do some other interesting things 
(like fills just inside a line...).

The rest of the ideas are interesting and worthy of discussion.

Steve

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Brent Fraser
Sent: Monday, May 09, 2011 2:52 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Rendering Challenges

While testing v6, I can up with the following list of things I
couldn't do (see http://i56.tinypic.com/8vvprn.png for a graphic):

1. Render lines inside polygon boundary (with or without opacity)
2. Place polygon annotation on/inside boundary line
(http://trac.osgeo.org/mapserver/ticket/1592 point 8.)
3. Rotate anno if required to fit inside a polygon
4. Place polygon annotation outside polygon if anno doesn't fit inside
5. Place line anno above (or below) when using ANGLE FOLLOW
6. Rotate vector symbols to follow lines (a font might work but is a
pain to create)
7. User specified character spacing
8. Erase lines (but not other objects) under annotation

My goal was to use the published shp files
(http://ftp2.cits.rncan.gc.ca/pub/canvec/50k_shp/092/h/canvec_092h06_shp.zip)
without modification and see how close I could get to the published PDF
(http://ftp2.cits.rncan.gc.ca/pub/cantopo/50k_geopdf/092/h/cantopo_092h06_geopdf.zip).


Any suggested rendering techniques are appreciated.  I'll file
tickets for those problems deemed worthy.



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


Re: [mapserver-users] Rendering Challenges

2011-05-09 Thread Brent Fraser

Steve W.,

  The reason I'd like to minimize any pre-processing is that NRCan 
publishes about 30 GB of shapefiles for the map series.  And they 
publish a complete new version of these every 6 months.  Currently I 
build tileindexes, and I expect I'll have to do other pre-processing 
steps to get the rendered output I'd like.  The answer may be to load 
the data into PostGIS (every 6 months) and use its functions to make the 
data suitable for Mapserver.  Maybe not.


  I've been thinking about a pre-processing commandline utility based 
on OGR and the GEOS functions it supports (and other functions it will 
hopefully support in the future).  One thing  I have to do is a 
LineMerge on the rivers shapefile so they will label in Mapserver.  
Currently a river will have many short segments broken at every 
tributary preventing any segment to be long enough to support a label.


  Having a separate pre-calculated shapefile for polygon annotation 
might get me closer to my goal.  Dunno about the impact of having to 
support any arbitrary scale the user may view the map...  NRCan's 
cartographers have it easy; they just have to render the data a one 
scale!  And since it is [just] basemap data I suppose I could use Mapnik 
to render tiles, but that feels wrong.  I'd much rather help to improve 
Mapserver.


  As for the "erasing of lines", I want just the contour lines under 
the label not to be drawn.  I've used OUTLINECOLOR in the past but have 
been unhappy with the results (segments visible between characters, 
other features erased).  I suppose the lines could be clipped to the 
bounding boxes of the contour labels, but due to the potentially curved 
nature of the contour labels I think the clipping polygons would have to 
be something like the convex hull of the character boxes.


Best Regards,
Brent Fraser


On 5/9/2011 2:30 PM, Stephen Woodbridge wrote:

Brent,

I think this is an excellent list of features that we should strive to 
support in mapserver. I here that you ideal stated goal is to use the 
files as published, but as a close alternative I can see that having a 
utility to preprocess the files might make implementation faster and 
and more consistent. This thought is based on some simple ideas:


1. what is inside/outside of a polygon? While we can compute this for 
every polygon on every draw, I do not think we want to do that, so 
having a preprocessor that standardizes polygon node ordering would 
avoid this.


2. polygon label point and orientations. It would be nice to have a 
utility, or the one above, that can do some basic analysis of a 
polygon and pick the ideal label point and orientation. This then 
might create a companion label point shapefile or add additional 
attribute columns for this purpose. This approach also has the benefit 
that you could then edit the label point file to override the 
automatically generated point.


I think these two items would greatly increase our ability to 
implement in a consistent manner items 1, 2, 3, and 4.


On 5/9/2011 3:51 PM, Brent Fraser wrote:

While testing v6, I can up with the following list of things I couldn't
do (see http://i56.tinypic.com/8vvprn.png for a graphic):

1. Render lines inside polygon boundary (with or without opacity)
2. Place polygon annotation on/inside boundary line
(http://trac.osgeo.org/mapserver/ticket/1592 point 8.)
3. Rotate anno if required to fit inside a polygon
4. Place polygon annotation outside polygon if anno doesn't fit inside
5. Place line anno above (or below) when using ANGLE FOLLOW
6. Rotate vector symbols to follow lines (a font might work but is a
pain to create)
7. User specified character spacing
8. Erase lines (but not other objects) under annotation


For this one, do you want to erase ALL lines or just suspend drawing 
the line of the object being labeled? If you truely want to erase all 
lines, then you have to define what is a line! antialiased? wide 
lines? how is a line different from the highlighted edge of a polygon? 
or a line that has been drawn as a wide street with shoulders and a 
centerline?


Currently we support drawing a multi-pixel halo around the text the in 
effect erases/replaces everything under the halo.


I like your example image as a great use case.

Thanks,
  -Steve



My goal was to use the published shp files
(http://ftp2.cits.rncan.gc.ca/pub/canvec/50k_shp/092/h/canvec_092h06_shp.zip) 


without modification and see how close I could get to the published PDF
(http://ftp2.cits.rncan.gc.ca/pub/cantopo/50k_geopdf/092/h/cantopo_092h06_geopdf.zip). 




Any suggested rendering techniques are appreciated. I'll file tickets
for those problems deemed worthy.



___
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/listinf

[mapserver-users] WFS with 6.0.0 Beta RC2

2011-05-09 Thread Arnd Wippermann
Hi,

I'm trying to get WFS working with 6.0.0 Beta RC2.

If i use MapServer 5.6.5 a wfs post request returns the features.
If I use MapServer 6.0.0 the same post request responses with
...missing.

The BBOX coordinates, the mapfile projection and layer is in EPSG:3763. 
In the WEB METADATA Block is set 'wfs_srs' 'EPSG:3763'
There is no reprojection needed.

Is there something I have to consider, when using MapServer Version 6.0.0
and WFS.

Arnd

POST

http://www.opengis.net/wfs"; service="WFS"
version="1.0.0" maxFeatures="100">

http://www.opengis.net/ogc";>

msgeometry
http://www.opengis.net/gml"; srsName="EPSG:3763">
-535786.68671593,-509560.89777426
559489.72019154,364218.61581997






RESPONSE MapServer 5.6.5


http://mapserver.gis.umn.edu/mapserver";
   xmlns:wfs="http://www.opengis.net/wfs";
   xmlns:gml="http://www.opengis.net/gml";
   xmlns:ogc="http://www.opengis.net/ogc";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd 
   http://mapserver.gis.umn.edu/mapserver
http://dir/mapserv.exe?map=mapfile&Service=WFS&SERVICE=WFS&VERSI
ON=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=default&OUTPUTFORM
AT=XMLSCHEMA">
  

-21537.507741,-91486.277029
44944.469424,-56235.046915

  

  


-21441.941044,-67958.139907
-11234.384166,-56235.046915




  

  -21441.941044,-56235.046915
-11234.384166,-56256.314719 -16838.013555,-67958.139907
-21441.941044,-56235.046915 

  


No 1
AREA
  

...


RESPONSE MapServer 6.0.0


http://mapserver.gis.umn.edu/mapserver";
   xmlns:wfs="http://www.opengis.net/wfs";
   xmlns:gml="http://www.opengis.net/gml";
   xmlns:ogc="http://www.opengis.net/ogc";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd 
   http://mapserver.gis.umn.edu/mapserver
http://dir/mapserv.exe?map=mapfile&Service=WFS&SERVICE=WFS&VERSI
ON=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=default&OUTPUTFORM
AT=XMLSCHEMA">
   
  missing
   


LOG Entry

[Mon May 09 22:11:54 2011].666000 CGI Request 1 on process 3968
[Mon May 09 22:11:54 2011].666000 msQueryByFilter(): Search returned no
results. No matching record(s) found.
[Mon May 09 22:11:54 2011].713000 msProjectRect(): some points failed to
reproject, doing internal sampling.
[Mon May 09 22:11:54 2011].713000 mapserv request processing time (msLoadMap
not incl.): 0.047s
[Mon May 09 22:11:54 2011].713000 msFreeMap(): freeing map at 0184A9E8.






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


RE: [mapserver-users] Rendering Challenges

2011-05-09 Thread Lime, Steve D (DNR)
These aren't specific to 6.0 though- more of a wish list...

Item 1 might be doable in 6.0 as it sits. In 6.0 a style GEOMTRANSFORM is 
really an expression and I exposed
the GEOS buffer operator as a proof-of-concept. For example:

STYLE
  GEOMTRANSFORM (buffer([shape], -2))
  OUTLINECOLOR 255 0 0
END

Should generate a single pixel red line on the inside of a polygon shape. You 
can render it however you'd like.
Note that a GEOMTRANSFORM is performed AFTER a shape is converted from map to 
image coordinates so it's effective
for rendering effects only.

If we exposed a few others you'd be able to do some other interesting things 
(like fills just inside a line...).

The rest of the ideas are interesting and worthy of discussion.

Steve  

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Brent Fraser
Sent: Monday, May 09, 2011 2:52 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Rendering Challenges

   While testing v6, I can up with the following list of things I 
couldn't do (see http://i56.tinypic.com/8vvprn.png for a graphic):

1. Render lines inside polygon boundary (with or without opacity)
2. Place polygon annotation on/inside boundary line 
(http://trac.osgeo.org/mapserver/ticket/1592 point 8.)
3. Rotate anno if required to fit inside a polygon
4. Place polygon annotation outside polygon if anno doesn't fit inside
5. Place line anno above (or below) when using ANGLE FOLLOW
6. Rotate vector symbols to follow lines (a font might work but is a 
pain to create)
7. User specified character spacing
8. Erase lines (but not other objects) under annotation

   My goal was to use the published shp files 
(http://ftp2.cits.rncan.gc.ca/pub/canvec/50k_shp/092/h/canvec_092h06_shp.zip) 
without modification and see how close I could get to the published PDF 
(http://ftp2.cits.rncan.gc.ca/pub/cantopo/50k_geopdf/092/h/cantopo_092h06_geopdf.zip).
 


   Any suggested rendering techniques are appreciated.  I'll file 
tickets for those problems deemed worthy.

-- 
Best Regards,
Brent Fraser


___
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 Challenges

2011-05-09 Thread Stephen Woodbridge

Brent,

I think this is an excellent list of features that we should strive to 
support in mapserver. I here that you ideal stated goal is to use the 
files as published, but as a close alternative I can see that having a 
utility to preprocess the files might make implementation faster and and 
more consistent. This thought is based on some simple ideas:


1. what is inside/outside of a polygon? While we can compute this for 
every polygon on every draw, I do not think we want to do that, so 
having a preprocessor that standardizes polygon node ordering would 
avoid this.


2. polygon label point and orientations. It would be nice to have a 
utility, or the one above, that can do some basic analysis of a polygon 
and pick the ideal label point and orientation. This then might create a 
companion label point shapefile or add additional attribute columns for 
this purpose. This approach also has the benefit that you could then 
edit the label point file to override the automatically generated point.


I think these two items would greatly increase our ability to implement 
in a consistent manner items 1, 2, 3, and 4.


On 5/9/2011 3:51 PM, Brent Fraser wrote:

While testing v6, I can up with the following list of things I couldn't
do (see http://i56.tinypic.com/8vvprn.png for a graphic):

1. Render lines inside polygon boundary (with or without opacity)
2. Place polygon annotation on/inside boundary line
(http://trac.osgeo.org/mapserver/ticket/1592 point 8.)
3. Rotate anno if required to fit inside a polygon
4. Place polygon annotation outside polygon if anno doesn't fit inside
5. Place line anno above (or below) when using ANGLE FOLLOW
6. Rotate vector symbols to follow lines (a font might work but is a
pain to create)
7. User specified character spacing
8. Erase lines (but not other objects) under annotation


For this one, do you want to erase ALL lines or just suspend drawing the 
line of the object being labeled? If you truely want to erase all lines, 
then you have to define what is a line! antialiased? wide lines? how is 
a line different from the highlighted edge of a polygon? or a line that 
has been drawn as a wide street with shoulders and a centerline?


Currently we support drawing a multi-pixel halo around the text the in 
effect erases/replaces everything under the halo.


I like your example image as a great use case.

Thanks,
  -Steve



My goal was to use the published shp files
(http://ftp2.cits.rncan.gc.ca/pub/canvec/50k_shp/092/h/canvec_092h06_shp.zip)
without modification and see how close I could get to the published PDF
(http://ftp2.cits.rncan.gc.ca/pub/cantopo/50k_geopdf/092/h/cantopo_092h06_geopdf.zip).


Any suggested rendering techniques are appreciated. I'll file tickets
for those problems deemed worthy.



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


[mapserver-users] Rendering Challenges

2011-05-09 Thread Brent Fraser
  While testing v6, I can up with the following list of things I 
couldn't do (see http://i56.tinypic.com/8vvprn.png for a graphic):


1. Render lines inside polygon boundary (with or without opacity)
2. Place polygon annotation on/inside boundary line 
(http://trac.osgeo.org/mapserver/ticket/1592 point 8.)

3. Rotate anno if required to fit inside a polygon
4. Place polygon annotation outside polygon if anno doesn't fit inside
5. Place line anno above (or below) when using ANGLE FOLLOW
6. Rotate vector symbols to follow lines (a font might work but is a 
pain to create)

7. User specified character spacing
8. Erase lines (but not other objects) under annotation

  My goal was to use the published shp files 
(http://ftp2.cits.rncan.gc.ca/pub/canvec/50k_shp/092/h/canvec_092h06_shp.zip) 
without modification and see how close I could get to the published PDF 
(http://ftp2.cits.rncan.gc.ca/pub/cantopo/50k_geopdf/092/h/cantopo_092h06_geopdf.zip). 



  Any suggested rendering techniques are appreciated.  I'll file 
tickets for those problems deemed worthy.


--
Best Regards,
Brent Fraser


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


[mapserver-users] Problem with raster file and layer's getExtent method

2011-05-09 Thread Carlos Ruiz
Hi list,

I'm using the getExtent method of layer object with PHP Mapscript, works fine 
with PostGIS layers but with a 

raster files I get some troubles.

I have a DEM.IMG file, using gdalinfo -nomd dem.img throws this:

Driver: HFA/Erdas Imagine Images (.img)
...
Coordinate System is:
PROJCS["UTM Zone 13, Northern Hemisphere",
...

Corner Coordinates:
Upper Left  (  687178.570, 2247514.668) (103d12'26.04"W, 20d18'59.14"N)
Lower Left  (  687178.570, 2243914.668) (103d12'27.39"W, 20d17'2.08"N)
Upper Right (  690918.570, 2247514.668) (103d10'17.13"W, 20d18'57.80"N)
Lower Right (  690918.570, 2243914.668) (103d10'18.51"W, 20d17'0.75"N)
Center  (  689048.570, 2245714.668) (103d11'22.27"W, 20d17'59.94"N)
...


But $layer->getExtent() has the following extent:

-2500, -2500, 2500, 2500

Is there another way to get the raster file extent ?

Thanks in advance
 

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


[mapserver-users] opacity and outputformat

2011-05-09 Thread Marc-André Trottier
hi!
how can i get a output with opacity on 2 or more layers.
with only 1 layer it's working fine but not with 2 or more.

How should be written OPACITY when using IMAGEMODE RGBA ? (ALPHA)
i tried something like OPACITY 22,22,22,22 but looks bad

in all my tests, all i got was my 2 layers with full opacity (100) ...

here is my mapfile :

 MAP
  EXTENT -8146324.306063 5632144.09953312 -8137075.425642 5638229.88815488
  FONTSET "fonts"
  IMAGECOLOR 255 255 255
  IMAGETYPE AGGA
  SIZE 732 482
  STATUS ON
  UNITS METERS
  NAME "MS"

 OUTPUTFORMAT
 NAME 'AGGA'
 DRIVER AGG/PNG
 IMAGEMODE RGBA
 TRANSPARENT TRUE
END

  PROJECTION
"init=epsg:900913"
  END
  LEGEND
IMAGECOLOR 255 255 255
KEYSIZE 20 10
KEYSPACING 5 5
LABEL
  ANGLE 0.00
  ANTIALIAS TRUE
  FONT "arial"
  MAXSIZE 256
  MINSIZE 4
  SIZE 10
  TYPE TRUETYPE
  BUFFER 0
  COLOR 255 255 255
  FORCE FALSE
  MINDISTANCE -1
  MINFEATURESIZE -1
  OFFSET 0 0
  PARTIALS TRUE
END
OUTLINECOLOR 0 0 0
POSITION LR
POSTLABELCACHE TRUE
STATUS EMBED
TRANSPARENT FALSE
  END

  QUERYMAP
COLOR 255 255 0
SIZE -1 -1
STATUS OFF
STYLE HILITE
  END

  SCALEBAR
ALIGN CENTER
COLOR 0 0 0
IMAGECOLOR 255 255 255
INTERVALS 4
LABEL
  SIZE MEDIUM
  TYPE BITMAP
  BUFFER 0
  COLOR 0 0 0
  FORCE FALSE
  MINDISTANCE -1
  MINFEATURESIZE -1
  OFFSET 0 0
  PARTIALS TRUE
  POSITION CR
END
OUTLINECOLOR 0 0 0
POSITION LL
SIZE 200 3
STATUS EMBED
STYLE 0
UNITS METERS
  END

  WEB
IMAGEPATH "path"
IMAGEURL ""
QUERYFORMAT text/html
LEGENDFORMAT text/html
BROWSEFORMAT text/html
  END

  LAYER
CONNECTION "PATATE3"
CONNECTIONTYPE WMS
DEBUG 5
METADATA
  "wms_srs""EPSG:900913"
  "wms_name""PATATE3"
  "wms_format""image/png"
  "wms_server_version""1.1.1"
END
NAME "Carte"
PROCESSING "CLOSE_CONNECTION=NORMAL"
PROJECTION
  "init=epsg:900913"
END
STATUS ON
TRANSFORM FALSE
TYPE RASTER
UNITS METERS
  END

  LAYER
CONNECTION "PATATE2"
CONNECTIONTYPE WMS
DEBUG 5
METADATA
  "wms_srs""EPSG:900913"
  "opacity""100"
  "wms_name""PATATE2"
  "wms_format""image/png"
  "wms_server_version""1.1.1"
END
NAME "PATATE2"
PROCESSING "CLOSE_CONNECTION=NORMAL"
PROJECTION
  "init=epsg:900913"
END
STATUS ON
TRANSFORM FALSE
TYPE RASTER
UNITS METERS
  END

  LAYER
CONNECTION "PATATE"
CONNECTIONTYPE WMS
DEBUG 5
METADATA
  "wms_srs""EPSG:900913"
  "opacity""40"
  "wms_name""PATATE"
  "wms_format""image/png"
  "wms_server_version""1.1.1"
END
NAME "PATATE"
PROJECTION
  "init=epsg:900913"
END
STATUS ON
OPACITY 40
TYPE RASTER
UNITS METERS
  END

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


[mapserver-users] RE: mapserver-users Digest, Vol 40, Issue 12

2011-05-09 Thread Lopes, Jose (AAFC-AAC)
Hi Jeff, 

I was looking at URL http://mapserver.org/ogc/wms_server.html  ...

They seem to refer to the same version but the information is not the
same as in the URL you provided.
I am using MapServer 5.2 with WMS 1.1.1 but I think the same tags should
work since they are defined in WMS 1.1.1 dtd as well.

Thanks Jeff,
(from a beautiful sunny day on Upper Canada)

Joe

Date: Fri, 06 May 2011 11:39:22 -0300
From: Jeff McKenna 
Subject: Re: [mapserver-users] Getting the  tag in a
WMS
GetCapabilities response fromMap Server
To: mapserver-users@lists.osgeo.org
Message-ID: <4dc4081a.3000...@gatewaygeomatics.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,

I believe what you are looking for is available in MapServer 6.0 
(described in the development version of the WMS Server doc: 
http://www.mapserver.org/trunk/ogc/wms_server.html#reference-section)

I think the metadata tags you need with MapServer 6.0 are:
   - wms_authorityurl_name,
   - wms_authorityurl_href
   - wms_identifier_authority
   - wms_identifier_value

-jeff
(hello from a beautiful sunny day on the East coast)


-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/



On 11-05-06 11:26 AM, Lopes, Jose (AAFC-AAC) wrote:
> Hi,
>
> I though this would be an easy thing but it didn't work I cannot
> find any instruction on how to set this (sorry, newby MapServer
> user...).
> I added a "wms_identifier" "myIdentifier" to the .map file in the
> layer METADATA section.
> Also tried adding an IDENTIFIER element in the LAYER section.
> But when I call GetCapabiliites there is never an Identifier tag
in
> the response.
> Any hints please...
> Thanks,
> Joe
>



--

Message: 4
Date: Fri, 06 May 2011 13:43:59 -0400
From: Daniel Morissette 
Subject: [mapserver-users] FOSS4G 2011 Community Program Review ends
on Sunday - Please vote now!
To: mapserver-users 
Message-ID: <4dc4335f.6070...@mapgears.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi MapServer Users,

As in previous year, the selection process of the FOSS4G 2011 conference

program will be based (in part) on review and votes from the community:

   http://community-review.foss4g.org/

There are lots of very interesting proposals, including a good number of

MapServer related ones. This is your chance to make sure your favorite 
topics will make it in the program, and hopefully to help ensure 
MapServer is also well reprensented in the program (better than in 
previous years).

There are only two days left, the community review period ends on Sunday

May 8th. I encourage you to take a few minutes to review the proposals 
and vote now:

   http://community-review.foss4g.org/

-- 
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000



--

Message: 5
Date: Fri, 06 May 2011 14:59:36 -0300
From: Jeff McKenna 
Subject: Re: [mapserver-users] MapServer 6.0.0-rc2 release
To: mapserver-users 
Message-ID: <4dc43708.5090...@gatewaygeomatics.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Windows users can access the RC2 release at: 
http://www.maptools.org/ms4w/index.phtml?page=RELEASE_mapserver_ms4w3.x_
dev-6.0.0.html

-jeff


-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/



On 11-05-05 11:39 PM, Daniel Morissette wrote:
> The MapServer Team is pleased to announce the release of MapServer
> 6.0.0-rc2.
>
> 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 the release in
your
> respective environments and provide feedback (through the users list
or
> Trac tickets).
>
> We had to issue a new release candidate since a few important issues
> were reported and fixed in rc1. If all goes well and no blocker issues
> are reported, then this release candidate could lead us to a final
6.0.0
> release next week. The full release plan which also includes the list
of
> new features and changes in this release is available at:
> http://mapserver.org/trunk/development/release/release-plan-6.0.html
>
> The list of fixes since the last release candidate is attached at the
> end of this message. For a complete list see the HISTORY.TXT file at:
>
>
http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-rc2/mapserver/HIS
TORY.TXT
>
>
> We have started working on a 5.6 -> 6.0 migration guide. This document
> contains important notes on backwards incompatibilities or other
changes
> required when upgrading to 6.0. The latest version is available online
at:
>
> http://mapserver.org/trunk/MIGRATION_GUIDE.html
>
> The source for this release can be downloaded at:
>
> http://mapserver.org/download.html
> or
> http://download.osgeo.org/mapserver/mapserver-6.0.0-rc2.tar.gz
>
> The binary 

AW: [mapserver-users] SLD Filter with comment breaks filter

2011-05-09 Thread Eichner, Andreas - SID-NLKM

Seems to be a bug in MapServers OGC filter implementation (mapogcfilter.c). I 
think it blindly handles XML nodes without checking there types which makes 
comments and text nodes being used as filter arguments as well... The code from 
MS 5.6.6 is the same as in 6.0rc2 so falling back to a previous version won't 
be a solution :(

 

> -Ursprüngliche Nachricht-
> Von: mapserver-users-boun...@lists.osgeo.org 
> [mailto:mapserver-users-boun...@lists.osgeo.org] Im Auftrag 
> von Arnd Wippermann
> Gesendet: Samstag, 7. Mai 2011 00:30
> An: mapserver-users@lists.osgeo.org
> Betreff: [mapserver-users] SLD Filter with comment breaks filter
> 
> Hi,
> 
> The filter PropertyIsLike works now as expected with 6 RC2.
> 
> I have noticed two other issues:
> 
> 1. The use of a filter And/Or with two or more conditions and adding a
> comment between the conditions
> resolves to true for all features, whether true or not.
> 
> 
> 
>   
>   NA3DESCAsia
>   
>   
>   
>   DESCRIPTIOContinent
>   
> 
>  
> 
> 2. The use of a filter And/Or with only one condition
> resolves to true for all features, whether true or not.
> 
> 
> 
>   
>   NA3DESCAsia
>   
> 
>  
> 
> Arnd
> 
> 
> ___
> 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