[mapserver-users] WFS query problem (MS 5.0)

2010-02-24 Thread Bart van den Eijnden
Hi list,

I need someone with a good memory on Mapserver history :-)

I am running into what I believe is an old bug in Mapserver WFS, unfortunately 
we are still running an old MS 5.0.0.

When doing a WFS query and one of the layers returns an error (like no matching 
records found), no feature collection is returned but only the error message.

Can someone remember this bug, and also if there is a workaround, if no 
workaround then in what version was this fixed? TIA.

ServiceExceptionReport
xmlns=http://www.opengis.net/ogc; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://www.opengis.net/ogc 
http://schemas.opengis.net/wms/1.1.1/OGC-exception.xsd;
  ServiceException
msQueryByRect(): Search returned no results. No matching record(s) found.
  /ServiceException
/ServiceExceptionReport

Best regards,
Bart___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WFS query problem (MS 5.0)

2010-02-24 Thread Bart van den Eijnden
Hi James,

all data sources are PostGIS. I am sure the WFS request is valid.

It only happens if I click somewhere where one of the two layers has no data, 
if I click somewhere where both layers have data all is fine.

Best regards,
Bart

On Feb 24, 2010, at 10:39 AM, James Perrins wrote:

 Hi Bart,
 
 I imagine you've thought of these (and from your post that you are
 sure that your WFS request is valid - and that it should be returning
 data) - but just in case:
 
 - Does this happen all the time - or only on some areas / requests ?
 We have had issues with certain more complex gemometry types - or some
 geometries that are questionably formed
 
 - Where is the data coming from ?
 We've had issues with data sources that can supply mixed geometry
 types - or even I think grouped layers where it included perhaps
 points for one zoom level and polygons for another
 
 Sorry - can't help with version numbers - don't keep track of that
 stuff too carefully
 
 Good luck
 
 
 On Wed, Feb 24, 2010 at 8:28 AM, Bart van den Eijnden bart...@osgis.nl 
 wrote:
 Hi list,
 I need someone with a good memory on Mapserver history :-)
 I am running into what I believe is an old bug in Mapserver WFS,
 unfortunately we are still running an old MS 5.0.0.
 When doing a WFS query and one of the layers returns an error (like no
 matching records found), no feature collection is returned but only the
 error message.
 Can someone remember this bug, and also if there is a workaround, if no
 workaround then in what version was this fixed? TIA.
 
 ServiceExceptionReport
 xmlns=http://www.opengis.net/ogc;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://www.opengis.net/ogc
 http://schemas.opengis.net/wms/1.1.1/OGC-exception.xsd;
  ServiceException
 msQueryByRect(): Search returned no results. No matching record(s) found.
  /ServiceException
 /ServiceExceptionReport
 
 Best regards,
 Bart
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users
 
 
 
 
 
 -- 
 Dr James Perrins
 exeGesIS SDM Ltd
 Great House Barn
 New Street, Talgarth
 Powys LD3 0AH.
 Direct Line: 01646 686650
 Tel: 01874 711145
 Fax: 01874 711156
 Email: jam...@esdm.co.uk
 
 This E-mail and any files transmitted with it are private and intended
 solely for the use of the individual or entity to whom they are
 addressed. If you are not the intended recipient, the E-mail and any
 files have been transmitted to you in error and any copying,
 distribution or other use of the information contained in them is
 strictly prohibited.
 
 Nothing in this E-mail message amounts to a contractual or other legal
 commitment on the part of exeGesIS SDM Ltd unless confirmed by a
 signed communication.
 
 exeGesIS SDM Ltd will make every effort to keep its network free of
 viruses. However, the recipient of this message will need to scan this
 message, and any attachments, for viruses, as exeGesIS SDM Ltd can
 take no responsibility for any computer virus that might be
 transferred by this e-mail.
 

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


Re: [mapserver-users] WFS query problem (MS 5.0)

2010-02-24 Thread James Perrins
Hi Bart,

I imagine you've thought of these (and from your post that you are
sure that your WFS request is valid - and that it should be returning
data) - but just in case:

