[mapserver-users] Suggestion: simple way to support several WMS bounding boxes

2009-04-30 Thread Rahkonen Jukka

 Hi,

It is possible to set the WMS bounding box for each layer by hand by
adding "wms_metadata" into layer metadata.  On the other hand some users
have felt that it would be useful sometimes to have bounding boxes for
more than one output projection in addition to latlon bounding box.  See
http://trac.osgeo.org/mapserver/ticket/1905

Could it be thinkable to make a minory change to "wms_extent" system so
that it would be acceptable to give more than one "WMS_extent" lines,
and that the actual bounding box that is now presented as "minx miny
maxx maxy" should be followed by the corresponding projection code?

Regards,

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


Re: [mapserver-users] Mapserver 5.4 & SYMBOLSET

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


Daniel


David Nugent wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It starts (and ends) like this:

SYMBOLSET

  SYMBOL
NAME"point"
TYPEELLIPSE
POINTS
1 1
END
FILLED  TRUE
  END

  SYMBOL
NAME"dashed"
TYPEELLIPSE
POINTS
1 1
END
FILLED  TRUE
STYLE
8 6 8 6
END
  END

...

END


Regards,
David


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

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


Steve


David Nugent  04/29/09 9:54 PM >>>


Hello all,

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

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

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

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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkn5IX4ACgkQgyBtWyGDJqVRXACfZnjgfrOnb7nQmKTF99gjA4WX
bMEAn28/+mRNOk60rbeTX4BbQUBF1q4L
=vbTf
-END PGP SIGNATURE-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



--
Daniel Morissette
http://www.mapgears.com/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver 5.4 & SYMBOLSET

2009-04-30 Thread Guillaume Sueur
Hi,

I think what David meant was about getting an error when SYMBOLSET is
not declared in the symbol file since 5.4.

I ran into the same problem, and had to add SYMBOLSET ... END to my
symbol files to have them running fine with MapServer 5.4.

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

Regards,

Guillaume

Daniel Morissette a écrit :
> Are you sure that the file you are editing is really the one used by
> your mapfile? That's a common mistake... to verify that, try inserting
> an invalid keyword in place of the SYMBOLSET keyword in your file and
> verify that MapServer produces a parser error about it. If it doesn't
> then it's probably not using the file you think it is.
> 
> Daniel
> 
> 
> David Nugent wrote:
> It starts (and ends) like this:
> 
> SYMBOLSET
> 
>   SYMBOL
> NAME"point"
> TYPEELLIPSE
> POINTS
> 1 1
> END
> FILLED  TRUE
>   END
> 
>   SYMBOL
> NAME"dashed"
> TYPEELLIPSE
> POINTS
> 1 1
> END
> FILLED  TRUE
> STYLE
> 8 6 8 6
> END
>   END
> 
> ...
> 
> END
> 
> 
> Regards,
> David
> 
> 
> On 30/04/2009, at 1:13 PM, Steve Lime wrote:
> 
 Can you share your symbolset file? I've not had an issue with that
 change.

 Steve

>>> David Nugent  04/29/09 9:54 PM >>>

 Hello all,

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

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

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

 I'm just wondering if anyone else had hit the same problem.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver 5.4 & SYMBOLSET

2009-04-30 Thread Christy Nieman

Hi,

It was addressing some potential security problems: 
http://lists.osgeo.org/pipermail/mapserver-users/2009-March/060600.html


Christy

Guillaume Sueur wrote:

Hi,

I think what David meant was about getting an error when SYMBOLSET is
not declared in the symbol file since 5.4.

I ran into the same problem, and had to add SYMBOLSET ... END to my
symbol files to have them running fine with MapServer 5.4.

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

Regards,

Guillaume

Daniel Morissette a écrit :
  

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

Daniel


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

SYMBOLSET

  SYMBOL
NAME"point"
TYPEELLIPSE
POINTS
1 1
END
FILLED  TRUE
  END

  SYMBOL
NAME"dashed"
TYPEELLIPSE
POINTS
1 1
END
FILLED  TRUE
STYLE
8 6 8 6
END
  END

...

END


Regards,
David


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



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

Steve

  

David Nugent  04/29/09 9:54 PM >>>


Hello all,

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

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

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

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

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

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


Re: [mapserver-users] Mapserver 5.4 & SYMBOLSET

2009-04-30 Thread Guillaume Sueur
Good to know !

Thanks !

