Re: [mapserver-users] Making border thick on selecting shape...

2008-04-07 Thread Atul Dravid
Thanks Luis for your replay...

Only the fact that i was having wrong approach and hence my question was
also wrong..

I feel I should share with you what I was trying to do...

1) Load the map
2) Have a click event on map shapes.
3) Highlight the selected shape with making border of different color.
4) Show the map again.

This I achieved using Map Script and PHP... I used a templayer to copy the
shapes from original map layer on the templayer on mouse click, create the
image of templayer and pasted it on original map... For templayer I selected
the outlinecolor to RED instead of default color... This did the trick...



On Mon, Apr 7, 2008 at 10:46 PM, Luis Treviño <[EMAIL PROTECTED]> wrote:

> you can try something like this:
>
> LAYER
>  NAME "layername"
>  TYPE polygon
>  ...
>  CLASS
>   STYLE
> COLOR 255 255 0
> OUTLINECOLOR 255 0 0
> WIDTH 4
>   END
>  END
> END
>
> regards,
> Luis
>
>
> 2008/4/5, Atul Dravid <[EMAIL PROTECTED]>:
>  > Dear All,
> >
> > I am developing mapserver based application on Windows platform. The map
> is
> > rendered properly as per the tutorial. Also I can also capture the shape
> in
> > the layer on which user is clicking the mouse. I would like the border
> of
> > this shape to be converted to Red color and with more thickness.
> >
> > Anyone has done this ?
> >
> > Thanks in advance,
> > ___
> >  mapserver-users mailing list
> >  mapserver-users@lists.osgeo.org
> >  http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> >
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [MAPSERVER-USERS] php database mapfile

2008-04-07 Thread nickthegreek-

cause i wanna take the name from a downdrop menu...
the england can be changed to many countrys..

and i can't get the variable from the form and how to use it there
-- 
View this message in context: 
http://www.nabble.com/php-database-mapfile-tp16519414p16545654.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] CLOSE_CONNECTION=DEFER - Segmentation fault

2008-04-07 Thread Dave Fuhry
Carlos,

   I won't be able to look at this until after April 14th.  But note
that I posted a third version of my patch which Ivan is using.
(Lesson learned: From now on in Trac, I'm posting a separate file for
every version of a patch).  It seems like you're using the latest, but
check to be sure.

   If you can send a snippet of the python code you're using, that
might help.  I assume you are using CLOSE_CONNECTION=DEFER on the
layer.  There is clearly still something wrong with the series of SQL
statements being issued; for one thing, a ROLLBACK followed by BEGIN
should only be issued if the previous statement ended erroneously.

   The SELECT * FROM tablename WHILE false LIMIT 0 is normal though;
mapserver needs to know the field names and data types.  Pity it can't
infer them from the layer definition; there's probably a good reason
it can't.

Thanks,

Dave Fuhry

On Fri, Mar 28, 2008 at 12:47 PM, Carlos_Molina
<[EMAIL PROTECTED]> wrote:
>
>  I miss one extra query right here:
>
> DECLARE mycursor2 BINARY CURSOR FOR SELECT... // getShape(1)
>  FETCH ALL in mycursor2
>  CLOSE mycursor2
>  ROLLBACK
>  
> //queryByAttribute///
>
> ERROR:  DECLARE CURSOR may only be used in transaction blocks
>  WARNING:  there is no transaction in progress
>  statement: rollback
>  statement: begin
>  ERROR:  cursor "mycursor" does not exist
>  ABORT
>
>  I tried this QueryByAttribute by itself, without the first QueryByRect I
>  showed no my last post and it seems to be missing a BEGIN statement for its
>  cursor.
>
>  Saludos!
>
>
>
>
>  Carlos_Molina wrote:
>  >
>  >
>  > Dave Fuhry wrote:
>  >>
>  >> Ivan,
>  >>
>  >>p.mapper seems to use the typical php
>  >> {map,layer}Obj_queryBy{Point,Rect,etc.} functions.  These calls end up
>  >> calling the same msPOSTGIS* functions as everything else.
>  >>
>  >>I can't seem to reproduce your problem with a simple testcase
>  >> (basically, the attached files).  It might help if you can set
>  >> log_min_duration_statement = 0 in your postgresql.conf, reproduce the
>  >> problem, and send the output from your postgresql log file.  It will
>  >> show all commands issued to the database, including the BEGIN, and the
>  >> DECLARE CURSOR ..., and FETCH for every layer.
>  >>
>  >>I can setup p.mapper if that's necessary to reproduce the problem.
>  >>
>  >>   (By the way, I assume you're not using an ancient version of
>  >> postgis, in the 0.5 - 0.6 era.  There is an alternate codepath for
>  >> that, which I have not tested.)
>  >>
>  >> Thanks,
>  >>
>  >> Dave
>  >>
>  >
>  > Hello Dave,
>  >
>  > I've tried first and second version of your patch and both resolved my
>  > first issue of many many BEGIN statements being issued by cursors so my
>  > application went back to running smoothly. The sad part is that another
>  > issued arised from this patch and It's when using python mapscript and the
>  > drawQuery call.
>  > If i just render my .map file with draw() I get no trouble, but if I open
>  > my map file, get a single layer from it, query the layer, open the layer
>  > to retrieve results and call drawQuery() afterwards to render everything
>  > like I used to do before the patch, I get the following error(I resumed
>  > the sql statements):
>  >
>  > BEGIN
>  > DECLARE mycursor BINARY CURSOR FOR SELECT...  // queryByPoint
>  > FETCH ALL in mycursor
>  > CLOSE mycursor
>  > SELECT * FROM... "same as above" WHILE false LIMIT 0 // Dont know why this
>  > is issued, might be openLayer or just to get the field names of the table
>  > WARNING:  there is already a transaction in progress
>  > BEGIN
>  > DECLARE mycursor2 BINARY CURSOR FOR SELECT... // getShape(0)
>  > FETCH ALL in mycursor2
>  > CLOSE mycursor2
>  > ROLLBACK
>  > BEGIN
>  > DECLARE mycursor2 BINARY CURSOR FOR SELECT... // getShape(1)
>  > FETCH ALL in mycursor2
>  > CLOSE mycursor2
>  > ROLLBACK
>  > ERROR:  DECLARE CURSOR may only be used in transaction blocks
>  > WARNING:  there is no transaction in progress
>  > statement: rollback
>  > statement: begin
>  > ERROR:  cursor "mycursor" does not exist
>  > ABORT
>  >
>  > Regards
>  >
>  > Carlos Molina
>  >
>
>  --
>  View this message in context: 
> http://www.nabble.com/CLOSE_CONNECTION%3DDEFERSegmentation-fault-tp15786741p16353907.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 mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] compiling on windows