- Does this happen all the time - or only on some areas / requests ?
We have had issues with certain more complex gemometry types - or some
geometries that are questionably formed

- Where is the data coming from ?
We've had issues with data sources that can supply mixed geometry
types - or even I think grouped layers where it included perhaps
points for one zoom level and polygons for another

Sorry - can't help with version numbers - don't keep track of that
stuff too carefully

Good luck


On Wed, Feb 24, 2010 at 8:28 AM, Bart van den Eijnden bart...@osgis.nl wrote:
 Hi list,
 I need someone with a good memory on Mapserver history :-)
 I am running into what I believe is an old bug in Mapserver WFS,
 unfortunately we are still running an old MS 5.0.0.
 When doing a WFS query and one of the layers returns an error (like no
 matching records found), no feature collection is returned but only the
 error message.
 Can someone remember this bug, and also if there is a workaround, if no
 workaround then in what version was this fixed? TIA.

 ServiceExceptionReport
 xmlns=http://www.opengis.net/ogc;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://www.opengis.net/ogc
 http://schemas.opengis.net/wms/1.1.1/OGC-exception.xsd;
   ServiceException
 msQueryByRect(): Search returned no results. No matching record(s) found.
   /ServiceException
 /ServiceExceptionReport

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





-- 
Dr James Perrins
exeGesIS SDM Ltd
Great House Barn
New Street, Talgarth
Powys LD3 0AH.
Direct Line: 01646 686650
Tel: 01874 711145
Fax: 01874 711156
Email: jam...@esdm.co.uk

This E-mail and any files transmitted with it are private and intended
solely for the use of the individual or entity to whom they are
addressed. If you are not the intended recipient, the E-mail and any
files have been transmitted to you in error and any copying,
distribution or other use of the information contained in them is
strictly prohibited.

Nothing in this E-mail message amounts to a contractual or other legal
commitment on the part of exeGesIS SDM Ltd unless confirmed by a
signed communication.

exeGesIS SDM Ltd will make every effort to keep its network free of
viruses. However, the recipient of this message will need to scan this
message, and any attachments, for viruses, as exeGesIS SDM Ltd can
take no responsibility for any computer virus that might be
transferred by this e-mail.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Re: Highlighting symbols dynamically on a point layer using C# mapscript

2010-02-24 Thread sireesha

Thank you Tamas for the reply.
I am not able to view the selected data with different symbol.

i created a new layer 

layerObj layer = new layerObj(map); 
layer.name = test;
layer.type = MS_LAYER_TYPE.MS_LAYER_POINT;
layer.status = mapscript.MS_TRUE;
classObj clsobj = new classObj(layer);
styleObj styobj = new styleObj(clsobj);
styobj.setSymbolByName(map, circle);
styobj.size = 20;
styobj.color.setRGB(255, 50, 0);
styobj.outlinecolor.setRGB(0, 0, 0);

Now to add the selected point data to the layer i wrote the code mentioned
below:But i am not able to view the points in different symbols.

 foreach (DataRow dr in dtVillages.Rows)
{

string villCode = dr[VILLAGE_CODE].ToString().Trim();
cmd.CommandText = select x(the_geom),y(the_geom) from villages_fdhs WHERE
vlg_code =' + villCode + ';
pointObj point = new pointObj(0, 0, 0, 0);
double x_coor, y_coor;
Npgsql.NpgsqlDataReader rdr = cmd.ExecuteReader();
while (rdr.Read())
{
x_coor =
Double.Parse(rdr.GetValue(0).ToString().Trim());
y_coor =
Double.Parse(rdr.GetValue(1).ToString().Trim());
point.setXY(x_coor, y_coor, 0);
image = map.draw();
layer = map.getLayerByName(test);
layer.status = mapscript.MS_ON;
point.draw(map, layer, img, 0, abc);
map.draw();
}
}
Please help me where i am going wrong.



-- 
View this message in context: 
http://n2.nabble.com/Highlighting-symbols-dynamically-on-a-point-layer-using-C-mapscript-tp4617293p4625575.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Coordinates as labels

