Re: [mapserver-users] Premature end of script headers: mapserv

2010-01-10 Thread Rahkonen Jukka
Hi, If I understood right mol is the name you have given at MAP level. I do not know if using layers=mol should really work or not, I have never tried it that way. I use wms_titles advertised at layer lever, either comma separated list or layers=all. Try what happens when using layers=all.

Re: [mapserver-users] Premature end of script headers: mapserv

2010-01-10 Thread Jeff McKenna
Rahkonen Jukka wrote: Hi, If I understood right mol is the name you have given at MAP level. I do not know if using layers=mol should really work or not, I have never tried it that way. I use wms_titles advertised at layer lever, either comma separated list or layers=all. Try what happens

Re: [mapserver-users] Can I set class name in mapfile to Chinese?

2010-01-10 Thread thomas bonfort
* make sure your mapfile itself is encoded in utf8 * in your legend's label block, add ENCODING utf8. make sure your label are of type truetype and not bitmap, as the included bitmap fonts definitely do not contain more than ascii characters. regards, thomas this should do the trick. I don't

Re: [mapserver-users] Can I set class name in mapfile to Chinese?

2010-01-10 Thread karlos036
Hi, I believe that displaying Chinese multi-byte characters is not a limitation of MapServer. Assuming that you have already added the character set you want to display to your FreeBSD system, you need to define the display character set in the HTML header of your web page like this ... meta

[mapserver-users] New Mapserver install

2010-01-10 Thread bascom49
Ive installed mapserver on a vps server under centos 5 linux. I'm having problems with setting up mapscript. My php setup is : http://174.120.238.19/info.php The output from mapserv -v is: r...@inf [/usr/local/apache/cgi-bin]# /usr/local/apache/cgi-bin/mapserv -v MapServer version 5.4.2

[mapserver-users] map projection problem

2010-01-10 Thread Tony Baylis
Hi All, I'm a bit confused as to the way mapserver deals with projections. My understanding is that if I place a 'PROJECTION' tag as a high level object in the mapfile, then that is the projection I should expect when I read coordinates from a tool such as Chameleon's cursorpos widget. If I

Re: [mapserver-users] New Mapserver install

2010-01-10 Thread Andy Colson
On 01/10/2010 04:11 PM, bascom49 wrote: Ive installed mapserver on a vps server under centos 5 linux. I'm having problems with setting up mapscript. My php setup is : http://174.120.238.19/info.php The output from mapserv -v is: r...@inf [/usr/local/apache/cgi-bin]#

Re: [mapserver-users] Transparent lines at -180 when rendering BlueMarble data

2010-01-10 Thread Jason Beverage
Hi all, I figured out what the issue was, but I'm not sure I understand why it causes the transparent pixels. Originally, when I created my mapObj in Python, I was initializing the map's projection to a geographic projection with: m.setProjection(init=epsg:4326) The issue goes away if I

Re: [mapserver-users] Premature end of script headers: mapserv

2010-01-10 Thread Ben Madin
I have had similar errors in the past, and almost invariably it was a postgis query error. Follow Jukka's advice - debug 5 for both the map and the layer, and look in the log. cheers Ben On 11/01/2010, at 1:00 , mapserver-users-requ...@lists.osgeo.org wrote: If I understood right mol is

Re: [mapserver-users] New Mapserver install

2010-01-10 Thread bascom49
Andy Colson wrote: On 01/10/2010 04:11 PM, bascom49 wrote: Ive installed mapserver on a vps server under centos 5 linux. I'm having problems with setting up mapscript. My php setup is : http://174.120.238.19/info.php The output from mapserv -v is: r...@inf

Re: [mapserver-users] New Mapserver install

2010-01-10 Thread Andy Colson
On 01/10/2010 08:55 PM, bascom49 wrote: Andy Colson wrote: On 01/10/2010 04:11 PM, bascom49 wrote: Ive installed mapserver on a vps server under centos 5 linux. I'm having problems with setting up mapscript. My php setup is : http://174.120.238.19/info.php The output from mapserv -v is:

Re: [mapserver-users] New Mapserver install

2010-01-10 Thread Andy Colson
On 01/10/2010 09:39 PM, bascom49 wrote: Andy Colson wrote: On 01/10/2010 08:55 PM, bascom49 wrote: Andy Colson wrote: On 01/10/2010 04:11 PM, bascom49 wrote: Ive installed mapserver on a vps server under centos 5 linux. I'm having problems with setting up mapscript. My php setup is

Re: [mapserver-users] map projection problem

2010-01-10 Thread Rahkonen Jukka
Hi, Your mapfile should output image in epsg:32754. How do you know that output is in epsg:20254? Without knowing how Chameleon's cursorpos works I would not count on that, it may well calculate projected coordinates on the fly. Try for example with cgi calls from your browser in mode=map