2008-04-07 Thread Florin A.
The message was complaining about the 'errcode' variable in regex.c
I changed regex.c code at lines 4876, 4877, 4885, 4886, 4893 and replaced
all occurences of 'errcode' in the regerror function with 'errcode2'.  Then
mapserver compiled :)
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] compiling on windows

2008-04-07 Thread Florin A.
Hi Tamas,

I added MSVC_VER=1400

I call nmake like this:

C:\projects\mapserver-5.0.2>nmake /f Makefile.vc MSVC_VER=1400


The errors are the same as before:

C:\projects\mapserver-5.0.2>nmake /f Makefile.vc MSVC_VER=1400

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

cl /nologo /Ox /MD /W3 /DDEBUG /EHsc /D_CRT_SECURE_NO_DEPRECATE
/D_CRT_NONSTDC_NO_DEPRECATE -IC:/projects/gdwin32  -Ic:\projects\map
server-5.0.2\..\jpeg-6b   -IC:\projects\proj-4.4.9/src
-IC:\projects\regex-0.12
-Ic:\projects\mapserver-5.0.2\..\zlib-1.2.3
  -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP
-DNEED_STRLCAT-DUSE_PROJ -DUSE_PROJ_API_H  -DUSE_JPEG -DUSE_GD_PNG
 -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT
-DGD_HAS_GETBITMAPFONT -DGD_HAS_FTEX_XSHOW  -DUSE_WMS_SVR -DUSE
_THREAD-DIGNORE_MISSING_DATA   -DENABLE_STDERR_DEBUG
-DUSE_GD_ANTIALIAS   -DUSE_ZLIB-DWIN32 -D_WIN32 /c C:\projects\r
egex-0.12\regex.c /FoC:\projects\regex-0.12\regex.obj
regex.c
C:\projects\regex-0.12\regex.c(768) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(774) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1123) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1189) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1204) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1297) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1322) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1336) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1346) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1358) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1364) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1372) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1608) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1638) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1683) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1698) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1726) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1813) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1926) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1932) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1937) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1941) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1945) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1949) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1953) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1957) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1975) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(2023) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(2027) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(2042) : warning C4013: 'free' undefined;
assuming extern returning int
C:\projects\regex-0.12\regex.c(2236) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(2784) : warning C4013: 'abort' undefined;
assuming extern returning int
C:\projects\regex-0.12\regex.c(2834) : warning C4047: '=' : 'regoff_t *'
differs in levels of indirection from 'int'
C:\projects\regex-0.12\regex.c(3313) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3403) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3427) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3480) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3496) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3760) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3771) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3918) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3971) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(4079) : warning C4018: '>=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(4110) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(4123) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\reg

Re: [mapserver-users] compiling on windows

2008-04-07 Thread Florin A.
The message says to disable deprecation.  Deprecation is disabled in
nmake.opt  inside OPTFLAGS  but then there is another OPTFLAGS that enables
it again only a few lines later.

The first one on line 92:

OPTFLAGS =/nologo /Ox /MD $(WARNING_LEVEL) $(DEBUG) /EHsc
/D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE

And then on line 98:

OPTFLAGS =/nologo /Ox /MD $(WARNING_LEVEL) $(DEBUG) /EHsc

I commented out the second one, and the errors now are:

regex.c
C:\projects\regex-0.12\regex.c(2834) : warning C4047: '=' : 'regoff_t *'
differs in levels of indirection from 'int'
C:\projects\regex-0.12\regex.c(4876) : warning C4996: 'errcode' was declared
deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506)
: see declaration of 'errcode'
Message: 'This name was supported during some Whidbey pre-releases.
Instead, use the standard name errno_t.'
C:\projects\regex-0.12\regex.c(4876) : error C2081: 'preg' : name in formal
parameter list illegal
C:\projects\regex-0.12\regex.c(4876) : error C2081: 'errbuf' : name in
formal parameter list illegal
C:\projects\regex-0.12\regex.c(4876) : error C2081: 'errbuf_size' : name in
formal parameter list illegal
C:\projects\regex-0.12\regex.c(4877) : error C2055: expected formal
parameter list, not a type list
C:\projects\regex-0.12\regex.c(4877) : error C2082: redefinition of formal
parameter 'errcode'
C:\projects\regex-0.12\regex.c(4885) : warning C4996: 'errcode' was declared
deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506)
: see declaration of 'errcode'
Message: 'This name was supported during some Whidbey pre-releases.
Instead, use the standard name errno_t.'
C:\projects\regex-0.12\regex.c(4885) : error C2059: syntax error : 'type'
C:\projects\regex-0.12\regex.c(4893) : error C2275: 'errcode' : illegal use
of this type as an expression
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506)
: see declaration of 'errcode'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\cl.EXE"' : return code '0x2'
Stop.





On Mon, Apr 7, 2008 at 2:54 PM, Florin A. <[EMAIL PROTECTED]> wrote:

> Hi Frank,
>
> I forgot the rest
>
> C:\projects\regex-0.12\regex.c(4079) : warning C4018: '>=' :
> signed/unsigned mismatch
> C:\projects\regex-0.12\regex.c(4110) : warning C4018: '<=' :
> signed/unsigned mismatch
> C:\projects\regex-0.12\regex.c(4123) : warning C4018: '<=' :
> signed/unsigned mismatch
> C:\projects\regex-0.12\regex.c(4293) : warning C4018: '>=' :
> signed/unsigned mismatch
> C:\projects\regex-0.12\regex.c(3771) : warning C4101: 'destination' :
> unreferenced local variable
> C:\projects\regex-0.12\regex.c(3918) : warning C4101: 'destination' :
> unreferenced local variable
> C:\projects\regex-0.12\regex.c(3971) : warning C4101: 'destination' :
> unreferenced local variable
> C:\projects\regex-0.12\regex.c(4110) : warning C4101: 'destination' :
> unreferenced local variable
> C:\projects\regex-0.12\regex.c(4123) : warning C4101: 'destination' :
> unreferenced local variable
> C:\projects\regex-0.12\regex.c(4876) : warning C4996: 'errcode' was
> declared deprecated
> C:\Program Files\Microsoft Visual Studio
> 8\VC\INCLUDE\crtdefs.h(506) : see declaration of 'errcode'
> Message: 'This name was supported during some Whidbey
> pre-releases. Instead, use the standard name errno_t.'
> C:\projects\regex-0.12\regex.c(4876) : error C2081: 'preg' : name in
> formal parameter list illegal
> C:\projects\regex-0.12\regex.c(4876) : error C2081: 'errbuf' : name in
> formal parameter list illegal
> C:\projects\regex-0.12\regex.c(4876) : error C2081: 'errbuf_size' : name
> in formal parameter list illegal
> C:\projects\regex-0.12\regex.c(4877) : error C2055: expected formal
> parameter list, not a type list
> C:\projects\regex-0.12\regex.c(4877) : error C2082: redefinition of formal
> parameter 'errcode'
> C:\projects\regex-0.12\regex.c(4885) : warning C4996: 'errcode' was
> declared deprecated
> C:\Program Files\Microsoft Visual Studio
> 8\VC\INCLUDE\crtdefs.h(506) : see declaration of 'errcode'
> Message: 'This name was supported during some Whidbey
> pre-releases. Instead, use the standard name errno_t.'
> C:\projects\regex-0.12\regex.c(4885) : error C2059: syntax error : 'type'
> C:\projects\regex-0.12\regex.c(4893) : error C2275: 'errcode' : illegal
> use of this type as an expression
> C:\Program Files\Microsoft Visual Studio
> 8\VC\INCLUDE\crtdefs.h(506) : see declaration of 'errcode'
> C:\projects\regex-0.12\regex.c(4910) : warning C4996: 'strcpy' was
> declared deprecated
> Message: 'This function or variable may be unsafe. Consider using
> strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRE
> CATE. See online help for details.'
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 8\VC\BIN\cl.EXE"' : return code '0x2'
> Stop.
>
>
>
>
>
>
>
>
>
>
>
>
> On Mo