2010-02-24 Thread Erdem Guven
Hello,
I use shp2img to render s57 files.
I want use z coordinate of points as label data.
Is there a way to do that?
Erdem
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] HTML Legends - What Good Are They?

2010-02-24 Thread Bill Thoen
I've been searching the 'net and asking questions here for the last two 
days on HTML Legends, and outside of the standard MS documentation 
(which has some very confusing bits in it for one who's unfamiliar with 
the way it works) I've not found anything relevant on this topic except 
my own questions echoed back at me from nabble and some 
interestingly-titled documents that are inaccessible because they were 
on the old MS website. And so far the forum's been silent on the issue 
as well.


But I have discovered one old message hinting at clever ways to use 
nested [if] statements with custom metadata variables to make a very 
useful layer control with collapse and expand features and more. I want 
to learn more about that but I'd like to skip the time-consuming process 
of learning by trial and error.


So can anyone point me to some documentation that goes into more detail 
about what HTML Legends can really do or direct me to one or two URLs 
that demonstrate some advanced techniques with nested [if] ...[/if] 
blocks and custom metadata variables?


- Bill Thoen

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


[mapserver-users] ms4w, ArcSDE, NSTRING, iconv(), oops?

2010-02-24 Thread Russell McOrmond


  This may sound familiar to a problem from last year...

  We have data stored in ArcSDE which we are accessing with Mapserver. 
Strings are encoded in NSTRING (wide, UTF-16 encoded, etc).


  Last year we had an issue on Linux where there was differences in the 
default endianness for the UTF-16 to UTF-8 transcoding: glibc was assuming 
local processor endianness (Intel) and libiconv was assuming 
network endianness.   This was solved with a patch to Mapserver to detect 
the endianness and specify the right little or big endianness to iconv().


http://trac.osgeo.org/mapserver/ticket/2878



  We are now noticing the same behavior with ms4w where characters coming 
from the database through ArcSDE are coming out all garbled.  The same 
mapfiles talking to the same ArcSDE and underlying data works fine with 
our Linux mapserver, but fails with ms4w.


  I had one of the Windows users here test with the latest stable ms4w 
which upgraded his MapServer from v. 5.2.0 to 5.2.1.The ticket above 
indicates that the patch was backported to the 5.2 stream, but I don't 
know if there may be differences in the Windows libraries.   The issue is 
ensuring that the conversion from UTF-16 to UTF-8 happens correctly.



  Any thoughts?

  Thank you for any help.

--
 Russell McOrmond, Internet Consultant: http://www.flora.ca/
 Please help us tell the Canadian Parliament to protect our property
 rights as owners of Information Technology. Sign the petition!
 http://digital-copyright.ca/petition/ict/ http://KillBillC61.ca

 The government, lobbied by legacy copyright holders and hardware
  manufacturers, can pry control over my camcorder, computer,
  home theatre, or portable media player from my cold dead hands!
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Re: Reg:About Native Microsoft SQL Server 2008 Driver for MapServer

2010-02-24 Thread Kiks

A read-only, native MapServer driver that connects to Microsoft SQL Server
2008's spatial capabilities is available in MS4W as of version 2.3.0.

Steps to Enable SQL Server 2008 Support in MS4W's MapServer

The plugin exists in /ms4w/Apache/specialplugins/msplugin_mssql2008.dll

Modify your SQL Server 2008 layer in your mapfile to use the CONNECTIONTYPE
PLUGIN parameter and point to the appropriate plugin using the PLUGIN
parameter. Use the CONNECTION parameter to specify the required connection
parameters to access SQL Server, and use the DATA parameter to specify the
table that holds the spatial information:

LAYER
  ...
  CONNECTIONTYPE PLUGIN
  PLUGIN C:/ms4w/Apache/specialplugins/msplugin_mssql2008.dll
  CONNECTION server=mysqlserver2008.com;uid=dbusername;
   pwd=dbpassword;database=Roads Database;
 Integrated Security=false
  DATA the_geom from roads
  TYPE LINE
  STATUS ON
  CLASS
 ...
  END
