[mapserver-users] mapObj.getlayersdrawingorder

2009-01-19 Thread Balázs Bámer
Hi All, I tried to call MapObj.getlayersdrawingorder() from PHP Mapscript (ms4w 2.3.1 with MapServer 5.2.1, PHP 5.2.6). PHP script terminates. Same result for MapObj.getLayersDrawingOrder() (the PDF description is ambiguous about these names). How it is called? Is it really usable? In the

Re: [mapserver-users] Unable to open file for writing in windows(plz immediate response)

2009-01-19 Thread Amiya Patra
But in windows how I will check wheather apache user can write to that folder. Actually in linux my application is running ok. but in windows vista, I cant find the daemon apache user as in httpd.conf file daemon is mentioned as usr and group. But how I will give permission to this user for

Re: [mapserver-users] mapObj.getlayersdrawingorder

2009-01-19 Thread Alan Boudreault
Balázs Bámer, Note that in PHP, all functions names are case INsensitive but variable are case sensitive weird but true ;) So your call should work. Maybe you could try to execute php -f youFile.php in console to see if php report errors. Regards, Alan Balázs Bámer wrote: Hi All, I

[mapserver-users] plz response immediate(msSaveImageGD(): Unable to open file for writing)

2009-01-19 Thread Amiya Patra
Hi I got the error but unable to solve.The apache user don have permision to write to that folder .In windows how I will check wheather apache user can write to that folder. Actually in linux my application is running ok. but in windows vista, I cant find the daemon apache user as in httpd.conf

Re: [mapserver-users] plz response immediate(msSaveImageGD(): Unable to open file for writing)

2009-01-19 Thread Amiya Patra
hi Thanks 4 reply.but already I have tried that but no result. Actually I want to know how to change the ownership of that folder...I have to change the ownership to apache user and then needs to give permission.. On Mon, Jan 19, 2009 at 7:27 PM, muzaffar hussain

Re: [mapserver-users] plz response immediate(msSaveImageGD(): Unable to open file for writing)

2009-01-19 Thread Alan Boudreault
Try this: http://www.mydigitallife.info/2007/05/25/how-to-take-ownership-and-grant-permissions-in-windows-vista/ Alan Amiya Patra wrote: hi Thanks 4 reply.but already I have tried that but no result. Actually I want to know how to change the ownership of that folder...I have to change the

Re: [mapserver-users] Mapserver -- ESRI sde -- zlib --core dump

2009-01-19 Thread Russell McOrmond
On Fri, 16 Jan 2009, Russell McOrmond wrote: Googling I found this problem being discussed back in 2007 http://forums.esri.com/Thread.asp?c=2f=1718t=212867 (Started by Howard Butler). I see a bug tracking ID, but I can't find that ID anywhere but in that message (IE: there doesn't seem to

[mapserver-users] google tiles

2009-01-19 Thread Chad Clabaugh
Greetings, I have been trying to generate google tiles from shapefiles using mapserver. I have been able to successfully generate maps by calling the url http://0.0.0.0/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/coverage.map

Re: [mapserver-users] Unable to open file for writing in windows(plz immediate response)

2009-01-19 Thread Dan Little
Do you even have a /opt directory (and the related sub-paths in windows)? It just seems to be a very Linux construction. Regardless, are you running Apache as a windows service? From: Amiya Patra amiyapatra...@gmail.com To: mapserver-users@lists.osgeo.org

Re: [mapserver-users] mapObj.getlayersdrawingorder

2009-01-19 Thread Yewondwossen Assefa
Hi there, You probably meant you did a call like this $oMap-getLayersDrawingOrder(), which is the correct syntax to use in php ? Quick test using ms4w 2.3.1 environment returns expected result: ?php dl('php_mapscript.dll'); $oMap = ms_newMapObj('f:/msapps/gmap-ms40/htdocs/gmap75.map');

Re: [mapserver-users] Error messages contain private info

2009-01-19 Thread Frank Warmerdam
Jochen Topf wrote: On Fri, Jan 16, 2009 at 09:02:21AM -0500, Frank Warmerdam wrote: Jochen Topf wrote: When using Mapserver with a database and there is an error connecting to the database the error message sent to the client contains the database connect string including the password! Thats

[mapserver-users] missing colors with an xml color table

2009-01-19 Thread Maciej Sieczka
Hi! There are missing colors when rendering a raster map with a colortable stored in an xml file. Example: I have an ESRI ASCII GRID with a colortable in xml (the files along with a mapfile all attached as smp.tar.bz). Rendering the raster in QGIS I get a picture as the attached smp_qgis.png -