RE: [mapserver-users] compiling on windows

2008-04-07 Thread Tamas Szekeres
Hi,

 

Have you been compiling using the MSVC_VER=1400 option?

 

I confirm the current SVN version compiles on Win2003 for either the Win32
or the Win64 platforms.

Here are the expected outputs of the Win32 and Win64 compilations:

 
http://buildbot.osgeo.org:8504/builders/szekerest-vc80-full/builds/58/steps/
nmake/logs/stdio

 
http://buildbot.osgeo.org:8504/builders/szekerest-vc80x64-full/builds/57/ste
ps/nmake/logs/stdio

 

Best regards,

 

Tamas

 

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Florin A.
Sent: Monday, April 07, 2008 10:54 PM
To: Frank Warmerdam
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] compiling on windows

 

Hi Frank, 

I forgot the rest

C:\projects\regex-0.12\regex.c(4079) : warning C4018: '>=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(4110) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(4123) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(4293) : warning C4018: '>=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3771) : warning C4101: 'destination' :
unreferenced local variable
C:\projects\regex-0.12\regex.c(3918) : warning C4101: 'destination' :
unreferenced local variable
C:\projects\regex-0.12\regex.c(3971) : warning C4101: 'destination' :
unreferenced local variable
C:\projects\regex-0.12\regex.c(4110) : warning C4101: 'destination' :
unreferenced local variable
C:\projects\regex-0.12\regex.c(4123) : warning C4101: 'destination' :
unreferenced local variable
C:\projects\regex-0.12\regex.c(4876) : warning C4996: 'errcode' was declared
deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506)
: see declaration of 'errcode'
Message: 'This name was supported during some Whidbey pre-releases.
Instead, use the standard name errno_t.'
C:\projects\regex-0.12\regex.c(4876) : error C2081: 'preg' : name in formal
parameter list illegal
C:\projects\regex-0.12\regex.c(4876) : error C2081: 'errbuf' : name in
formal parameter list illegal
C:\projects\regex-0.12\regex.c(4876) : error C2081: 'errbuf_size' : name in
formal parameter list illegal
C:\projects\regex-0.12\regex.c(4877) : error C2055: expected formal
parameter list, not a type list
C:\projects\regex-0.12\regex.c(4877) : error C2082: redefinition of formal
parameter 'errcode'
C:\projects\regex-0.12\regex.c(4885) : warning C4996: 'errcode' was declared
deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506)
: see declaration of 'errcode'
Message: 'This name was supported during some Whidbey pre-releases.
Instead, use the standard name errno_t.'
C:\projects\regex-0.12\regex.c(4885) : error C2059: syntax error : 'type'
C:\projects\regex-0.12\regex.c(4893) : error C2275: 'errcode' : illegal use
of this type as an expression
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506)
: see declaration of 'errcode'
C:\projects\regex-0.12\regex.c(4910) : warning C4996: 'strcpy' was declared
deprecated
Message: 'This function or variable may be unsafe. Consider using
strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRE
CATE. See online help for details.'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\cl.EXE"' : return code '0x2'
Stop.












On Mon, Apr 7, 2008 at 2:03 PM, Frank Warmerdam <[EMAIL PROTECTED]> wrote:

Florin A. wrote:

Hello,

I'm trying to compile MapServer on Windows Server 2003.  I followed all the
instructions on http://mapserver.gis.umn.edu/docs/howto/win32_compiling and
I'm stuck with regex errors.  The errors are the same as this post
http://www.mail-archive.com/[EMAIL PROTECTED]/msg15996.html 
I'm compiling with nmake from Microsoft Visual Studio 8

I also tried compiling with the buildkit from
http://download.osgeo.org/buildkit/  and got the same errors.

regex.c
C:\projects\regex-0.12\regex.c(768) : warning C4018: '<' : signed/unsigned
mismatch

...

C:\projects\regex-0.12\regex.c(1953) : warning C4018: '>' : signed/unsigned
mismatch


I tried the correction mentioned for the regex.c file:

//extern void printchar ();
void printchar( int i ) {}


This made no difference. I also tried with the win32 regex distribution from
http://people.delphiforums.com/gjc/gnu_regex.exe and again, exactly the same
errors.

Has anybody else encountered this regex error?  Shouldn't nmake work with no
problems on the buildkit ? 

 

Florin,

The above are just warnings.  I would encourage you to just ignore them
and proceed.

