RE: [mapserver-users] Problems with non-square pixels

2009-07-17 Thread Pfeiffer Michael
Hi,

thx for your answers.
It seems that possibility 2 solves the problem.
Although I can't understand wherefore this is only a problem for portrait and 
not for landscape.
Now we have the problem that we do need exactly this BBOX because we want to 
print a user given scale.
So is it possible to send a float width and height to mapserver or do we have 
to change the logic in mapwms.c?

thx

best regards

Michael


-Ursprüngliche Nachricht- 
Von: Steve Lime [mailto:steve.l...@dnr.state.mn.us] 
Gesendet am: Freitag, 17. Juli 2009 00:21 
An: Pfeiffer Michael; Frank Warmerdam 
Cc: mapserver-users@lists.osgeo.org 
Betreff: Re: [mapserver-users] Problems with non-square pixels 
 
The nonsquare_enabled check is occurring *before* the WMS bbox (in 
map-extent) is converted 
to the MapServer extent model so I believe the code is correct. I'd lean 
towards option 2 below. 
 
Steve 
 
 On 7/16/2009 at 2:40 PM, in message 4a5f8230.2080...@pobox.com, Frank 
Warmerdam warmer...@pobox.com wrote: 
 Michael Pfeiffer wrote: 
 Try this wms request 
  
  
 http://www.sogis1.so.ch/cgi-bin/sogis/sogis_print_test.wms?SERVICE=WMSVERSION=
   
 1.1.1REQUEST=GetMapFORMAT=image/jpegLAYERS=OrthofotoSTYLES=TRANSPARENT=trueBB
  
 OX=605035.8790650383,224864.94050038885,609110.4623983715,230528.7877226111WI
  
 DTH=6417HEIGHT=8921SRS=EPSG:21781 
 A0 portrait  
  
 This request needs over 1 minute. 
  
 Michael, 
  
 There seems to be a modest difference in the aspect ratio of the BBOX 
 and the SIZE in the given request. The logic in mapwms.c that tests whether 
 non-square mode needs to be used looks like this: 
  
/* Check whether requested BBOX and width/height result in non-square  
 pixels 
 */ 
nonsquare_enabled = msTestConfigOption( map, MS_NONSQUARE, MS_FALSE ); 
if (!nonsquare_enabled) 
{ 
double dx, dy, reqy; 
dx = MS_ABS(map-extent.maxx - map-extent.minx); 
dy = MS_ABS(map-extent.maxy - map-extent.miny); 
  
reqy = ((double)map-width) * dy / dx; 
  
/* Allow up to 1 pixel of error on the width/height ratios. */ 
/* If more than 1 pixel then enable non-square pixels */ 
if ( MS_ABS((reqy - (double)map-height))  1.0 ) 
{ 
if (map-debug) 
msDebug(msWMSLoadGetMapParams(): enabling non-square  
 pixels.\n); 
msSetConfigOption(map, MS_NONSQUARE, YES); 
nonsquare_enabled = MS_TRUE; 
} 
} 
  
 I suspect the asymmetry is just enough to amount more than one pixel at 
 this size.  I didn't run all the numbers but I suspect at smaller paper 
 sizes (smaller SIZE values) the assymmetry amounts to less than one pixel. 
 I'm not sure why it would affect portrait and not landscape.  I only ran 
 the ratios on the case you mentioned was slow. 
  
 So there are a couple of possibilities here. 
  
   1) It is possible the above computation is wrong.  I vaguely recall there 
  is an issue with map-extent actually being from the center of edge 
  pixel to the center of edge pixel, not the outer edges, in which case 
  the calculation should perhaps be: 
reqy = MS_ABS(((map-width - 1) * dy / dx) + 1); 
  which might or might not make a difference in this case. 
  
   2) Perhaps you just need to generate your WMS requests with more precise 
  BBOXes corresponding to the aspect ratio of the SIZE requested. 
  
 Well, I'm sure there could be other possibilities too. 
  
 Best regards, 
 

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


Re: [mapserver-users] Scaling Image Symbol Offset

2009-07-17 Thread Andreas Albarello

David Martin wrote:
As you can see I am sizing the output symbol which is a 20x20px PIXMAP 
image – this is working great however the position of the image needs to 
be OFFSET up by half the size of the image (to make the actual point be 
the center of the image) – I have tried using OFFSET however when the 
image size changes (based on SYMBOLSCALE)the offsets are wrong. Is there 
a way to OFFSET image symbols based on the SYMBOLSCALE and MAX/MIN SIZES?


David,

unfortunately, OFFSET behaves exactly the way you are pointing out, that 
is, it doesn't scale because it's values are expressed in pixels no 
matter what SIZEUNITS or SYMBOLSCALE.


As to the task you would like to accomplish, though, what about making 
the image itself twice as tall and moving the symbol into the upper half 
of the image, thus having the center of your image located beneath the 
symbol itself? The image would still scale correctly and account for 
offsetting the symbol by itself.


Best regards,
--

Andreas Albarello
Analysis  SW Development

Territorium Online srl/GmbH
Via Buozzi Str. 12
I 39100 Bolzano/Bozen

Phone:  +39 0471 068611
Fax:+39 0471 068619

email: andreas.albare...@territoriumonline.com
web:   http://www.territoriumonline.com

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


Re: [mapserver-users] Scaling Image Symbol Offset

2009-07-17 Thread Havard Tveite

RFC 45 suggests several rendering improvements for Mapserver,
including adding a tag (CENTER/ORIGIN) for specifying the
centre of a symbol.  This feature has, however, not been
given priority yet (there are workarounds for the most
important cases).

http://mapserver.org/development/rfc/ms-rfc-45.html

--
CENTER/ORIGIN [x y]

Defines the centre of the symbol using decimal pixels (x axis increasing to the 
right, y axis increasing downwards).

* Is used for placing a point symbol on the map or on a “decorated” line
* Defines the center of rotation if an ANGLE is specified for point symbols.
* Default value is the centre of the symbol’s bounding box.
* Applies to TYPE ellipse, vector, pixmap, truetype.
--

Håvard

David Martin wrote:
I am developing a new application and am rendering around a load of 
graphic symbol layers using a Map file layer such as


LAYER

NAMEcape_headland_point

STATUS  ON

GROUP   all

DATA'ExplorOz/Places/Cape,Headland,Point'

TYPEPOINT

SYMBOLSCALE 100

CLASS

STYLE

SYMBOL [POIImage]

MAXSIZE 15

MINSIZE 4

SIZE 8

END

END

METADATA

  wms_title Capes, Headlands  Points

  END

PROJECTION

+proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs

END

END

As you can see I am sizing the output symbol which is a 20x20px PIXMAP 
image – this is working great however the position of the image needs to 
be OFFSET up by half the size of the image (to make the actual point be 
the center of the image) – I have tried using OFFSET however when the 
image size changes (based on SYMBOLSCALE)the offsets are wrong. Is there 
a way to OFFSET image symbols based on the SYMBOLSCALE and MAX/MIN SIZES?


Regards

David



--
Håvard Tveite
Department of Mathematical Sciences and Technology, UMB
Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY
Phone: +47 64965483 Fax: +47 64965401 http://www.umb.no/imt/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Performance in regular expressions or analternative way to select a list of features

2009-07-17 Thread Adrian Popa
Here's how I fixed this issue. I ended up regenerating the shapefile 
and dbf and adding a separate column with the grouping I desired. Now, 
my map file selects from that column, and the syntax is much simpler (by 
one or two orders of magnitude). I am happy with the results, however, I 
didn't get the chance to try out all the other methods because of lack 
of time.


Thanks again,
Adrian

Adrian Popa wrote:

Hello Steve,

I haven't tried out the simplified regex so I don't know if it will be 
faster. I will try to test it as part of a speed test of the various 
methods...


I'm not sure what you mean by writing a temporary set of geometries. 
Do you mean adding an index to my data so that I can select it by a 
different (grouping) field instead? Unfortunately I can't do that 
because the same item can be part of 10-20 groups, so there would not 
be an easy way to group items apart from duplicating them in the 
shapefile/dbf. I'm not sure if there's a problem if the same feature 
appears 12 times in the same shapefile.


In the end data reorganizing might be the fastest method available. 
Problem is some items will belong to groups dinamically, so I will 
have to implement a selection mechanism based on item id...


Regards,
Adrian

Steve Lime wrote:

Have you tried a simplified version of your regex? I think you can do:

  EXPRESSION /^ITEM1|ITEM2|ITEM3|ITEM4$/

You might also consider writing a temporary set of geometries if a user will 
continually display from
that set. In that case your overhead would be in managing the set of features 
which would be higher
the first time but then very fast to render. Your dynamic portion of the 
mapfile would reference the
temporary data.