[mapserver-users] missing colors with an xml color table

2009-01-19 Thread Maciej Sieczka
Hi! There are missing colors when rendering a raster map with a colortable stored in an xml file. Example: I have an ESRI ASCII GRID with a colortable in xml (the files along with a mapfile all available at http://www.sieczka.org/tmp/smp.zip). Rendering the raster in QGIS I get a picture as

[mapserver-users] optimal path between two points.

2009-01-19 Thread Valeria Muñoz
Hi I would like to implement the service optimum path between 2 points, can someone help me to be able to implement it?. The general idea is that a user picks a point A and point B and a display on the map the best route to get from point A to B. RG...

Re: [mapserver-users] optimal path between two points.

2009-01-19 Thread Frank Warmerdam
Valeria Muñoz wrote: Hi I would like to implement the service optimum path between 2 points, can someone help me to be able to implement it?. The general idea is that a user picks a point A and point B and a display on the map the best route to get from point A to B. Valeria, MapServer

Re: [mapserver-users] optimal path between two points.

2009-01-19 Thread Valeria Muñoz
frank thanks for the tips. I use prRouting and create the table dijsktra_result. Now how can I implement with my mapfile? , how deliver the data .. have some sample code? thanks for your help. 2009/1/19 Frank Warmerdam warmer...@pobox.com Valeria Muñoz wrote: Hi I would like to

Re: [mapserver-users] optimal path between two points.

2009-01-19 Thread Stephen Woodbridge
Valeria Muñoz wrote: frank thanks for the tips. I use prRouting and create the table dijsktra_result. Now how can I implement with my mapfile? , how deliver the data .. have some sample code? thanks for your help. 2009/1/19 Frank Warmerdam warmer...@pobox.com mailto:warmer...@pobox.com

Re: [mapserver-users] Is there a way to add a single click zoom button

2009-01-19 Thread boesiii
PG I added the script and the button control but I am not sure about the third item you mentioned. I added the lines input type=hidden name=imgxy value=[center] / input type=hidden name=zoom value=2 / in the mapserver variables section but when I click the button nothing happens? What is the

[mapserver-users] How to add rubberband zoom?

2009-01-19 Thread boesiii
What is the easiest way to add a rubberband type of zoom control? -- View this message in context: http://n2.nabble.com/How-to-add-rubberband-zoom--tp2183681p2183681.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___

Re: [mapserver-users] How to add rubberband zoom?

2009-01-19 Thread Stephen Woodbridge
boesiii wrote: What is the easiest way to add a rubberband type of zoom control? My favorite way of doing that is to use OpenLayers for my client side code. The JavaScript API have options for most anything you would want to do with a map. It support shift-click-drag out of the box to do

[mapserver-users] WFS Getfeature returning incorrect features

2009-01-19 Thread Fong,Phil [Burlington]
Hello, I have a mapserver (5.2.1) setup that is returning incorrect features from a WFS getfeature request. For example, if a bbox is specified: bbox=-100,50,-99,51, then some point features outside of bbox get returned. However, the overall bounding box of the features (in the gml:boundedBy

Re: [mapserver-users] google tiles

2009-01-19 Thread Roger André
Fascinating, thanks for sending the link! Since you state that you only get blank images when you try it out, perhaps it is a projection mis-match? It appears that your mapfile extents are defined in meters, which would match spherical mercator, but your layer is in EPSG 4326. What if you make

Re: [mapserver-users] How to add rubberband zoom?

2009-01-19 Thread boesiii
I am not familiar with javascript. Couyld you give an example? Do I just need a copy of openlayers.js in my root? -- View this message in context: http://n2.nabble.com/How-to-add-rubberband-zoom--tp2183681p2184773.html Sent from the Mapserver - User mailing list archive at Nabble.com.

[mapserver-users] how to stop extent being visible?

2009-01-19 Thread Greg Luker
Hi mapservers, Is there any way to stop the MapServer image extent being visible to the outside world? ie in cgi the imgext= is visible in the URL line, and in php-mapscript a simple View/Source in the browser will show the extent value. In my app it's important that the extent not be

Re: [mapserver-users] How to add rubberband zoom?

2009-01-19 Thread Stephen Woodbridge
boesiii wrote: I am not familiar with javascript. Couyld you give an example? Do I just need a copy of openlayers.js in my root? Start here: http://openlayers.org/ http://trac.openlayers.org/wiki/UserGuide Here is an example: http://openlayers.org/dev/examples/mapserver_untiled.html Sign up