END
Test your layer, possibly by using the shp2img commandline utility with the
'-all_debug 5' switch

The associated RFC document with the original notes on this support is RFC
38
-- 
View this message in context: 
http://n2.nabble.com/Reg-About-Native-Microsoft-SQL-Server-2008-Driver-for-MapServer-tp1971580p4626221.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WFS query problem (MS 5.0)

2010-02-24 Thread Yewondwossen Assefa

Bart,

I think It is this one: http://trac.osgeo.org/mapserver/ticket/2444. 
Patch is in the bug.


best regards,

Bart van den Eijnden wrote:

Hi James,

all data sources are PostGIS. I am sure the WFS request is valid.

It only happens if I click somewhere where one of the two layers has no data, 
if I click somewhere where both layers have data all is fine.

Best regards,
Bart

On Feb 24, 2010, at 10:39 AM, James Perrins wrote:

  

Hi Bart,

I imagine you've thought of these (and from your post that you are
sure that your WFS request is valid - and that it should be returning
data) - but just in case:

- Does this happen all the time - or only on some areas / requests ?
We have had issues with certain more complex gemometry types - or some
geometries that are questionably formed

- Where is the data coming from ?
We've had issues with data sources that can supply mixed geometry
types - or even I think grouped layers where it included perhaps
points for one zoom level and polygons for another

Sorry - can't help with version numbers - don't keep track of that
stuff too carefully

Good luck


On Wed, Feb 24, 2010 at 8:28 AM, Bart van den Eijnden bart...@osgis.nl wrote:


Hi list,
I need someone with a good memory on Mapserver history :-)
I am running into what I believe is an old bug in Mapserver WFS,
unfortunately we are still running an old MS 5.0.0.
When doing a WFS query and one of the layers returns an error (like no
matching records found), no feature collection is returned but only the
error message.
Can someone remember this bug, and also if there is a workaround, if no
workaround then in what version was this fixed? TIA.

ServiceExceptionReport
xmlns=http://www.opengis.net/ogc;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://www.opengis.net/ogc
http://schemas.opengis.net/wms/1.1.1/OGC-exception.xsd;
 ServiceException
msQueryByRect(): Search returned no results. No matching record(s) found.
 /ServiceException
/ServiceExceptionReport

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


  


--
Dr James Perrins
exeGesIS SDM Ltd
Great House Barn
New Street, Talgarth
Powys LD3 0AH.
Direct Line: 01646 686650
Tel: 01874 711145
Fax: 01874 711156
Email: jam...@esdm.co.uk

This E-mail and any files transmitted with it are private and intended
solely for the use of the individual or entity to whom they are
addressed. If you are not the intended recipient, the E-mail and any
files have been transmitted to you in error and any copying,
distribution or other use of the information contained in them is
strictly prohibited.

Nothing in this E-mail message amounts to a contractual or other legal
commitment on the part of exeGesIS SDM Ltd unless confirmed by a
signed communication.

exeGesIS SDM Ltd will make every effort to keep its network free of
viruses. However, the recipient of this message will need to scan this
message, and any attachments, for viruses, as exeGesIS SDM Ltd can
take no responsibility for any computer virus that might be
transferred by this e-mail.




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

  



--

Assefa Yewondwossen   
Software Analyst   

Email: ass...@dmsolutions.ca
http://www.dmsolutions.ca/


Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



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


[mapserver-users] ALIGN Label option

2010-02-24 Thread Simon Mercier
Hi, Does anybody have success with the ALIGN parameter assumed to be
implement since 5.4? (
http://mapserver.org/development/rfc/ms-rfc-40.html#rfc40) I try with
mapserver 5.6.1 on linux and via MS4W-beta10. This is my mapfile and still
no success?  I have found no example I do not see where I fail on this one?

getSymbol(): Symbol definition error. Parsing error near (center):(line 55)

LABEL
OUTLINECOLOR 255 255 255
COLOR 0 0 0
FONT vera
TYPE truetype
POSITION AUTO
BUFFER 5
SIZE 8
OFFSET 1 1
MAXLENGTH 12
WRAP  
ALIGN center
END
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] ALIGN Label option