Best regards,
-- 
---+
--
I set the clouds in motion - turn up   | Frank Warmerdam,
[EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
 
and watch the world go round - Rush| President OSGeo, http://osgeo.org

 

___
mapserve

Re: [mapserver-users] compiling on windows

2008-04-07 Thread Florin A.
Hi Frank,

I forgot the rest

C:\projects\regex-0.12\regex.c(4079) : warning C4018: '>=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(4110) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(4123) : warning C4018: '<=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(4293) : warning C4018: '>=' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(3771) : warning C4101: 'destination' :
unreferenced local variable
C:\projects\regex-0.12\regex.c(3918) : warning C4101: 'destination' :
unreferenced local variable
C:\projects\regex-0.12\regex.c(3971) : warning C4101: 'destination' :
unreferenced local variable
C:\projects\regex-0.12\regex.c(4110) : warning C4101: 'destination' :
unreferenced local variable
C:\projects\regex-0.12\regex.c(4123) : warning C4101: 'destination' :
unreferenced local variable
C:\projects\regex-0.12\regex.c(4876) : warning C4996: 'errcode' was declared
deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506)
: see declaration of 'errcode'
Message: 'This name was supported during some Whidbey pre-releases.
Instead, use the standard name errno_t.'
C:\projects\regex-0.12\regex.c(4876) : error C2081: 'preg' : name in formal
parameter list illegal
C:\projects\regex-0.12\regex.c(4876) : error C2081: 'errbuf' : name in
formal parameter list illegal
C:\projects\regex-0.12\regex.c(4876) : error C2081: 'errbuf_size' : name in
formal parameter list illegal
C:\projects\regex-0.12\regex.c(4877) : error C2055: expected formal
parameter list, not a type list
C:\projects\regex-0.12\regex.c(4877) : error C2082: redefinition of formal
parameter 'errcode'
C:\projects\regex-0.12\regex.c(4885) : warning C4996: 'errcode' was declared
deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506)
: see declaration of 'errcode'
Message: 'This name was supported during some Whidbey pre-releases.
Instead, use the standard name errno_t.'
C:\projects\regex-0.12\regex.c(4885) : error C2059: syntax error : 'type'
C:\projects\regex-0.12\regex.c(4893) : error C2275: 'errcode' : illegal use
of this type as an expression
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\crtdefs.h(506)
: see declaration of 'errcode'
C:\projects\regex-0.12\regex.c(4910) : warning C4996: 'strcpy' was declared
deprecated
Message: 'This function or variable may be unsafe. Consider using
strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRE
CATE. See online help for details.'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\cl.EXE"' : return code '0x2'
Stop.











On Mon, Apr 7, 2008 at 2:03 PM, Frank Warmerdam <[EMAIL PROTECTED]> wrote:

> Florin A. wrote:
>
> > Hello,
> >
> > I'm trying to compile MapServer on Windows Server 2003.  I followed all
> > the instructions on
> > http://mapserver.gis.umn.edu/docs/howto/win32_compiling and I'm stuck
> > with regex errors.  The errors are the same as this post
> > http://www.mail-archive.com/[EMAIL PROTECTED]/msg15996.html
> > I'm compiling with nmake from Microsoft Visual Studio 8
> >
> > I also tried compiling with the buildkit from
> > http://download.osgeo.org/buildkit/  and got the same errors.
> >
> > regex.c
> > C:\projects\regex-0.12\regex.c(768) : warning C4018: '<' :
> > signed/unsigned mismatch
> >
> ...
>
> > C:\projects\regex-0.12\regex.c(1953) : warning C4018: '>' :
> > signed/unsigned mismatch
> >
> >
> > I tried the correction mentioned for the regex.c file:
> >
> > //extern void printchar ();
> > void printchar( int i ) {}
> >
> >
> > This made no difference. I also tried with the win32 regex distribution
> > from http://people.delphiforums.com/gjc/gnu_regex.exe and again, exactly
> > the same errors.
> >
> > Has anybody else encountered this regex error?  Shouldn't nmake work
> > with no problems on the buildkit ?
> >
>
> Florin,
>
> The above are just warnings.  I would encourage you to just ignore them
> and proceed.
>
> Best regards,
> --
>
> ---+--
> I set the clouds in motion - turn up   | Frank Warmerdam,
> [EMAIL PROTECTED]
> light and sound - activate the windows | 
> http://pobox.com/~warmerdam
> and watch the world go round - Rush| President OSGeo, http://osgeo.org
>
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] compiling on windows

2008-04-07 Thread Frank Warmerdam

Florin A. wrote:

Hello,

I'm trying to compile MapServer on Windows Server 2003.  I followed all 
the instructions on 
http://mapserver.gis.umn.edu/docs/howto/win32_compiling and I'm stuck 
with regex errors.  The errors are the same as this post 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg15996.html 


I'm compiling with nmake from Microsoft Visual Studio 8

I also tried compiling with the buildkit from 
http://download.osgeo.org/buildkit/  and got the same errors.


regex.c
C:\projects\regex-0.12\regex.c(768) : warning C4018: '<' : 
signed/unsigned mismatch

...
C:\projects\regex-0.12\regex.c(1953) : warning C4018: '>' : 
signed/unsigned mismatch



I tried the correction mentioned for the regex.c file:

//extern void printchar ();
void printchar( int i ) {}


This made no difference. I also tried with the win32 regex distribution 
from http://people.delphiforums.com/gjc/gnu_regex.exe and again, exactly 
the same errors.


Has anybody else encountered this regex error?  Shouldn't nmake work 
with no problems on the buildkit ? 


Florin,

The above are just warnings.  I would encourage you to just ignore them
and proceed.

Best regards,
--
---+--
I set the clouds in motion - turn up   | Frank Warmerdam, [EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| President OSGeo, http://osgeo.org

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


[mapserver-users] compiling on windows

2008-04-07 Thread Florin A.
Hello,

I'm trying to compile MapServer on Windows Server 2003.  I followed all the
instructions on http://mapserver.gis.umn.edu/docs/howto/win32_compiling and
I'm stuck with regex errors.  The errors are the same as this post
http://www.mail-archive.com/[EMAIL PROTECTED]/msg15996.html


I'm compiling with nmake from Microsoft Visual Studio 8

I also tried compiling with the buildkit from
http://download.osgeo.org/buildkit/  and got the same errors.

regex.c
C:\projects\regex-0.12\regex.c(768) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(774) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1123) : warning C4018: '<' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1189) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1204) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1297) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1322) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1336) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1346) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1358) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1364) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1372) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1608) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1638) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1683) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1698) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1726) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1813) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1926) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1932) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1937) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1941) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1945) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1949) : warning C4018: '>' : signed/unsigned
mismatch
C:\projects\regex-0.12\regex.c(1953) : warning C4018: '>' : signed/unsigned
mismatch


I tried the correction mentioned for the regex.c file:

//extern void printchar ();
void printchar( int i ) {}


This made no difference. I also tried with the win32 regex distribution from
http://people.delphiforums.com/gjc/gnu_regex.exe and again, exactly the same
errors.

Has anybody else encountered this regex error?  Shouldn't nmake work with no
problems on the buildkit ?


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


Re: [mapserver-users] Making border thick on selecting shape...

2008-04-07 Thread Luis Treviño
you can try something like this:

LAYER
 NAME "layername"
 TYPE polygon
 ...
 CLASS
   STYLE
 COLOR 255 255 0
 OUTLINECOLOR 255 0 0
 WIDTH 4
   END
 END
END

regards,
Luis


2008/4/5, Atul Dravid <[EMAIL PROTECTED]>:
> Dear All,
>
> I am developing mapserver based application on Windows platform. The map is
> rendered properly as per the tutorial. Also I can also capture the shape in
> the layer on which user is clicking the mouse. I would like the border of
> this shape to be converted to Red color and with more thickness.
>
> Anyone has done this ?
>
> Thanks in advance,
> ___
>  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] Version problems with overviews

2008-04-07 Thread Jesse Cleary

Hi folks

Just chatted with Frank W on IRC and he suggested that the issue is 
likely one with GDAL.  Turns out our GDAL version is "antique" so that 
will be a first place to upgrade.  Will try to reproduce the issue 
outside of MapServer to confirm...


Jesse




Jesse Cleary wrote:

Hi folks

Apologies for the re-post.  This went out initially prior to our 
feedback loop last week and I thought it might have gotten lost in the 
flood.  Or maybe I just can't take a hint...


---

I'm dealing with a server with several versions of MapServer on it.  
We are serving PNGs from the filesystem via CGI and working to speed 
up performance.  I've been trying gdaladdo (-r nearest) to create 
overviews for each image.  Mainly this works great and does give us 
the speed increase I'm after.


However, some of the MS versions on this box balk once I create an OVR 
file on any given PNG.  Upon calling the PNG in question, I get a 500 
"Internal Server error" error from Apache (2.0.46).  So the exact same 
CGI call works without an OVR file and gives me the 500 error with an 
OVR file present.  The Apache error logs don't contain a record of the 
500 error.  This is an issue because several existing web service hit 
the problematic (and newer) version of MapServer and I don't want to 
roll back to an older version which might have its own performance costs.


I'm a bit baffled - anyone else seen this kind of error with overview 
files?  I'd like some possibilities before I go back to the sys admin 
of the machine in question.  Sorry I can't provide more details, but 
it is not my box.  Thanks so much folks - apologies for the sketchy 
details...


Jesse


This version of MapServer always works, *.OVR present or not:
MapServer version 4.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ 
SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT 
SUPPORTS=WFS_SERVER INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL 
INPUT=SHAPEFILE



This version of MapServer only works with no *.OVR file present:
MapServer version 4.4.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF 
SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER 
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT 
INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE




--
Jesse A. Cleary
Department of Marine Sciences
UNC Chapel Hill

334 Chapman Hall
(919) 962-4987
[EMAIL PROTECTED]


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


[mapserver-users] Coding/Charset problem in mapfile definition

2008-04-07 Thread Emilio Ponce
Hi Everyone,