Christy Nieman a écrit :
> Hi,
> 
> It was addressing some potential security problems:
> http://lists.osgeo.org/pipermail/mapserver-users/2009-March/060600.html
> 
> Christy
> 
> Guillaume Sueur wrote:
>> Hi,
>>
>> I think what David meant was about getting an error when SYMBOLSET is
>> not declared in the symbol file since 5.4.
>>
>> I ran into the same problem, and had to add SYMBOLSET ... END to my
>> symbol files to have them running fine with MapServer 5.4.
>>
>> Is it something newly added, or just a long lasting requisite become
>> mandatory ?
>>
>> Regards,
>>
>> Guillaume
>>
>> Daniel Morissette a écrit :
>>  
>>> Are you sure that the file you are editing is really the one used by
>>> your mapfile? That's a common mistake... to verify that, try inserting
>>> an invalid keyword in place of the SYMBOLSET keyword in your file and
>>> verify that MapServer produces a parser error about it. If it doesn't
>>> then it's probably not using the file you think it is.
>>>
>>> Daniel
>>>
>>>
>>> David Nugent wrote:
>>> It starts (and ends) like this:
>>>
>>> SYMBOLSET
>>>
>>>   SYMBOL
>>> NAME"point"
>>> TYPEELLIPSE
>>> POINTS
>>> 1 1
>>> END
>>> FILLED  TRUE
>>>   END
>>>
>>>   SYMBOL
>>> NAME"dashed"
>>> TYPEELLIPSE
>>> POINTS
>>> 1 1
>>> END
>>> FILLED  TRUE
>>> STYLE
>>> 8 6 8 6
>>> END
>>>   END
>>>
>>> ...
>>>
>>> END
>>>
>>>
>>> Regards,
>>> David
>>>
>>>
>>> On 30/04/2009, at 1:13 PM, Steve Lime wrote:
>>>
>>>
>> Can you share your symbolset file? I've not had an issue with that
>> change.
>>
>> Steve
>>
>>  
> David Nugent  04/29/09 9:54 PM >>>
> 
>> Hello all,
>>
>> I've recently upgraded to mapserver 5.4 and hit a problem with
>> SYMBOLSET.
>>
>> It seems that a file containing symbols referenced from the .map file
>> must now contain a SYMBOLSET keyword at the start (and presumably end
>> with END?). I made this change, but the parser still complains with
>> the message "First token must be SYMBOLSET".
>>
>> Not really wanting to waste time on debugging the lex code, I simply
>> removed the check that emits this error from mapsymbol.c and all
>> works
>> as expected. Obviously there is a deeper problem, whether it be the
>> logic in that statement (which appears to be correct as far as I can
>> tell) or the lex parser itself.
>>
>> I'm just wondering if anyone else had hit the same problem.
>>   
>> ___
>> mapserver-users mailing list
>> mapserver-users@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>> ___
>> mapserver-users mailing list
>> mapserver-users@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>   
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Development environment

2009-04-30 Thread Roger André
vi and gcc?

Roger
--

On Wed, Apr 29, 2009 at 2:07 AM, Iratxe Lejarreta  wrote:

>  Hi,
>
> Could anybody tell me which is the recomended enviroment to develop in C++
> language?
>
> Thanks!
>
> --
>
> Iratxe Lejarreta
>
> www.axios.es
>
> ___
> 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] Development environment

2009-04-30 Thread Gregor at HostGIS
I'm a big fan of Komodo. Not only is it free, but it handles FTP and 
SFTP connections. I dig it.


--
HostGIS, Open Source solutions for the global GIS community
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
Network+   Server+   A+   Security+
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Development environment

2009-04-30 Thread Ivan
NetBeans IDE does the trick for me (netbeans.org) I can do C/C++ and Java, auto-complete, find 
definition, debugging and connects with a SVN server!


Roger André wrote:

vi and gcc?

Roger
--

On Wed, Apr 29, 2009 at 2:07 AM, Iratxe Lejarreta 
mailto:iratxe.lejarr...@axios.es>> wrote:


Hi,

Could anybody tell me which is the recomended enviroment to develop
in C++ language?

Thanks!

-- 


Iratxe Lejarreta

www.axios.es 


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





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


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


[mapserver-users] Dynamic data loading using Google maps and Mapserver

2009-04-30 Thread Varun saraf
Hi,

I have successfully drawn layers on of google maps as base using
mapserver. However, I am trying to figure out how to get data
dynamically displayed on the web page when a user clicks on a certain
area. For example, I have divided the entire state of virginia into
many sectors (using a polygon shp file). My requirement is that I want
data to come up on the map/web page when the user selects a particular
sector. I know google provides me with an event api for clicking on
the map but how do I pass this event to mapserver so it can send me
the label for that sector from the shape file? I need to be able to
recognize what sector the user has clicked. Is this possible using
just the mapserv cgi script and a map file or a MapScript has to be
written/used? Can someone point me in the right direction here? Even
providing the link for a previous discussion on this topic would help.

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