2010-02-24 Thread thomas bonfort
the label block in
http://code.google.com/p/mapserver-utils/source/browse/trunk/places.map
is how the wrapping is done on city names on the map shown on the
mapserver front page.
as for your label block:
* center must not be quoted, it's a keyword
* maxlength 12 will not wrap many labels, unless you have very long
ones (the wrapping length is in characters, not pixels)

regards,
thomas

On Wed, Feb 24, 2010 at 17:28, Simon Mercier mercier.si...@gmail.com wrote:
 Hi, Does anybody have success with the ALIGN parameter assumed to be
 implement since 5.4?
 (http://mapserver.org/development/rfc/ms-rfc-40.html#rfc40) I try with
 mapserver 5.6.1 on linux and via MS4W-beta10. This is my mapfile and still
 no success?  I have found no example I do not see where I fail on this one?
 getSymbol(): Symbol definition error. Parsing error near (center):(line 55)
             LABEL
                 OUTLINECOLOR 255 255 255
                 COLOR 0 0 0
                 FONT vera
                 TYPE truetype
                 POSITION AUTO
                 BUFFER 5
                 SIZE 8
                 OFFSET 1 1
                 MAXLENGTH 12
                 WRAP  
                 ALIGN center
             END
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users


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


[mapserver-users] msplugin_mssql2008.dll plugin seems to work but I obtain a blank image

2010-02-24 Thread Kiks

Hi to all,
I have imported in Sql Server 2008 spatial a shp file.
Now, if I access the original shape file via WMS it works fine. This is the
mapfile config relative to the working shp file:

LAYER
 NAME ptcp
 TYPE POLYGON 
 STATUS DEFAULT
# CONNECTIONTYPE PLUGIN 
#PLUGIN C:\programmi\ms4w\Apache\specialplugins\msplugin_mssql2008.dll 
# CONNECTION Driver={SQL Server Native Client
10.0};Server=localhost\SQLEXPRESS; Database=GIS;Trusted_Connection=yes; 
# DATA geom FROM CG_PTCP_C6_AREE_NATURALI 
 DATA E:\Dati cartografici Comuni\Parma PTCP\ptcp
gauss\C6\aree_naturali.shp
 METADATA 
   wms_title Aree naturali 
   gml_include_items all 
 END 
DUMP TRUE 
 OPACITY 50
 CLASS
 STYLE
   COLOR 0 0 255
   # WIDTH 8
 END
 LABEL 
   TYPE truetype 
   FONT PerspectiveBlack 
   SIZE 11 
 END 
  END

If I remark the row DATA E:\ \aree_naturali.shp and I remove the # in
the previous lines to enable the Sql Server 2008 call, executing the WMS
call from browser I obtain a blank image.

I can't understand the different beaviour, because the geometry in Sql
Server is the same, and the connection is accepted correctly.
Any ideas?

Thanks a lot,
Kiks
-- 
View this message in context: 
http://n2.nabble.com/msplugin-mssql2008-dll-plugin-seems-to-work-but-I-obtain-a-blank-image-tp4627179p4627179.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] msplugin_mssql2008.dll plugin seems to work but I obtain a blank image

2010-02-24 Thread James Perrins
Is it a projection issue - I have to do the below to get the geometry
out correctly I think (at least it works!)

  CONNECTION server=JAMESIBM\sql2008;uid=test;
   pwd=test;database=Test;
 Integrated Security=false
  DATA geom from Wales USING UNIQUE OBJECTID USING SRID=27700
  TYPE POLYGON
  STATUS ON
  TEMPLATE AB
PROJECTION
init=epsg:27700
END

Best wishes