I have a coding problem rendering a label with my mapfile (it extracts the
information from a PostGIS database coded as UTF-8). The text is in catalan
so has special characters as: ó à ü ç ...

I asked here and some users gave me very useful information, and now this is
the situation:

I've set ENCODING "UTF-8" in my label definition, and "options='-c
client_encoding=LATIN1'" in my CONNECTION object. Now most coding issues are
solved, but not the 'à' -open accent-, that's wrong.

Does anyone know what can I do?

Thanks a lot!


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


[mapserver-users] Version problems with overviews

2008-04-07 Thread Jesse Cleary

Hi folks

Apologies for the re-post.  This went out initially prior to our 
feedback loop last week and I thought it might have gotten lost in the 
flood.  Or maybe I just can't take a hint...


---

I'm dealing with a server with several versions of MapServer on it.  We 
are serving PNGs from the filesystem via CGI and working to speed up 
performance.  I've been trying gdaladdo (-r nearest) to create overviews 
for each image.  Mainly this works great and does give us the speed 
increase I'm after.


However, some of the MS versions on this box balk once I create an OVR 
file on any given PNG.  Upon calling the PNG in question, I get a 500 
"Internal Server error" error from Apache (2.0.46).  So the exact same 
CGI call works without an OVR file and gives me the 500 error with an 
OVR file present.  The Apache error logs don't contain a record of the 
500 error.  This is an issue because several existing web service hit 
the problematic (and newer) version of MapServer and I don't want to 
roll back to an older version which might have its own performance costs.


I'm a bit baffled - anyone else seen this kind of error with overview 
files?  I'd like some possibilities before I go back to the sys admin of 
the machine in question.  Sorry I can't provide more details, but it is 
not my box.  Thanks so much folks - apologies for the sketchy details...


Jesse


This version of MapServer always works, *.OVR present or not:
MapServer version 4.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ 
SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT 
SUPPORTS=WFS_SERVER INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL 
INPUT=SHAPEFILE



This version of MapServer only works with no *.OVR file present:
MapServer version 4.4.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF 
SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT 
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=POSTGIS 
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE


--
Jesse A. Cleary
Department of Marine Sciences
UNC Chapel Hill

334 Chapman Hall
(919) 962-4987
[EMAIL PROTECTED]


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


Re: [mapserver-users] Mapserver & PHP scripting

2008-04-07 Thread Julien-Samuel Lacroix

Hi,

You will have to load the PHP parser to execute your PHP code. This 
cannot be done by MapServer CGI. I don't think you could redirect your 
output to the PHP parser directly via Apache either. What you could do 
is hit a PHP page that would act as a proxy for your CGI application. 
Your PHP code would then be executed without any problem.


Here's an example that include your MapServer CGI output and execute it. 
You  can access it directly with the exact same arguments that you use 
with your CGI request:


 $szValue)
{
$szCGIParams .= "$szKey=$szValue&";
}
include("http://localhost/cgi-bin/mapserv.exe?".$szCGIParams);

?>

Julien

Brent Wood wrote:

Hi,

Quick question, I'd like to add some php functionality to a simple CGI
mapserver application with an html template file.

I'd much prefer not to rewrite it in mapscript, everything else works perfectly
& the PHP I want to use is not for the mapping side of things, but to provide
database driven pick lists & data extract tables etc.

The mapserver CGI output recieved by a browser, & viewed with "view source",
includes the PHP code in the html template, but it is not parsed as php.

So my question is, is there a way to have the html output generated by CGI
mapserver passed through php & properly invoked? Presumeably by apache prior to
sending it on to the client.


Thanks,

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



--
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [MAPSERVER-USERS] php database mapfile

2008-04-07 Thread Kyle Wilcox
You misunderstand what the FILTER tag in mapserver does for PostGIS 
queries.  Read up about it and you will figure it out.


But if you are already using set("data",...), why not just specify the 
entire query?


$this_layer->set("data","the_geom from ( SELECT gid, the_geom FROM 
europe_country WHERE name='England') AS foo USING UNIQUE gid USING 
srid=-1");




nickthegreek- wrote:

kyle i tried this

$this_layer1->setFilter("name='England''"); 


 $this_layer1->set("data","the_geom from ( select gid, the_geom from
europe_country where name=".getFilter(name).") as foo using unique gid using
srid=-1");


how would i take the parameter whick is int the filter? name?


--

 Kyle Wilcox
 NOAA Chesapeake Bay Office
 410 Severn Avenue
 Suite 107A
 Annapolis, MD 21403
 office: (410) 295-3151
 [EMAIL PROTECTED]

 A: It takes over twice as long to understand the conversation.
 Q: What's wrong with top-posting?
 A: Top-posting.
 Q: What's the worst thing about plain text email discussions?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Mapserver & MacPorts - Installation Instructions

2008-04-07 Thread Stefan Schwarzer

Hi there,

is anybody using mapserver with installed macports libs? I would like  
to know what libs I have to install to run correctly mapserver?


