Re: [mapserver-users] Matching .TFW file with EXTENT parameter?

2008-11-03 Thread [EMAIL PROTECTED]
Thanks, folks. But how do I know my x-pixel resolution? And y-pixel resolution? Can it be derived from EXTENT parameters? Thanks again, -Kresh --- On Mon, 11/3/08, Robert Sanson [EMAIL PROTECTED] wrote: From: Robert Sanson [EMAIL PROTECTED] Subject: Re: [mapserver-users] Matching .TFW file

Re: [mapserver-users] Access control for wms served from mapserver cgi

2008-10-20 Thread [EMAIL PROTECTED]
Monnerat Message d'origine De: [EMAIL PROTECTED] Date: 20.10.2008 11:33 À: mapserver-users@lists.osgeo.org Objet: Re: [mapserver-users] Access control for wms served from mapserver cgi Hello Rahkonen (and Stephan), This is an idea that I could make work...I'd have to lock-down mapserv

Re: [mapserver-users] Using space in layer's name?

2008-08-25 Thread [EMAIL PROTECTED]
Thanks, Steve. Unfortunately I cannot use layer=layer1layer=layer2..., since I want to pass the currently selected layers (the [layers] parameter). Guess I'm gonna change all the spaces in the layer's name to underscores instead. -Kresh --- On Mon, 8/25/08, Steve Lime [EMAIL PROTECTED] wrote

Re: [mapserver-users] Using space in layer's name?

2008-08-22 Thread [EMAIL PROTECTED]
Er, no. My layers do not contain capitals, only spaces. --- On Wed, 8/20/08, TC Haddad [EMAIL PROTECTED] wrote: From: TC Haddad [EMAIL PROTECTED] Subject: Re: [mapserver-users] Using space in layer's name? To: [EMAIL PROTECTED] Date: Wednesday, August 20, 2008, 9:55 AM It looks like you

Re: [mapserver-users] Still cannot display postGIS layers using ms4w(MapServer 5.0.2 on WinXP).

2008-08-06 Thread [EMAIL PROTECTED]
that an empty FILTER clause will just confuse postGIS. So I remove it from my mapfile and suddenly everything works! Thanks, -Kresh --- On Wed, 8/6/08, Kusum [EMAIL PROTECTED] wrote: From: Kusum [EMAIL PROTECTED] Subject: Re: [mapserver-users] Still cannot display postGIS layers using ms4w

Re: [mapserver-users] Drawing a Line From A Set Start Point to End Point

2008-07-17 Thread [EMAIL PROTECTED]
Hi Lena, if tried this code and it works. $mypoints=array( array(1,1), // 1. point array(40,1), // 1. point array(40,80), // 1. point array(1,80), // 1. point array(1,1), // 1. point ) $myline=ms_newLineObj(); foreach ($mypoints as $key = $value) {

[mapserver-users] Cannot display query result in popup window

2008-07-08 Thread [EMAIL PROTECTED]
Hi, I'm using MapServer for Windows. I made a query on my map. The query result is displayed properly, but I cannot display it on a popup window. The query result is always displayed on the same browser window, replacing the map with the result. I have added the following scripts on my

Re: VS: [mapserver-users] Cannot display raster: MapServer shows whiterectangle instead of the raster.

2008-06-08 Thread [EMAIL PROTECTED]
. Thanks again, -Kresh --- On Fri, 6/6/08, Rahkonen Jukka [EMAIL PROTECTED] wrote: From: Rahkonen Jukka [EMAIL PROTECTED] Subject: VS: [mapserver-users] Cannot display raster: MapServer shows whiterectangle instead of the raster. To: [EMAIL PROTECTED], mapserver-users@lists.osgeo.org Date

Re: [mapserver-users] Cannot display raster: MapServer shows white rectangle instead of the raster.

2008-06-06 Thread [EMAIL PROTECTED]
I just removed the IMAGECOLOR 255 255 255 line, and it still doesn't work. MapServer still displays white rectangle instead of the raster. :( -Kresh --- On Fri, 6/6/08, David Martinez Morata [EMAIL PROTECTED] wrote: From: David Martinez Morata [EMAIL PROTECTED] Subject: Re: [mapserver

[mapserver-users] Dinamically changing HTML Template using CGI parameter? (instead of hardcoded)

2008-06-03 Thread [EMAIL PROTECTED]
I have one mapfile, let say, PACITAN.MAP, with two template files: PACITAN-TMPL.HTML and PACITAN-PRINT-TMPL.HTML. The former is the primary template for the normal web map display, while the latter has cleaner look for printing purpose (print page). The print page (PACITAN-PRINT-TMPL.HTML) is

Re: [mapserver-users] Cannot display postGIS layers on ms4w 4.6.1

2008-04-04 Thread [EMAIL PROTECTED]
Actually, the using unique oid part is my own addition in an attempt to remove the error (although it was futile). The original line is: DATA 'the_geom FROM batas-admin.batas_administrasi_line2_utm' Yet the error already showed up with the original line above. I don't know what's wrong. Thanks

Re: [mapserver-users] Cannot display postGIS layers on ms4w 4.6.1

2008-04-04 Thread [EMAIL PROTECTED]
All my tables already use underscore, it is the schema that use dash (-). Is that the cause of the error? Thanks, by the way. I'll try renaming my schemas tonight. -Kresh --- Rahkonen Jukka [EMAIL PROTECTED] wrote: Sorry, I noticed already that there was no typo. But doesn't the error

[mapserver-users] Cannot display postGIS layers on ms4w 4.6.1

2008-04-03 Thread [EMAIL PROTECTED]
I'm trying to display postGIS layers on MapServer. I am using the following components: 1) MapServer 4.6.1 for Windows (ms4w) 2) postgreSQL 8.2 3) shp2pgsql release 1.1.6 4) QuantumGIS 0.9.2 to automatically generate my mapfile My mapfile is attached with this email. It only has a single layer

[mapserver-users] Printing from MapServer with parameters?

2008-02-28 Thread [EMAIL PROTECTED]
Hi, sorry for the newbie question again. I need to print from MapServer (using a Print button on the web page), but I need to: 1) specify the paper size (A3, A4, etc) 2) specify the map area size to be printed 3) specify which layer(s) to be printed Thus, I will need to print and pass the