On Wed, Feb 24, 2010 at 5:18 PM, Kiks enrico.o...@gmail.com wrote:

 Hi to all,
 I have imported in Sql Server 2008 spatial a shp file.
 Now, if I access the original shape file via WMS it works fine. This is the
 mapfile config relative to the working shp file:

 LAYER
     NAME ptcp
     TYPE POLYGON
     STATUS DEFAULT
 #     CONNECTIONTYPE PLUGIN
 #    PLUGIN C:\programmi\ms4w\Apache\specialplugins\msplugin_mssql2008.dll
 #     CONNECTION Driver={SQL Server Native Client
 10.0};Server=localhost\SQLEXPRESS; Database=GIS;Trusted_Connection=yes;
 #     DATA geom FROM CG_PTCP_C6_AREE_NATURALI
     DATA E:\Dati cartografici Comuni\Parma PTCP\ptcp
 gauss\C6\aree_naturali.shp
     METADATA
       wms_title Aree naturali
       gml_include_items all
     END
        DUMP TRUE
     OPACITY 50
     CLASS
     STYLE
       COLOR 0 0 255
       # WIDTH 8
     END
     LABEL
       TYPE truetype
       FONT PerspectiveBlack
       SIZE 11
     END
  END

 If I remark the row DATA E:\ \aree_naturali.shp and I remove the # in
 the previous lines to enable the Sql Server 2008 call, executing the WMS
 call from browser I obtain a blank image.

 I can't understand the different beaviour, because the geometry in Sql
 Server is the same, and the connection is accepted correctly.
 Any ideas?

 Thanks a lot,
 Kiks
 --
 View this message in context: 
 http://n2.nabble.com/msplugin-mssql2008-dll-plugin-seems-to-work-but-I-obtain-a-blank-image-tp4627179p4627179.html
 Sent from the Mapserver - User mailing list archive at Nabble.com.
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users




-- 
Dr James Perrins
exeGesIS SDM Ltd
Great House Barn
New Street, Talgarth
Powys LD3 0AH.
Direct Line: 01646 686650
Tel: 01874 711145
Fax: 01874 711156
Email: jam...@esdm.co.uk

This E-mail and any files transmitted with it are private and intended
solely for the use of the individual or entity to whom they are
addressed. If you are not the intended recipient, the E-mail and any
files have been transmitted to you in error and any copying,
distribution or other use of the information contained in them is
strictly prohibited.

Nothing in this E-mail message amounts to a contractual or other legal
commitment on the part of exeGesIS SDM Ltd unless confirmed by a
signed communication.

exeGesIS SDM Ltd will make every effort to keep its network free of
viruses. However, the recipient of this message will need to scan this
message, and any attachments, for viruses, as exeGesIS SDM Ltd can
take no responsibility for any computer virus that might be
transferred by this e-mail.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] ALIGN Label option

2010-02-24 Thread Simon Mercier
and keyword is never quoted... I should remember.  Work great thk you