I have these so far, but I don't really know if this is correct and  
exhaustive:


sudo port install jpeg
sudo port install libpng
sudo port install flex
sudo port install bison
sudo port install readline
sudo port install lib
sudo port install curl
sudo port install proj
sudo port install geos
sudo port install antigraingeometry

Thanks for any advice,

Stef

 

  Stefan Schwarzer

  Lean Back and Relax - Enjoy some Nature Photography
  http://photoblog.la-famille-schwarzer.de

  Appetite for Global Data? UNEP GEO Data Portal:
  http://geodata.grid.unep.ch
  


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


Re: [mapserver-users] MapServer + Fusion

2008-04-07 Thread Paul Spencer

Hi,
there is a simple tutorial at: 
http://trac.osgeo.org/fusion/wiki/MapServerTutorial

Cheers

Paul

On 7-Apr-08, at 6:08 AM, Gregorio Muñoz Avila wrote:
Does anyone know how to integrate Fusion in Mapserver?  
___

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



__

   Paul Spencer
   Chief Technology Officer
   DM Solutions Group Inc
   http://www.dmsolutions.ca/

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


RE: [mapserver-users] MapServer + Fusion

2008-04-07 Thread Nolte, Tim
Greg,

I'm assuming you're talking about MapGuide Fusion. I'm also looking to move to 
Fusion from Chameleon. Here is the info I got when I posed this question to the 
MapGuide list.

Hope this gets you started in the right direction.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Spencer
Sent: Wednesday, March 05, 2008 10:04 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Fusion Framework & UMN MapServer

Hi Tim,

it can be but there is currently no official open source version of  
fusion that works with mapserver.  We are currently in the process of  
moving fusion to osgeo servers at which time a community can grow  
around both mapguide and mapserver back-ends.

That being said, you can edit config.json in fusion to set the  
appropriate values for your mapserver install and set up a map in the  
application definition using MapServer as the type and give a MapFile  
path in the extension ... something like:

   
 
   
 MapServer
 true
 
 /ms4w/apps/gmap/htdocs/gmap75.map
 
   
 
   

and then change the MapWidget tag to point to the id of the map group  
(gmap in the above example) and it should all just work.  Note that  
mapserver support requires that you have php_mapscript and a valid  
session.save_path set up in php.ini

Also, the name of the php_mapscript module is hardcoded in fusion/ 
MapServer/php/Common.php so if you want something other than:

$szPHPMapScriptModule = 'php_mapscript.'.PHP_SHLIB_SUFFIX;

you will need to manually change it there for now.

Cheers

Paul



Timothy J Nolte - [EMAIL PROTECTED]
Network Planning Engineer

iPCS Wireless, Inc.
4717 Broadmoor Ave, Suite G
Kentwood, MI 49512

Office: 616-656-5163
PCS:616-706-2438
Fax:616-554-6484
Web: www.ipcswirelessinc.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregorio Muñoz 
Avila
Sent: Monday, April 07, 2008 6:09 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] MapServer + Fusion

Does anyone know how to integrate Fusion in Mapserver? 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Problems Creating the mapping application

2008-04-07 Thread deegree deegree
Hi,
I have this mistake when I trying toexecute my application:

getNumeric(): Incorrect data type.

This is my code:

HTML
http://pastebin.com/m15932250
http://pastebin.com/m2f0935c7

MAP
http://pastebin.com/m300eabda

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


[mapserver-users] Imagemap problem: tag is empty with php mapscript

2008-04-07 Thread Simos Dimitrios
Hello list.



I'm trying to insert an imagemap into one map image I'm creating.

The header, body, and footer templates are written as described

in various mails.



Although the cgi call returns the html file with the <...>

stuff inside, the same does not work with php/mapscript, as the

 tags are not there.



The php/mapscript code is as follows:

  $imagemap = $GLOBALS["imagemap"];

  $img = $imagemap->draw();
  $img->saveImage("c:/ms4w/Apache/htdocs/naseismic/eq_imagemap.html", 
$imagemap);

...

  echo "";

It seems that I'm doing sth wrong, or there is a bug in the Mapserver 5 version 
that I have.



Has someone any idea, please? I have read many mails sent to the mapserver 
list, and

have tried lots of things, but nothing happens.



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


Re: [mapserver-users] MapServer + Fusion

2008-04-07 Thread Emilio Ponce
Hi Gregorio,

I don't know anything about Fusion, but recently i've read this article,
maybe it can help you (en español, no creo que sea un problema):

http://www.hablandodesigs.com/2008/03/25/probando-fusion-con-mapserver/



2008/4/7 Gregorio Muñoz Avila <[EMAIL PROTECTED]>:

> Does anyone know how to integrate Fusion in Mapserver?
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>


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


[mapserver-users] MapServer + Fusion

2008-04-07 Thread Gregorio Muñoz Avila
Does anyone know how to integrate Fusion in Mapserver?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users