Steve

  

On 7/14/2009 at 1:15 AM, in message 4a5c2277.80...@romtelecom.ro, Adrian Popa


adrian_gh.p...@romtelecom.ro wrote:
  

Hello everyone,

Here's my problem: I'm trying to highlight segments from a line layer by 
using an expression in a specific class. This portion of the mapfile is 
dynamically generated and when it is done, it is sent to mapserver for 
rendering.
My problem is that I have to select between 10 - 400 features at a time 
and I noticed when I have a lot of features there is a severe 
performance degradation in mapserver (takes a lot of time to render or 
even times out).

Right now, my expression is built using regular expressions: something like:
*EXPRESSION /^ITEM1$|^ITEM2$|^ITEM3$|^ITEM4$/*
This works ok, but as I said has a performance penalty when you reach 
~400 items.  My data is selected from a shapefile layer which has about 
5500 items.


Since I wouldn't be using the regular expressions at full capacity (I'm 
matching the full name), I might rewrite the expression using something 
like:
*EXPRESSION ( ([NAME]==ITEM1) OR ([NAME]==ITEM2) OR 
([NAME]==ITEM3) OR ([NAME]==ITEM4) )*


 From the documentation I see that:
/Regular expression with MapServer work similarly to string comparison, 
but allow more complex operation. They are slower than pure string 
comparisons, but might be still faster than logical expression. As with 
the string comparison use regular expressions, a FILTERITEM or a 
CLASSITEM has to defined, respectively.


/I would like to know if there is an efficient way of selecting a list 
of elements from a layer, or what are your recommendations.


Also - have there been significant changes in performance for this issue 
from mapserver 4.10 (I am now migrating to mapserver 5.4)?


Thanks,
Adrian




  




___
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] openlayers/mapserver

2009-07-17 Thread YOUNESS ELMEDRAOUI
Hi,i created my wms server and i test them with a GetCapabilities and GetMapREQUEST :http://localhost:81/cgi-bin/mapserv.exe?map=C:/OLWebSite/App_Data/olvbmapfilel.mapREQUEST=GetCapabilitiesSERVICE=WMSVERSiON=1.1.0http://localhost:81/cgi-bin/mapserv.exe?map=C:/OLWebSite/App_Data/olvbmapfilel.mapREQUEST=GetMapSERVICE=WMSVERSiON=1.1.0Layers=compfun,zoneSRS=EPSG:32632STYLE=BBox=1143759,4417539,1146436,4420390FORMAT=image/pngWIDTH=400HEIGHT=400and my tests is ok.now, i want to displat data with openlayers. i tested this code but it doesn't work.map = new OpenLayers.Map( 'map' );layer = new OpenLayers.Layer.MapServer("ol demo", "http://localhost:81/cgi-bin/mapserv.exe?map=C:\OLWebSite\App_Data\olvbmapfilel.map", {Layers:'compfun',SRS:'EPSG:32632'} );see result in attachement.can any one help me plz?do you have an exemple for displayind data with openlayers based on mapfile?Best regards,YounessELMEDRAOUILes informations figurant sur cet e-mail ont un caractère strictement confidentiel et sont exclusivement adressées au destinataire mentionné ci-dessus.Tout usage reproduction ou divulgation de cet e-mail est strictement interdit si vous n'en êtes pas le destinataire.Dans ce cas veuillez nous en avertir immédiatement par la même voie et détruire l'original. Merci attachment: openlayersDisplayData.JPG___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Changing to Layers.WMS from Layers.Mapserver

2009-07-17 Thread Paul Curran

Hi, i am having trouble trying to display my map in Open Layers via 
OpenLayers.Layer.wms.
 
 
Firstly I Built a shape file of the UK as a raster tileindex. I can now view my 
map via //localhost/cgi-bin/mapserv.exe/mymapfile.map and the map looks fine.
I am now trying to view my map via OpenLayers. Firstly I used 
Openlayers.Layer.MapServer which displayed my map however zoomed in very close. 
However I have read Layer.Mapserver should be avoided and Layer.WMS should be 
used instead.  
 
I attempted to amend both my map and openlayers files to display via WMS by
Including:
 
METADATA 
  ‘wms_srs’ “EPSG: 32119 EPSG: 4326”
END
 within the WEB section of my map file and adding OpenLayers.WMS within my 
OpenLayers file.
 
 
However I now get the following error message within the openlayers map window 
“msWMSLoadGetMapParams(): WMS Server Error”
 
I also added ‘projection: epsg: 32119 epsg:4326” into my openlayers file which 
hasn’t made any difference
 
Does anyone have any idea where I am going wrong? Any help greatly appreciated. 
My map and openlayers files are below.
 
Cheers
 
p.s. I ahve installed ms4w on windows which i tihnk supports WMS
 
MAP

NAME UK1
SIZE 1600 1200
IMAGECOLOR  153 204 255
IMAGETYPE JPEG
SHAPEPATH http://localhost/openlayers/data/;
EXTENT  -888385.321101 -31000.00 1548385.321101 1271000.00
UNITS METERS
   
  WEB
  TEMPLATE http://localhost/openlayers/examples/test.html;
  LOG \ms4w\tmp\ms_tmp\log.txt
  IMAGEPATH \ms4w\tmp\ms_tmp\
  IMAGEURL /ms_tmp/
  METADATA
   'wms_srs' epsg: 32119 epsg: 4326
  END
END
 
  LAYER
  
   NAME UK
   STATUS DEFAULT
   TYPE raster
   TILEINDEX map
   TILEITEM Location
   CLASS
 STYLE
  COLOR 0 0 0
 END
 LABEL
  COLOR 0 0 0
  SIZE SMALL
 END
  END
 
  END
END
 
html xmlns=http://www.w3.org/1999/xhtml;
  headNARIMS MAPPING TEST
style type=text/css
#map {
width: 95%;
height: 95%;
border: 10px solid black;
}
/style
script src=../lib/OpenLayers.js/script
script type=text/javascript
 
  var zoom = 1;
  var bounds = new OpenLayers.Bounds(-888385.321101, -31000.00, 
1548385.321101, 1271000.00);  
  var map, layer;
  
  function init(){
  map = new OpenLayers.Map('map', { maxExtent: bounds });
  map.addControl(new OpenLayers.Control.PanZoomBar());
  map.addControl(new OpenLayers.Control.OverviewMap());
  map.addControl(new OpenLayers.Control.MousePosition());
  layer = new OpenLayers.Layer.WMS ( OpenLayers WMS, 
  http://127.0.0.1/cgi-bin/mapserv.exe?;, { layers: 'basic', map: 
'/ms4w/apps/openlayers-2.5/data/uk1.map', projection: epsg “32119 epsg:4326 },
  { gutter: 15 });  
  map.addLayer(layer);
  map.zoomToExtent(bounds);
  map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);  
  
  }
 
/script
  /head
  body onload=init()
div id=map/div
  /body
/html
_
Share your photos with Windows Live Photos – Free.
http://clk.atdmt.com/UKM/go/134665338/direct/01/___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Changing to Layers.WMS from Layers.Mapserver

2009-07-17 Thread bartvde
Hi,

there are several things wrong here.

'wms_srs' epsg: 32119 epsg: 4326

should be (uppercase EPSG for METADATA and no space in between):

'wms_srs' EPSG:32119 EPSG:4326

however Mapserver cannot reproject your data if you do not add a
PROJECTION block to your LAYER stating the projection in which your data
resides.

Also, in OpenLayers the syntax is (your map can only be in 1 projection):

{projection: EPSG:32119}

Best regards,
Bart


 Hi, i am having trouble trying to display my map in Open Layers via
 OpenLayers.Layer.wms.


 Firstly I Built a shape file of the UK as a raster tileindex. I can now
 view my map via //localhost/cgi-bin/mapserv.exe/mymapfile.map and the
 map looks fine.
 I am now trying to view my map via OpenLayers. Firstly I used
 Openlayers.Layer.MapServer which displayed my map however zoomed in very
 close. However I have read Layer.Mapserver should be avoided and Layer.WMS
 should be used instead.

 I attempted to amend both my map and openlayers files to display via WMS
 by
 Including:

 METADATA
   ‘wms_srs’ “EPSG: 32119 EPSG: 4326”
 END
  within the WEB section of my map file and adding OpenLayers.WMS within my
 OpenLayers file.


 However I now get the following error message within the openlayers map
 window “msWMSLoadGetMapParams(): WMS Server Error”

 I also added ‘projection: epsg: 32119 epsg:4326” into my openlayers file
 which hasn’t made any difference

 Does anyone have any idea where I am going wrong? Any help greatly
 appreciated. My map and openlayers files are below.

 Cheers

 p.s. I ahve installed ms4w on windows which i tihnk supports WMS

 MAP

 NAME UK1
 SIZE 1600 1200
 IMAGECOLOR  153 204 255
 IMAGETYPE JPEG
 SHAPEPATH http://localhost/openlayers/data/;
 EXTENT  -888385.321101 -31000.00 1548385.321101 1271000.00
 UNITS METERS

   WEB
   TEMPLATE http://localhost/openlayers/examples/test.html;
   LOG \ms4w\tmp\ms_tmp\log.txt
   IMAGEPATH \ms4w\tmp\ms_tmp\
   IMAGEURL /ms_tmp/
   METADATA
'wms_srs' epsg: 32119 epsg: 4326
   END
 END

   LAYER

NAME UK
STATUS DEFAULT
TYPE raster
TILEINDEX map
TILEITEM Location
CLASS
  STYLE
   COLOR 0 0 0
  END
  LABEL
   COLOR 0 0 0
   SIZE SMALL
  END
   END

   END
 END

 html xmlns=http://www.w3.org/1999/xhtml;
   headNARIMS MAPPING TEST
 style type=text/css
 #map {
 width: 95%;
 height: 95%;
 border: 10px solid black;
 }
 /style
 script src=../lib/OpenLayers.js/script
 script type=text/javascript

   var zoom = 1;
   var bounds = new OpenLayers.Bounds(-888385.321101, -31000.00,
 1548385.321101, 1271000.00);
   var map, layer;

   function init(){
   map = new OpenLayers.Map('map', { maxExtent: bounds });
   map.addControl(new OpenLayers.Control.PanZoomBar());
   map.addControl(new OpenLayers.Control.OverviewMap());
   map.addControl(new OpenLayers.Control.MousePosition());
   layer = new OpenLayers.Layer.WMS ( OpenLayers WMS,
   http://127.0.0.1/cgi-bin/mapserv.exe?;, { layers: 'basic', map:
 '/ms4w/apps/openlayers-2.5/data/uk1.map', projection: epsg “32119
 epsg:4326 },
   { gutter: 15 });
   map.addLayer(layer);
   map.zoomToExtent(bounds);
   map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);

   }

 /script
   /head
   body onload=init()
 div id=map/div
   /body
 /html
 _
 Share your photos with Windows Live Photos – Free.
 http://clk.atdmt.com/UKM/go/134665338/direct/01/___
 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] Changing to Layers.WMS from Layers.Mapserver

2009-07-17 Thread Paul Curran

Thanks for the quick reply.

 

You mentioned adding a projection block to the layer.

 

Is that done by the following:

 

PROJECTION

  epsg:32119

END

 

Thanks again
 
 Date: Fri, 17 Jul 2009 13:22:04 +0200
 Subject: Re: [mapserver-users] Changing to Layers.WMS from Layers.Mapserver
 From: bart...@osgis.nl
 To: paul_ever...@hotmail.com
 CC: mapserver-users@lists.osgeo.org
 
 Hi,
 
 there are several things wrong here.
 
 'wms_srs' epsg: 32119 epsg: 4326
 
 should be (uppercase EPSG for METADATA and no space in between):
 
 'wms_srs' EPSG:32119 EPSG:4326
 
 however Mapserver cannot reproject your data if you do not add a
 PROJECTION block to your LAYER stating the projection in which your data
 resides.
 
 Also, in OpenLayers the syntax is (your map can only be in 1 projection):
 
 {projection: EPSG:32119}
 
 Best regards,
 Bart
 
 
  Hi, i am having trouble trying to display my map in Open Layers via
  OpenLayers.Layer.wms.
 
 
  Firstly I Built a shape file of the UK as a raster tileindex. I can now
  view my map via //localhost/cgi-bin/mapserv.exe/mymapfile.map and the
  map looks fine.
  I am now trying to view my map via OpenLayers. Firstly I used
  Openlayers.Layer.MapServer which displayed my map however zoomed in very
  close. However I have read Layer.Mapserver should be avoided and Layer.WMS
  should be used instead.
 
  I attempted to amend both my map and openlayers files to display via WMS
  by
  Including:
 
  METADATA
  ‘wms_srs’ “EPSG: 32119 EPSG: 4326”
  END
  within the WEB section of my map file and adding OpenLayers.WMS within my
  OpenLayers file.
 
 
  However I now get the following error message within the openlayers map
  window “msWMSLoadGetMapParams(): WMS Server Error”
 
  I also added ‘projection: epsg: 32119 epsg:4326” into my openlayers file
  which hasn’t made any difference
 
  Does anyone have any idea where I am going wrong? Any help greatly
  appreciated. My map and openlayers files are below.
 
  Cheers
 
  p.s. I ahve installed ms4w on windows which i tihnk supports WMS
 
  MAP
 
  NAME UK1
  SIZE 1600 1200
  IMAGECOLOR 153 204 255
  IMAGETYPE JPEG
  SHAPEPATH http://localhost/openlayers/data/;
  EXTENT -888385.321101 -31000.00 1548385.321101 1271000.00
  UNITS METERS
 
  WEB
  TEMPLATE http://localhost/openlayers/examples/test.html;
  LOG \ms4w\tmp\ms_tmp\log.txt
  IMAGEPATH \ms4w\tmp\ms_tmp\
  IMAGEURL /ms_tmp/
  METADATA
  'wms_srs' epsg: 32119 epsg: 4326
  END
  END
 
  LAYER
 
  NAME UK
  STATUS DEFAULT
  TYPE raster
  TILEINDEX map
  TILEITEM Location
  CLASS
  STYLE
  COLOR 0 0 0
  END
  LABEL
  COLOR 0 0 0
  SIZE SMALL
  END
  END
 
  END
  END
 
  html xmlns=http://www.w3.org/1999/xhtml;
  headNARIMS MAPPING TEST
  style type=text/css
  #map {
  width: 95%;
  height: 95%;
  border: 10px solid black;
  }
  /style
  script src=../lib/OpenLayers.js/script
  script type=text/javascript
 
  var zoom = 1;
  var bounds = new OpenLayers.Bounds(-888385.321101, -31000.00,
  1548385.321101, 1271000.00);
  var map, layer;
 
  function init(){
  map = new OpenLayers.Map('map', { maxExtent: bounds });
  map.addControl(new OpenLayers.Control.PanZoomBar());
  map.addControl(new OpenLayers.Control.OverviewMap());
  map.addControl(new OpenLayers.Control.MousePosition());
  layer = new OpenLayers.Layer.WMS ( OpenLayers WMS,
  http://127.0.0.1/cgi-bin/mapserv.exe?;, { layers: 'basic', map:
  '/ms4w/apps/openlayers-2.5/data/uk1.map', projection: epsg “32119
  epsg:4326 },
  { gutter: 15 });
  map.addLayer(layer);
  map.zoomToExtent(bounds);
  map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
 
  }
 
  /script
  /head
  body onload=init()
  div id=map/div
  /body
  /html
  _
  Share your photos with Windows Live Photos – Free.
  http://clk.atdmt.com/UKM/go/134665338/direct/01/___
  mapserver-users mailing list
  mapserver-users@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/mapserver-users
 
 
 

_
Share your photos with Windows Live Photos – Free.
http://clk.atdmt.com/UKM/go/134665338/direct/01/___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Openning mapserv.exe Would you like to save this file?

2009-07-17 Thread Lucena, Ivan

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


Re: [mapserver-users] Openning mapserv.exe Would you like to save this file?

2009-07-17 Thread Lucena, Ivan
Sorry for my fat finger mistake. When I run a GetCapabilities request it 
results in the download of mapserv.exe. I 
decided to investigate more before put the question on the list but I clicked 
some wrong short cut key on Chrome. 

  ---Original Message---
  From: Lucena, Ivan ivan.luc...@pmldnet.com
  Subject: [mapserver-users] Openning mapserv.exe Would you like to save this 
 file?
  Sent: Jul 17 '09 08: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] Changing to Layers.WMS from Layers.Mapserver

2009-07-17 Thread bartvde
Almost,

  PROJECTION
init=epsg:28992
  END

Best regards,
Bart


 Thanks for the quick reply.



 You mentioned adding a projection block to the layer.



 Is that done by the following:



 PROJECTION

   epsg:32119

 END



 Thanks again

 Date: Fri, 17 Jul 2009 13:22:04 +0200
 Subject: Re: [mapserver-users] Changing to Layers.WMS from
 Layers.Mapserver
 From: bart...@osgis.nl
 To: paul_ever...@hotmail.com
 CC: mapserver-users@lists.osgeo.org

 Hi,

 there are several things wrong here.

 'wms_srs' epsg: 32119 epsg: 4326

 should be (uppercase EPSG for METADATA and no space in between):

 'wms_srs' EPSG:32119 EPSG:4326

 however Mapserver cannot reproject your data if you do not add a
 PROJECTION block to your LAYER stating the projection in which your data
 resides.

 Also, in OpenLayers the syntax is (your map can only be in 1
 projection):

 {projection: EPSG:32119}

 Best regards,
 Bart

 
  Hi, i am having trouble trying to display my map in Open Layers via
  OpenLayers.Layer.wms.
 
 
  Firstly I Built a shape file of the UK as a raster tileindex. I can
 now
  view my map via //localhost/cgi-bin/mapserv.exe/mymapfile.map and
 the
  map looks fine.
  I am now trying to view my map via OpenLayers. Firstly I used
  Openlayers.Layer.MapServer which displayed my map however zoomed in
 very
  close. However I have read Layer.Mapserver should be avoided and
 Layer.WMS
  should be used instead.
 
  I attempted to amend both my map and openlayers files to display via
 WMS
  by
  Including:
 
  METADATA
  ‘wms_srs’ “EPSG: 32119 EPSG: 4326”
  END
  within the WEB section of my map file and adding OpenLayers.WMS within
 my
  OpenLayers file.
 
 
  However I now get the following error message within the openlayers
 map
  window “msWMSLoadGetMapParams(): WMS Server Error”
 
  I also added ‘projection: epsg: 32119 epsg:4326” into my openlayers
 file
  which hasn’t made any difference
 
  Does anyone have any idea where I am going wrong? Any help greatly
  appreciated. My map and openlayers files are below.
 
  Cheers
 
  p.s. I ahve installed ms4w on windows which i tihnk supports WMS
 
  MAP
 
  NAME UK1
  SIZE 1600 1200
  IMAGECOLOR 153 204 255
  IMAGETYPE JPEG
  SHAPEPATH http://localhost/openlayers/data/;
  EXTENT -888385.321101 -31000.00 1548385.321101 1271000.00
  UNITS METERS
 
  WEB
  TEMPLATE http://localhost/openlayers/examples/test.html;
  LOG \ms4w\tmp\ms_tmp\log.txt
  IMAGEPATH \ms4w\tmp\ms_tmp\
  IMAGEURL /ms_tmp/
  METADATA
  'wms_srs' epsg: 32119 epsg: 4326
  END
  END
 
  LAYER
 
  NAME UK
  STATUS DEFAULT
  TYPE raster
  TILEINDEX map
  TILEITEM Location
  CLASS
  STYLE
  COLOR 0 0 0
  END
  LABEL
  COLOR 0 0 0
  SIZE SMALL
  END
  END
 
  END
  END
 
  html xmlns=http://www.w3.org/1999/xhtml;
  headNARIMS MAPPING TEST
  style type=text/css
  #map {
  width: 95%;
  height: 95%;
  border: 10px solid black;
  }
  /style
  script src=../lib/OpenLayers.js/script
  script type=text/javascript
 
  var zoom = 1;
  var bounds = new OpenLayers.Bounds(-888385.321101, -31000.00,
  1548385.321101, 1271000.00);
  var map, layer;
 
  function init(){
  map = new OpenLayers.Map('map', { maxExtent: bounds });
  map.addControl(new OpenLayers.Control.PanZoomBar());
  map.addControl(new OpenLayers.Control.OverviewMap());
  map.addControl(new OpenLayers.Control.MousePosition());
  layer = new OpenLayers.Layer.WMS ( OpenLayers WMS,
  http://127.0.0.1/cgi-bin/mapserv.exe?;, { layers: 'basic', map:
  '/ms4w/apps/openlayers-2.5/data/uk1.map', projection: epsg “32119
  epsg:4326 },
  { gutter: 15 });
  map.addLayer(layer);
  map.zoomToExtent(bounds);
  map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
 
  }
 
  /script
  /head
  body onload=init()
  div id=map/div
  /body
  /html
  _
  Share your photos with Windows Live Photos – Free.
  http://clk.atdmt.com/UKM/go/134665338/direct/01/___
  mapserver-users mailing list
  mapserver-users@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/mapserver-users
 



 _
 Share your photos with Windows Live Photos – Free.
 http://clk.atdmt.com/UKM/go/134665338/direct/01/___
 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] Changing to Layers.WMS from Layers.Mapserver - Error 'msWMSLoadGetMapParams(): WMS '

2009-07-17 Thread Paul Curran

Ive implemented your changes but im still getting the msWMSLoadGetMapParams(): 
WMS Server Error message repeatedly thorughout the open layers map window.

 

My map file now looks like this (i have hihglighted your changes in bold), do 
you think i have put them in correclty? 

 

Cheers

 

MAP

NAME UK1
SIZE 1600 1200
IMAGECOLOR  153 204 255
IMAGETYPE JPEG
SHAPEPATH http://localhost/openlayers/data/;
EXTENT  -888385.321101 -31000.00 1548385.321101 1271000.00
UNITS METERS
   

WEB
  TEMPLATE http://localhost/openlayers/examples/test.html;
  LOG \ms4w\tmp\ms_tmp\log.txt
  IMAGEPATH \ms4w\tmp\ms_tmp\
  IMAGEURL /ms_tmp/
  METADATA
'wms_srs' EPSG:32119 EPSG:4326
  END
END
 
  LAYER
  
   NAME UK
   STATUS DEFAULT
   TYPE raster
   TILEINDEX map
   TILEITEM Location
   CLASS
 STYLE
  COLOR 0 0 0
 END
 LABEL
  COLOR 0 0 0
  SIZE SMALL
 END
   
   END
   PROJECTION
   init=epsg:28992
   END
 
  END
 
  
 
END
 
 
html xmlns=http://www.w3.org/1999/xhtml;
  headMAPPING TEST
style type=text/css
#map {
width: 90%;
height: 90%;
border: 8px solid black;
}
/style
script src=../lib/OpenLayers.js/script
script type=text/javascript
 
  var zoom = 1;
  var bounds = new OpenLayers.Bounds(-888385.321101, -31000.00, 
1548385.321101, 1271000.00);  
  var map, layer;
  
  function init(){
  map = new OpenLayers.Map('map', { maxExtent: bounds });
  map.addControl(new OpenLayers.Control.PanZoomBar());
  map.addControl(new OpenLayers.Control.OverviewMap());
  map.addControl(new OpenLayers.Control.MousePosition());
  layer = new OpenLayers.Layer.WMS( OpenLayers WMS, 
  http://127.0.0.1/cgi-bin/mapserv.exe?;, { layers: 'basic', map: 
'/ms4w/apps/openlayers-2.5/data/uk1.map', projection: EPSG:32119 },
  { gutter: 15 });  
  map.addLayer(layer);
  map.zoomToExtent(bounds);
  map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);  
  
  }
 
/script
  /head
  body onload=init()
div id=map/div
  /body
/html
 

 
 Date: Fri, 17 Jul 2009 15:29:03 +0200
 Subject: RE: [mapserver-users] Changing to Layers.WMS from Layers.Mapserver
 From: bart...@osgis.nl
 To: paul_ever...@hotmail.com
 CC: mapserver-users@lists.osgeo.org
 
 Almost,
 
 PROJECTION
 init=epsg:28992
 END
 
 Best regards,
 Bart
 
 
  Thanks for the quick reply.
 
 
 
  You mentioned adding a projection block to the layer.
 
 
 
  Is that done by the following:
 
 
 
  PROJECTION
 
  epsg:32119
 
  END
 
 
 
  Thanks again
 
  Date: Fri, 17 Jul 2009 13:22:04 +0200
  Subject: Re: [mapserver-users] Changing to Layers.WMS from
  Layers.Mapserver
  From: bart...@osgis.nl
  To: paul_ever...@hotmail.com
  CC: mapserver-users@lists.osgeo.org
 
  Hi,
 
  there are several things wrong here.
 
  'wms_srs' epsg: 32119 epsg: 4326
 
  should be (uppercase EPSG for METADATA and no space in between):
 
  'wms_srs' EPSG:32119 EPSG:4326
 
  however Mapserver cannot reproject your data if you do not add a
  PROJECTION block to your LAYER stating the projection in which your data
  resides.
 
  Also, in OpenLayers the syntax is (your map can only be in 1
  projection):
 
  {projection: EPSG:32119}
 
  Best regards,
  Bart
 
  
   Hi, i am having trouble trying to display my map in Open Layers via
   OpenLayers.Layer.wms.
  
  
   Firstly I Built a shape file of the UK as a raster tileindex. I can
  now
   view my map via //localhost/cgi-bin/mapserv.exe/mymapfile.map and
  the
   map looks fine.
   I am now trying to view my map via OpenLayers. Firstly I used
   Openlayers.Layer.MapServer which displayed my map however zoomed in
  very
   close. However I have read Layer.Mapserver should be avoided and
  Layer.WMS
   should be used instead.
  
   I attempted to amend both my map and openlayers files to display via
  WMS
   by
   Including:
  
   METADATA
   ‘wms_srs’ “EPSG: 32119 EPSG: 4326”
   END
   within the WEB section of my map file and adding OpenLayers.WMS within
  my
   OpenLayers file.
  
  
   However I now get the following error message within the openlayers
  map
   window “msWMSLoadGetMapParams(): WMS Server Error”
  
   I also added ‘projection: epsg: 32119 epsg:4326” into my openlayers
  file
   which hasn’t made any difference
  
   Does anyone have any idea where I am going wrong? Any help greatly
   appreciated. My map and openlayers files are below.
  
   Cheers
  
   p.s. I ahve installed ms4w on windows which i tihnk supports WMS
  
   MAP
  
   NAME UK1
   SIZE 1600 1200
   IMAGECOLOR 153 204 255
   IMAGETYPE JPEG
   SHAPEPATH 

Re: [mapserver-users] Changing to Layers.WMS from Layers.Mapserver - Error 'msWMSLoadGetMapParams(): WMS '

2009-07-17 Thread Jeff McKenna

Paul Curran wrote:
Ive implemented your changes but im still getting the 
msWMSLoadGetMapParams(): WMS Server Error message repeatedly thorughout 
the open layers map window.
 
My map file now looks like this (i have hihglighted your changes in 
bold), do you think i have put them in correclty?
 


Paul,

If you are trying to serve your mapfile through WMS then you should 
follow this document: http://www.mapserver.org/ogc/wms_server.html


Also, you should read the following page on MapServer projection use: 
http://www.mapserver.org/mapfile/projection.html


-jeff


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


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


[mapserver-users] reprojected layer = changed min/max scale ?

2009-07-17 Thread Oliver Christen

Hello

This is probably a silly question but I cant find an answer for it.

I have a mapfile with a given EPSG projection (EPSG:27582)
In this mapfile I have a WMS layer with a different projection (EPSG:4326)

when displayed, the max scale of the wms layer is different from the max 
scale value specified in the layer's definition in the mapfile


so I would like to know, when mapserver does the reprojection of the wms 
layer from EPSG:4326 to EPSG:27582, the min/max scale are also modified in 
the process ?


thanks in advance

Oliver 


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


Re: [mapserver-users] Problems with non-square pixels

2009-07-17 Thread Frank Warmerdam

Pfeiffer Michael wrote:

Hi,

thx for your answers. It seems that possibility 2 solves the problem. 
Although I can't understand wherefore this is only a problem for portrait

and not for landscape. Now we have the problem that we do need exactly this
BBOX because we want to print a user given scale. So is it possible to send
a float width and height to mapserver or do we have to change the logic in
mapwms.c?


Michael,

It is not possible to send floating point WIDTH and HEIGHT values to
MapServer.  I'm not sure why you want the exact BBOX instead of adjusting
it a bit to reflect the actual aspect ratio of the raster requested, but
if you feel strongly about it just let things go into non-square pixel mode.

Best regards,
--
---+--
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent

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


[mapserver-users] duplicate labels

2009-07-17 Thread Andy Colson

Hi All,


Here is a screen shot:

http://maps.camavision.com/map.jpg


There are, as far as I can tell, 4 lines.  The label is duplicating and 
I dont want it too.  Here is the layer from the mapfile:



LAYER
NAME annotate_pin
TYPE line
STATUS on
CLASS
NAME HIGHLIGHT
STYLE
COLOR 0 255 0
OUTLINECOLOR 0 255 0
WIDTH 3
END
LABEL
TYPE truetype
FONT Vera
SIZE 10
COLOR 0 0 0
ANGLE follow
POSITION auto
BACKGROUNDCOLOR 255 255 255
MINDISTANCE 900
END
END
END


I have played with MINDISTANCE from 0 to 99,000 and it does not seem to 
make a difference.  I googled a little but have not found a useful answer.


I am adding features to this layer in perl mapscript using something like:

my $shape = new mapscript::shapeObj($mapscript::MS_SHAPE_LINE);
$shape-add($line);
$shape-{text} = sprintf('%.2f', $p1-distanceToPoint($p2));
$shape-setBounds();
$newlayer-addFeature($shape);


Any hints would be appreciated,

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


Re: [mapserver-users] duplicate labels

2009-07-17 Thread Lars Lingner
Andy Colson schrieb:
 Hi All,
 
 
 Here is a screen shot:
 
 http://maps.camavision.com/map.jpg
 
 
 There are, as far as I can tell, 4 lines.  The label is duplicating and
 I dont want it too.  Here is the layer from the mapfile:
 
 
 LAYER
 NAME annotate_pin
 TYPE line
 STATUS on
 CLASS
 NAME HIGHLIGHT
 STYLE
 COLOR 0 255 0
 OUTLINECOLOR 0 255 0
 WIDTH 3
 END
 LABEL
 TYPE truetype
 FONT Vera
 SIZE 10
 COLOR 0 0 0
 ANGLE follow
 POSITION auto
 BACKGROUNDCOLOR 255 255 255
 MINDISTANCE 900
 END
 END
 END
 
 
 I have played with MINDISTANCE from 0 to 99,000 and it does not seem to
 make a difference.  I googled a little but have not found a useful answer.
 

If you want to use MINDISTANCE you have to set the SIZEUNITS parameter
at layer level like this:

LAYER
 ...
 SIZEUNITS meters # one of [pixels|feet|inches|kilometers|meters|miles]
 ...
 LABEL
  ...
  MINDISTANCE 500
  ...
 END
 ...
END

So the label wouldn't repeated for distances smaller than 500 meter.


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


Re: [mapserver-users] duplicate labels

2009-07-17 Thread Andy Colson

Lars Lingner wrote:

Andy Colson schrieb:

Hi All,


Here is a screen shot:

http://maps.camavision.com/map.jpg


There are, as far as I can tell, 4 lines.  The label is duplicating and
I dont want it too.  Here is the layer from the mapfile:


LAYER
NAME annotate_pin
TYPE line
STATUS on
CLASS
NAME HIGHLIGHT
STYLE
COLOR 0 255 0
OUTLINECOLOR 0 255 0
WIDTH 3
END
LABEL
TYPE truetype
FONT Vera
SIZE 10
COLOR 0 0 0
ANGLE follow
POSITION auto
BACKGROUNDCOLOR 255 255 255
MINDISTANCE 900
END
END
END


I have played with MINDISTANCE from 0 to 99,000 and it does not seem to
make a difference.  I googled a little but have not found a useful answer.



If you want to use MINDISTANCE you have to set the SIZEUNITS parameter
at layer level like this:

LAYER
 ...
 SIZEUNITS meters # one of [pixels|feet|inches|kilometers|meters|miles]
 ...
 LABEL
  ...
  MINDISTANCE 500
  ...
 END
 ...
END

So the label wouldn't repeated for distances smaller than 500 meter.


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


That didn't seem to work.  It made all my fonts really small, but the 
labels still duped.


The help says layer.sizeUnits Sets the unit of CLASS object SIZE, does 
that include label font size?


It defaults to pixels, yes?  Wouldnt a really big MINDISTANCE still have 
removed dups?


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


Re: [mapserver-users] duplicate labels

2009-07-17 Thread Lars Lingner
Andy Colson schrieb:
 Lars Lingner wrote:
 Andy Colson schrieb:
 Hi All,


 Here is a screen shot:

 http://maps.camavision.com/map.jpg


 There are, as far as I can tell, 4 lines.  The label is duplicating and
 I dont want it too.  Here is the layer from the mapfile:


 LAYER
 NAME annotate_pin
 TYPE line
 STATUS on
 CLASS
 NAME HIGHLIGHT
 STYLE
 COLOR 0 255 0
 OUTLINECOLOR 0 255 0
 WIDTH 3
 END
 LABEL
 TYPE truetype
 FONT Vera
 SIZE 10
 COLOR 0 0 0
 ANGLE follow
 POSITION auto
 BACKGROUNDCOLOR 255 255 255
 MINDISTANCE 900
 END
 END
 END


 I have played with MINDISTANCE from 0 to 99,000 and it does not seem to
 make a difference.  I googled a little but have not found a useful
 answer.


 If you want to use MINDISTANCE you have to set the SIZEUNITS parameter
 at layer level like this:

 LAYER
  ...
  SIZEUNITS meters # one of [pixels|feet|inches|kilometers|meters|miles]
  ...
  LABEL
   ...
   MINDISTANCE 500
   ...
  END
  ...
 END

 So the label wouldn't repeated for distances smaller than 500 meter.


 Lars
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users
 
 That didn't seem to work.  It made all my fonts really small, but the
 labels still duped.
 

Do you have at MAP level the UNITS parameter?
[feet|inches|kilometers|meters|miles|dd]

Please try that, I should have told you that in my last reply ;)

also: which projection have you set at MAP level?

 The help says layer.sizeUnits Sets the unit of CLASS object SIZE, does
 that include label font size?

it sets the unit of the object size, not the size itself. The font size
is controlled by the SIZE parameter (LABEL object)

 
 It defaults to pixels, yes?  Wouldnt a really big MINDISTANCE still have
 removed dups?
 

Not necessarily... Often they are different in orders of magnitude


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


Re: [mapserver-users] duplicate labels

2009-07-17 Thread Andy Colson

Lars Lingner wrote:

Andy Colson schrieb:

Lars Lingner wrote:

Andy Colson schrieb:

Hi All,


Here is a screen shot:

http://maps.camavision.com/map.jpg


There are, as far as I can tell, 4 lines.  The label is duplicating and
I dont want it too.  Here is the layer from the mapfile:


LAYER
NAME annotate_pin
TYPE line
STATUS on
CLASS
NAME HIGHLIGHT
STYLE
COLOR 0 255 0
OUTLINECOLOR 0 255 0
WIDTH 3
END
LABEL
TYPE truetype
FONT Vera
SIZE 10
COLOR 0 0 0
ANGLE follow
POSITION auto
BACKGROUNDCOLOR 255 255 255
MINDISTANCE 900
END
END
END


I have played with MINDISTANCE from 0 to 99,000 and it does not seem to
make a difference.  I googled a little but have not found a useful
answer.


If you want to use MINDISTANCE you have to set the SIZEUNITS parameter
at layer level like this:

LAYER
 ...
 SIZEUNITS meters # one of [pixels|feet|inches|kilometers|meters|miles]
 ...
 LABEL
  ...
  MINDISTANCE 500
  ...
 END
 ...
END

So the label wouldn't repeated for distances smaller than 500 meter.


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

That didn't seem to work.  It made all my fonts really small, but the
labels still duped.



Do you have at MAP level the UNITS parameter?
[feet|inches|kilometers|meters|miles|dd]


Yes, its feet.



Please try that, I should have told you that in my last reply ;)

also: which projection have you set at MAP level?

PROJECTION
init=epsg:3417
END





The help says layer.sizeUnits Sets the unit of CLASS object SIZE, does
that include label font size?


it sets the unit of the object size, not the size itself. The font size
is controlled by the SIZE parameter (LABEL object)



Then why did the labels font size change?


It defaults to pixels, yes?  Wouldnt a really big MINDISTANCE still have
removed dups?



Not necessarily... Often they are different in orders of magnitude



Here is my entire mapfile, the annotate_pin layer is at the bottom:

MAP
NAME bremer
SIZE 800 800
UNITS feet
SHAPEPATH '/pub/maps/bremerIA'
FONTSET /pub/www/fonts/fonts.txt

# full extent
EXTENT 5166680.718750 3687027.837500 5306080.031250 3802972.662500
# testing
#EXTENT 5191357.283967 3726454.400032 5205566.339522 3738272.725606

PROJECTION
init=epsg:3417
END

IMAGECOLOR 192 192 192
IMAGEQUALITY 95
IMAGETYPE jpeg
OUTPUTFORMAT
NAME jpeg
DRIVER 'GD/JPEG'
MIMETYPE 'image/jpeg'
#IMAGEMODE PC256
EXTENSION 'jpeg'
END


LEGEND
IMAGECOLOR 255 255 255
STATUS ON
KEYSIZE 18 12
LABEL
TYPE BITMAP
SIZE MEDIUM
COLOR 0 0 89
END
END

WEB
IMAGEPATH '/tmp/'
IMAGEURL '/tmp/'
METADATA
'wms_title'   'bremer'
'wms_onlineresource'  
'http://my.host.com/cgi-bin/mapserv?map=wms.map;'
'wms_srs' 'EPSG:3417'
END
END


#Circle symbol
SYMBOL
NAME 'CIRCLE'
TYPE ellipse
FILLED true
POINTS
1 1
END
END

LAYER
NAME raster
STATUS off
TILEINDEX raster.shp
TILEITEM location
TYPE RASTER
END

LAYER
NAME 'parcel_point'
STATUS off
TYPE POINT
CONNECTIONTYPE postgis
CONNECTION dbname=gis user=andy
DATA 'the_geom FROM bremeria.parcelpoint using unique gid using 
srid=3417'
PROCESSING CLOSE_CONNECTION=DEFER
METADATA
  'wms_title' 'parcelpoint'
END
TRANSPARENCY 100
LABELITEM pin

PROJECTION
init=epsg:3417
END

CLASS
NAME 'parcelpoint'

STYLE
SYMBOL 'CIRCLE'
SIZE 1
OUTLINECOLOR 0 0 0
COLOR 150 123 90
END

LABEL
TYPE truetype
 

AW: [mapserver-users] openlayers/mapserver

2009-07-17 Thread Arnd Wippermann
Hi,
 
with a right click on the pink tile you can get the url of the image. Test
it in the browser and you should get an error message.
 
Perhaps it's the wrong parameter SRS (it's a wms parameter) or the absent
parameter map_projection (mapserver parameter).
 
You should also declare options for your map object. I think by default
OpenLayers uses EPSG:4326 with the extent -180,-90,180,90.
 
Arnd

  _  

Von: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] Im Auftrag von YOUNESS
ELMEDRAOUI
Gesendet: Freitag, 17. Juli 2009 13:06
An: mapserver-users@lists.osgeo.org
Betreff: [mapserver-users] openlayers/mapserver


Hi,


i created my wms server and i test them with a GetCapabilities and GetMap
REQUEST :
 
http://localhost:81/cgi-bin/mapserv.exe?map=C:/OLWebSite/App_Data/olvbmapfil
el.map
http://localhost:81/cgi-bin/mapserv.exe?map=C:/OLWebSite/App_Data/olvbmapfi
lel.mapREQUEST=GetCapabilitiesSERVICE=WMSVERSiON=1.1.0
REQUEST=GetCapabilitiesSERVICE=WMSVERSiON=1.1.0
 
http://localhost:81/cgi-bin/mapserv.exe?map=C:/OLWebSite/App_Data/olvbmapfil
el.map
http://localhost:81/cgi-bin/mapserv.exe?map=C:/OLWebSite/App_Data/olvbmapfi
lel.mapREQUEST=GetMapSERVICE=WMSVERSiON=1.1.0Layers=compfun,zoneSRS=EPS
G:32632STYLE=BBox=1143759,4417539,1146436,4420390FORMAT=image/pngWIDTH=4
00HEIGHT=400
REQUEST=GetMapSERVICE=WMSVERSiON=1.1.0Layers=compfun,zoneSRS=EPSG:32632
STYLE=BBox=1143759,4417539,1146436,4420390FORMAT=image/pngWIDTH=400HEIG
HT=400
 
and my tests is ok.
 
now, i want to displat data with openlayers. 
 
i tested this code but it doesn't work.
 
map = new OpenLayers.Map( 'map' );
layer = new OpenLayers.Layer.MapServer(ol demo,
 
http://localhost:81/cgi-bin/mapserv.exe?map=C:\OLWebSite\App_Data\olvbmapfi
lel.map, {Layers:'compfun',SRS:'EPSG:32632'} );

see result in attachement.
 
can any one help me plz?
do you have an exemple for displayind data with openlayers based on mapfile?
 
Best regards,
Youness ELMEDRAOUI
Les informations figurant sur cet e-mail ont un caractère strictement
confidentiel et sont exclusivement adressées au destinataire mentionné
ci-dessus.Tout usage, reproduction ou divulgation de cet e-mail est
strictement interdit si vous n'en êtes pas le destinataire.Dans ce cas,
veuillez nous en avertir immédiatement par la même voie et détruire
l'original. Merci 

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


[mapserver-users] Geo-Referencing questions

2009-07-17 Thread Rebecca Maurer
Alright, so after some great help last week from some people on this
listhost, I have mapserver up and running on my local apache webserver. Now,
however, I have tons of newbie questions, so sorry if these are painfully
obvious/ignorant. I've spent a lot of time reading through documentation,
and these are the things I still don't understand.

My goal right now for the project I'm working is to use a .jpeg of my
neighborhood, geo-reference it, and then get different line shapefiles
with all the different bus routes and shuttles up. I have a bunch of
questions in trying to accomplish this.

First of all, I downloaded HyperCube and used Google Earth to get four
longitude/latitude points that I could identify on my .jpeg of my
neighborhood. Then used the Image to Reference Coordinates utility on
HyperCube to add in this data, then resave this as a .tif.

I was sort of skeptical that this could actually make it a geo-referenced
TIFF file, so I called gdalinfo on it and got:

/gdalinfo /Library/WebServer/Documents/TrialCampusMap.tif
Warning 1: TIFFReadDirectoryCheckOrder:Invalid TIFF directory; tags are not
sorted in ascending order
Warning 1: TIFFFetchNormalTag:ASCII value for tag GeoASCIIParams does not
end in null byte
Driver: GTiff/GeoTIFF
Size is 1439, 1804
Coordinate System is:
GEOGCS[WGS 84,
DATUM[WGS_1984,
SPHEROID[WGS 84,6378137,298.2572235630016,
AUTHORITY[EPSG,7030]],
AUTHORITY[EPSG,6326]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433],
AUTHORITY[EPSG,4326]]
GeoTransform =
  -87.60760613250471, 1.981903295209896e-05, -7.648849138569716e-08
  41.80965128643957, 3.093930015634964e-07, -1.475797871914549e-05
Metadata:
  AREA_OR_POINT=Point
  TIFFTAG_XRESOLUTION=72
  TIFFTAG_YRESOLUTION=72
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
Image Structure Metadata:
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  ( -87.6076061,  41.8096513) ( 87d36'27.38W, 41d48'34.74N)
Lower Left  ( -87.6077441,  41.7830279) ( 87d36'27.88W, 41d46'58.90N)
Upper Right ( -87.5790865,  41.8100965) ( 87d34'44.71W, 41d48'36.35N)
Lower Right ( -87.5792245,  41.7834731) ( 87d34'45.21W, 41d47'0.50N)
Center  ( -87.5934153,  41.7965622) ( 87d35'36.30W, 41d47'47.62N)
Band 1 Block=1439x1 Type=Byte, ColorInterp=Red
Band 2 Block=1439x1 Type=Byte, ColorInterp=Green
Band 3 Block=1439x1 Type=Byte, ColorInterp=Blue

First of all -- what are the differences between the two different sets of
coordinates in parentheses for upper left/ lower left.etc. Next, is
this actually a GeoTiff? And moreover, what do I do with it now? I tried
displaying it as

LAYER
NAME campusmap
TYPE RASTER
STATUS ON
DATA TrialCampusMap.tif
CLASSITEM [pixel]

with a GeoTiff OUTPUTFORMAT and also with different types of files as
IMAGETYPE. But each time, the image came out as horrible quality, and oddly
tilted (though it might be tilted so that the latitude line is the
horizontal axis?). Also, I wasn't sure what to use for the EXTENT, and used
the numbers -87.60 41.75 -87.57 41.81 which seemed to display the whole map,
but this was only after some trial and error with the upperleft/lowerleft,
etc. data. How can I normally find the EXTENT?

Second of all - I want to start adding some Vector layers, but the problem
is that no shapefiles or anything exist for the data I want to add. I
googled about a bit, but didn't find any good advice on how to make your own
Vector data from personal knowledge. Can anybody point me in the right
direction on this?

Thank you very much,

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


Re: [mapserver-users] Geo-Referencing questions

2009-07-17 Thread Frank Warmerdam

Rebecca Maurer wrote:
I was sort of skeptical that this could actually make it a 
geo-referenced TIFF file, so I called gdalinfo on it and got:

...

Corner Coordinates:
Upper Left  ( -87.6076061,  41.8096513) ( 87d36'27.38W, 41d48'34.74N)
Lower Left  ( -87.6077441,  41.7830279) ( 87d36'27.88W, 41d46'58.90N)
Upper Right ( -87.5790865,  41.8100965) ( 87d34'44.71W, 41d48'36.35N)
Lower Right ( -87.5792245,  41.7834731) ( 87d34'45.21W, 41d47'0.50N)
Center  ( -87.5934153,  41.7965622) ( 87d35'36.30W, 41d47'47.62N)

...
First of all -- what are the differences between the two different sets 
of coordinates in parentheses for upper left/ lower left.etc. 


Rebecca,

The first set is reported in decimal degrees.  The second set is the
same values described in degrees, minutes and seconds with hemisphere
codes (W=west vs. using a negative sign for instance).  The values
all look plausible.


Next, is this actually a GeoTiff?


It appears to be a valid geotiff though if the details of this
were particularly important to you it might be better to inspect a
listgeo report instead of a gdalinfo report.

  And moreover, what do I do with it

now? I tried displaying it as

LAYER
NAME campusmap
TYPE RASTER
STATUS ON
DATA TrialCampusMap.tif
CLASSITEM [pixel]


I have no idea why you are using CLASSITEM.  Normally RGB images would
be used directly with no classes or classitem defined in the raster layer.

with a GeoTiff OUTPUTFORMAT and also with different types of files as 
IMAGETYPE. But each time, the image came out as horrible quality, 


I would encourage you to use an output format like PNG24 or JPEG
to avoid significant color degredation.  PNG or GIF will generally
be inappropriate choice for RGB imagery.

 and
oddly tilted (though it might be tilted so that the latitude line is the 
horizontal axis?).


The photo is apparently not oriented north up, so MapServer is
rectifying it on the fly.  Based on the geotransform it seems the
angle of rotation should be modest - perhaps a few degrees?

  Also, I wasn't sure what to use for the EXTENT, and
used the numbers -87.60 41.75 -87.57 41.81 which seemed to display the 
whole map, but this was only after some trial and error with the 
upperleft/lowerleft, etc. data. How can I normally find the EXTENT?


Normally you could find this by looking at the corner coordinates
in the gdalinfo report.

Second of all - I want to start adding some Vector layers, but the 
problem is that no shapefiles or anything exist for the data I want to 
add. I googled about a bit, but didn't find any good advice on how to 
make your own Vector data from personal knowledge. Can anybody point me 
in the right direction on this?


My suggestion would be to draw them by hand over the photo image you
have using software like QGIS for instance.  Ensure that whatever
software you use understands rotated geotiff files - this is not
universal.

If you want predefined local data you might want to discuss
data sources with your campus engineering office, or your local
city/municiple GIS people.

Good luck,
--
---+--
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent

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


[mapserver-users] Error running ./configure on a Linux machine

2009-07-17 Thread Michalis Avraam
Hello all.

 I have tried to compile MapServer 5.4.1 for the last few hours to no
 avail. I cannot get past the ./configure command for some reason. Any
 input will be greatly appreciated.

 Basically, my problem is that ./configure refuses to recognize some of
 the commands I give it for some reason (for example, --with-agg or
 --with-png). It also refuses to find files on the system when I
 specify paths. For example, /usr/sbin/httpd or /usr/bin/xml2-config. I
 have made sure that the files are there, installed correctly, running
 just fine and are accessible by the user running ./configure.

 Any ideas what might be the problem? The following information may be useful.

 Thank you in advance,

 Michalis

 Environment:
 Fedora Core 11 x86
 Intel Core2Duo
 2GB Ram

 Configure script run:
 ./configure --enable-debug  \
--with-freetype=/usr\
--with-zlib=/lib\
--with-png=/usr/lib \
--with-jpeg \
--with-libiconv=/usr\
--with-gd   \
--with-agg=/usr/lib \
--with-proj=/usr\
--with-threads  \
--with-geos=/usr/bin/geos-config\
--with-ogr=/usr/bin/gdal-config \
--with-gdal=/usr/bin/gdal-config\
--with-tiff \
--with-postgis=/usr/bin/pg_config   \
--with-wcs  \
--with-wfsclient\
--with-wmsclient\
--with-sos  \
--with-curl-config=/usr/bin/curl-config \
--with-xml2-config=/usr/bin/xml2-config \
--with-httpd=/usr/sbin/httpd\
--with-warnings \
--with-php=/usr/include/php \

 Configure Report returned:
 MapServer is now configured for

  -- Compiler Info -
  C compiler:gcc -g -O2 -fPIC -Wall
  C++ compiler:  g++ -g -O2 -fPIC -Wall
  Debug: -g  -DNEED_NONBLOCKING_STDERR
  Generic NINT:

  -- Renderer Settings -
  zlib support:  -DUSE_ZLIB
  png support:
  palette rgba png support:
  jpeg support:  -DUSE_JPEG
  iconv support: -DUSE_ICONV
  AGG support:
  AGG Freetype support:
  Ming(flash) support:
  PDFLib support:

  -- Support Libraries -
  Proj.4 support:
  Libxml2 support:
  FriBidi support:
  Curl support:
  FastCGI support:
  Threading support:
  GEOS support:

  -- Data Format Drivers ---
  native tiff support:   -DUSE_TIFF
  PostGIS support:
  EPPL7 support: -DUSE_EPPL
  ArcSDE support:
  OGR support:
  GDAL support:
  Oracle Spatial support:

  -- OGC Services --
  WMS Server:
  WMS Client:
  WFS Server:
  WFS Client:
  WCS Server:
  SOS Server:

  -- MapScript -
  PHP MapScript: no

 Error Messages from configure:
 ./myconfigure.sh: line 8: --with-gd: command not found
 ./myconfigure.sh: line 23: --with-httpd=/usr/sbin/httpd: No such file
 or directory
 ./myconfigure.sh: line 25: --with-php=/usr/include/php: No such file
 or directory
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] duplicate labels

2009-07-17 Thread Lars Lingner
Andy Colson schrieb:
[...]

 The help says layer.sizeUnits Sets the unit of CLASS object SIZE, does
 that include label font size?

 it sets the unit of the object size, not the size itself. The font size
 is controlled by the SIZE parameter (LABEL object)

 
 Then why did the labels font size change?

I'm not sure about this. If I'm changing sizeunits from meters to
kilometers, my style looks realy awkward but my labels are stay the same.


 
 Here is my entire mapfile, the annotate_pin layer is at the bottom:
 
 MAP
 NAME bremer
 SIZE 800 800
 UNITS feet
 SHAPEPATH '/pub/maps/bremerIA'
 FONTSET /pub/www/fonts/fonts.txt
 
 # full extent
 EXTENT 5166680.718750 3687027.837500 5306080.031250 3802972.662500
 # testing
 #EXTENT 5191357.283967 3726454.400032 5205566.339522 3738272.725606
 
 PROJECTION
 init=epsg:3417
 END
 
[...]
 WEB
 IMAGEPATH '/tmp/'
 IMAGEURL '/tmp/'
 METADATA
 'wms_title'   'bremer'
 'wms_onlineresource' 
 'http://my.host.com/cgi-bin/mapserv?map=wms.map;'
 'wms_srs' 'EPSG:3417'
 END
 END
 
 

[...]

 LAYER
 NAME annotate_pin
 TYPE line
 STATUS on
 # if I comment the SIZEUNITS out it only changes the label size
 SIZEUNITS feet
 CLASS
 NAME HIGHLIGHT
 STYLE
 COLOR 0 255 0
 OUTLINECOLOR 0 255 0
 WIDTH 3
 END
 LABEL
 TYPE truetype
 FONT Vera
 SIZE 10
 COLOR 0 0 0
 BACKGROUNDCOLOR 255 255 255
 ANGLE follow
 POSITION auto
 PARTIALS false
 MINDISTANCE 95000
 END
 END
 END
 END
 
 


The mapfile looks fine. I'm unsing MINDISTANCE the same way for
controlling road labels.

One other thing you can try is to play with BUFFER for the labels.

Which version of MapServer are you using? I know along with 5.4 there
where some enhancements for labeling.

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

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


Re: [mapserver-users] duplicate labels

2009-07-17 Thread andy

Lars Lingner wrote:

Andy Colson schrieb:
[...]

The help says layer.sizeUnits Sets the unit of CLASS object SIZE, does
that include label font size?

it sets the unit of the object size, not the size itself. The font size
is controlled by the SIZE parameter (LABEL object)


Then why did the labels font size change?


I'm not sure about this. If I'm changing sizeunits from meters to
kilometers, my style looks realy awkward but my labels are stay the same.



Here is my entire mapfile, the annotate_pin layer is at the bottom:

MAP
NAME bremer
SIZE 800 800
UNITS feet
SHAPEPATH '/pub/maps/bremerIA'
FONTSET /pub/www/fonts/fonts.txt

# full extent
EXTENT 5166680.718750 3687027.837500 5306080.031250 3802972.662500
# testing
#EXTENT 5191357.283967 3726454.400032 5205566.339522 3738272.725606

PROJECTION
init=epsg:3417
END


[...]

WEB
IMAGEPATH '/tmp/'
IMAGEURL '/tmp/'
METADATA
'wms_title'   'bremer'
'wms_onlineresource' 
'http://my.host.com/cgi-bin/mapserv?map=wms.map;'

'wms_srs' 'EPSG:3417'
END
END




[...]


LAYER
NAME annotate_pin
TYPE line
STATUS on
# if I comment the SIZEUNITS out it only changes the label size
SIZEUNITS feet
CLASS
NAME HIGHLIGHT
STYLE
COLOR 0 255 0
OUTLINECOLOR 0 255 0
WIDTH 3
END
LABEL
TYPE truetype
FONT Vera
SIZE 10
COLOR 0 0 0
BACKGROUNDCOLOR 255 255 255
ANGLE follow
POSITION auto
PARTIALS false
MINDISTANCE 95000
END
END
END
END





The mapfile looks fine. I'm unsing MINDISTANCE the same way for
controlling road labels.

One other thing you can try is to play with BUFFER for the labels.

Which version of MapServer are you using? I know along with 5.4 there
where some enhancements for labeling.

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

lars


I'm using 5.4.1, perl mapscript, via OpenLayers vai WMS.  (Jeez, I hope that 
conveys meaning, because it could really easily be complete gibberish :-) )


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

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


Re: [mapserver-users] Error running ./configure on a Linux machine

2009-07-17 Thread andy

Michalis Avraam wrote:

Hello all.

 I have tried to compile MapServer 5.4.1 for the last few hours to no
 avail. I cannot get past the ./configure command for some reason. Any
 input will be greatly appreciated.

 Basically, my problem is that ./configure refuses to recognize some of
 the commands I give it for some reason (for example, --with-agg or
 --with-png). It also refuses to find files on the system when I
 specify paths. For example, /usr/sbin/httpd or /usr/bin/xml2-config. I
 have made sure that the files are there, installed correctly, running
 just fine and are accessible by the user running ./configure.

 Any ideas what might be the problem? The following information may be useful.

 Thank you in advance,

 Michalis

 Environment:
 Fedora Core 11 x86
 Intel Core2Duo
 2GB Ram

 Configure script run:
 ./configure --enable-debug  \
--with-freetype=/usr\
--with-zlib=/lib\
--with-png=/usr/lib \
--with-jpeg \
--with-libiconv=/usr\
--with-gd   \
--with-agg=/usr/lib \
--with-proj=/usr\
--with-threads  \
--with-geos=/usr/bin/geos-config\
--with-ogr=/usr/bin/gdal-config \
--with-gdal=/usr/bin/gdal-config\
--with-tiff \
--with-postgis=/usr/bin/pg_config   \
--with-wcs  \
--with-wfsclient\
--with-wmsclient\
--with-sos  \
--with-curl-config=/usr/bin/curl-config \
--with-xml2-config=/usr/bin/xml2-config \
--with-httpd=/usr/sbin/httpd\
--with-warnings \
--with-php=/usr/include/php \

 Configure Report returned:
 MapServer is now configured for

  -- Compiler Info -
  C compiler:gcc -g -O2 -fPIC -Wall
  C++ compiler:  g++ -g -O2 -fPIC -Wall
  Debug: -g  -DNEED_NONBLOCKING_STDERR
  Generic NINT:

  -- Renderer Settings -
  zlib support:  -DUSE_ZLIB
  png support:
  palette rgba png support:
  jpeg support:  -DUSE_JPEG
  iconv support: -DUSE_ICONV
  AGG support:
  AGG Freetype support:
  Ming(flash) support:
  PDFLib support:

  -- Support Libraries -
  Proj.4 support:
  Libxml2 support:
  FriBidi support:
  Curl support:
  FastCGI support:
  Threading support:
  GEOS support:

  -- Data Format Drivers ---
  native tiff support:   -DUSE_TIFF
  PostGIS support:
  EPPL7 support: -DUSE_EPPL
  ArcSDE support:
  OGR support:
  GDAL support:
  Oracle Spatial support:

  -- OGC Services --
  WMS Server:
  WMS Client:
  WFS Server:
  WFS Client:
  WCS Server:
  SOS Server:

  -- MapScript -
  PHP MapScript: no

 Error Messages from configure:
 ./myconfigure.sh: line 8: --with-gd: command not found
 ./myconfigure.sh: line 23: --with-httpd=/usr/sbin/httpd: No such file
 or directory
 ./myconfigure.sh: line 25: --with-php=/usr/include/php: No such file
 or directory
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Did you by chance edit myconfigure.sh in windows?  Leave around some carriage 
returns or something?  Got extra spaces/tabs after the \ ?

like: 


--with-libiconv=/usr\{tab}


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