2010/2/24 thomas bonfort thomas.bonf...@gmail.com

 the label block in
 http://code.google.com/p/mapserver-utils/source/browse/trunk/places.map
 is how the wrapping is done on city names on the map shown on the
 mapserver front page.
 as for your label block:
 * center must not be quoted, it's a keyword
 * maxlength 12 will not wrap many labels, unless you have very long
 ones (the wrapping length is in characters, not pixels)

 regards,
 thomas

 On Wed, Feb 24, 2010 at 17:28, Simon Mercier mercier.si...@gmail.com
 wrote:
  Hi, Does anybody have success with the ALIGN parameter assumed to be
  implement since 5.4?
  (http://mapserver.org/development/rfc/ms-rfc-40.html#rfc40) I try with
  mapserver 5.6.1 on linux and via MS4W-beta10. This is my mapfile and
 still
  no success?  I have found no example I do not see where I fail on this
 one?
  getSymbol(): Symbol definition error. Parsing error near (center):(line
 55)
  LABEL
  OUTLINECOLOR 255 255 255
  COLOR 0 0 0
  FONT vera
  TYPE truetype
  POSITION AUTO
  BUFFER 5
  SIZE 8
  OFFSET 1 1
  MAXLENGTH 12
  WRAP  
  ALIGN center
  END
  ___
  mapserver-users mailing list
  mapserver-users@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/mapserver-users
 
 

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


[mapserver-users] Re: [mapserver-dev] Reg:About Native Microsoft SQL Server 2008 Driver for MapServer

2010-02-24 Thread Tamas Szekeres
Venkat,

The packages at http://vbkto.dyndns.org/sdk/ all contain the mssql 2008
plugin. You could also compile this dll easily by using the SDK package
available from this site.

Best regards,

Tamas



2008/7/15 venkat ven.tammin...@gmail.com

 Dear All,

  I am Venkat.I am developing web application based on  MapServer.
 Upto now I have used PostgreSQL/PostGIS.Now I want to upgrade my application
 to Ms SQL  Server 2008.But  I am not able to find 
 msplugin_mssql2008.dll.Where I can find this dll.

 Please can you help me.

 I am waiting for your great response.

 Advanced Thanks



 Regards

 Venkat.



 --
 Thanks And Regards,
 VENKATRAO TAMMINENI

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


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


RE: [mapserver-users] support of time and space tiling

2010-02-24 Thread Lime, Steve D (DNR)
I believe you can do this by using a tile layer with an explicit FILTER set for 
the temporal piece. So, If in your tile index you have a
time attribute (or whatever you can do this):

LAYER
   NAME 'tileindex'
   TYPE TILEINDEX
   ...
   FILTER 'limit tiles by attributes'
END

LAYER
  NAME 'tiles'
  TYPE RASTER
  ...
  TILEINDEX 'tileindex'
END

We use this mechanism in the WCS server code...

Steve

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Peisheng Zhao
Sent: Tuesday, February 23, 2010 9:25 AM
To: users mapserver
Subject: [mapserver-users] support of time and space tiling

Hi all,


Does MapServer support both time and space tiling for a dataset yet?


Peisheng

Hotmail: Free, trusted and rich email service. Get it 
now.http://clk.atdmt.com/GBL/go/196390708/direct/01/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] HTML Legends - What Good Are They?

2010-02-24 Thread Chris Garrard
Bill,

I have some apps that use HTML legends and custom metadata variables.  See
http://earth.gis.usu.edu/utah/advanced.phtml for one.  The groups of data
are collapsible, and I also use metadata to figure out which ones should
have legends shown in the TOC, which ones should have links to legends, etc
(at least I think that's how I did that -- it was a while ago and I'm too
lazy at the moment to go hunt down the files).  If you're interested, I'll
take the time to find some sample files for you.

Chris

On Wed, Feb 24, 2010 at 7:41 AM, Bill Thoen bth...@gisnet.com wrote:

 I've been searching the 'net and asking questions here for the last two
 days on HTML Legends, and outside of the standard MS documentation (which
 has some very confusing bits in it for one who's unfamiliar with the way it
 works) I've not found anything relevant on this topic except my own
 questions echoed back at me from nabble and some interestingly-titled
 documents that are inaccessible because they were on the old MS website. And
 so far the forum's been silent on the issue as well.

 But I have discovered one old message hinting at clever ways to use nested
 [if] statements with custom metadata variables to make a very useful layer
 control with collapse and expand features and more. I want to learn more
 about that but I'd like to skip the time-consuming process of learning by
 trial and error.

 So can anyone point me to some documentation that goes into more detail
 about what HTML Legends can really do or direct me to one or two URLs that
 demonstrate some advanced techniques with nested [if] ...[/if] blocks and
 custom metadata variables?

 - Bill Thoen

 ___
 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] Translate MapServer Doc into french

2010-02-24 Thread Yves Jacolin
Hello,

What is the process to translate the documentation into french? Does someone
began to work on this?

Thanks,

Y.
-- 
Yves Jacolin

Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 26 57 98
Fax : 04 79 70 15 81
Mail : yves.jaco...@camptocamp.com
http://www.camptocamp.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Find mailing list info

2010-02-24 Thread Yves Jacolin
Hello,

Just a question about mailing list. From the main page of mapserver.org, how
can I find information about mailing list whitout doing a search?

I find it at the end of the doc which doesn't seem to me the best location.

Thanks,

Y.
-- 
Yves Jacolin

Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 26 57 98
Fax : 04 79 70 15 81
Mail : yves.jaco...@camptocamp.com
http://www.camptocamp.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users