[mapserver-users] WMS Client and SLD

2009-12-01 Thread Tony Baylis
All, This is the first time I have tried styling external WMS data using SLD and cannot get the returned data/image in the desired style. Below is the simplified mapfile and SLD file. If anyone has any pointers I'd be more than grateful. Please note that the link to the SLD file does work

Re: [mapserver-users] Fatal error: Call to undefined function dl() in C:\ms4w\Apache\htdocs\phpmapscript.php on line 5

2009-12-01 Thread Jeff McKenna
gee...@ttkmaps.com wrote: Hi all, I tried to install php/mapscript in windows,I get the above error.I use mapserver version 5.4.2,Apache 2.2.11,PHP 5.3.Php works fine.Im able to run files with .php extension,but the below coding produces error: HTML BODY ?php dl(php_mapscript.dll);

Re: [mapserver-users] Fatal error: Call to undefined function dl() in C:\ms4w\Apache\htdocs\phpmapscript.php on line 5

2009-12-01 Thread Jeff McKenna
new wrote: No,i am still not able to get it.It was given in http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL.html troubleshooting part, to check for dll errors using cmd prompt.I did so,but it gives file info. newuser. Remove all dl() functions from your PHP scripts, and load

[mapserver-users] WMS: raster's x and y pixel dimension

2009-12-01 Thread fla8...@libero.it
Hi to all, I've a problem with the loading of a raster image via WMS (1.3.0). To load the layers of my project I use gvSIG. If I load my digital elevation model (DEM) directly from filesystem (which is a HFA/Erdas Image file - .img), x and y pixel dimension are fixed to 2.5 and -2.5 meters

Re: [mapserver-users] WMS: raster's x and y pixel dimension

2009-12-01 Thread Rahkonen Jukka
Hi, Width, height and BBOX are all compulsory parameters in WMS GetMap request and Mapserver is sending an image according to the request. If you want to be able to control the pixel size easily, without making WMS client to balance the BBOX and image size in pixels, consider using WCS. One way

Re: [mapserver-users] Black background with palette

2009-12-01 Thread Alexandre Dube
Steve Lime wrote: Are you compiling with the experimental png support? No, but I just tried with it and it didn't resolved the issue. I noticed a slight change of the image quality though. Thanks, -- Alexandre Dubé Mapgears www.mapgears.com

Re: [mapserver-users] map_web_template

2009-12-01 Thread Steve Lime
Hi Lee: There's been a lot of change in that area in 5.x series. I believe the syntax is: input type=hidden name=map.web value=TEMPLATE+/topo/topo1.html Steve Lee hate...@yahoo.com 11/29/09 9:42 PM Greetings, I have one mapfile and use many template files to read from the mapfile. In

Re: Re: [mapserver-users] WMS: raster's x and y pixel dimension

2009-12-01 Thread fla8...@libero.it
Thank you Jukka for the quick reply. Now I'm able to correctly generate z- dimension from DEM layer. However, since I'm new to GIS, I'm not able to understand the differences between WCS and WMS..could you briefly summarize the goal of the two approach? And, as last question , should I set the

Re: [mapserver-users] WMS Client and SLD

2009-12-01 Thread Yewondwossen Assefa
Hi There, The first thing would be to make sure that the server supports SLD styling. Doing a GetCapabilities [1], It seems it does not (at least it does not the DescribeLayer operation which would indicate that SLD is supported). If there server indeed supports sld, I would suggest to do a

[mapserver-users] Is that mapserver support download map???

2009-12-01 Thread truongpm
Hello, My project require that allow user draw a rectangle and download map in this frame into his machine. After that, he can use some software (ex: quantum gis) to work with this map. I spent a lot of time finding solution on web but unsuccess. Please help me if you can. Thanks for your

[mapserver-users] Using Open street map tiles via GDAL_WMS

2009-12-01 Thread James Perrins
I've been trying to use Open street map tiles via a mapserver WMS service displayed in OpenLayers. This is sort of working - in that I'm getting maps displayed and they seem to be in the right position (as checked against other datasets). My issue is that the images are nowhere near as clear as

Re: [mapserver-users] Using Open street map tiles via GDAL_WMS

2009-12-01 Thread Christopher Schmidt
On Tue, Dec 01, 2009 at 06:51:58PM +, James Perrins wrote: I've been trying to use Open street map tiles via a mapserver WMS service displayed in OpenLayers. Er... why? Why not just load the tiles directly in OpenLayers? Regards, -- Christopher Schmidt MetaCarta

Re: [mapserver-users] Using Open street map tiles via GDAL_WMS

2009-12-01 Thread James Perrins
Sorry - meant to cover that - should have said this is just a mechanism to test getting the OSM tiles into a WMS layer - as I appreciate that if the ultimate aim was getting OSM tiles in openlayers its a pretty silly way of doing it ! Ultimately the aim was to use them in a custom desktop app

Re: Re: [mapserver-users] WMS: raster's x and y pixel dimension

2009-12-01 Thread Rahkonen Jukka
Hi, I would say that the main difference is that WMS is meant for showing a map on a computer screen, while WCS is made for letting users to download data so they can utilise it locally or process further. Real life is not so black and white. I promise you will find lots of good reading

Re: [mapserver-users] WMS: raster's x and y pixel dimension

2009-12-01 Thread Rahkonen Jukka
Hi, Thank you for clarifying my quick answer. I am looking WCS from a narrow viewport because I use it mostly for delivering aerial images in original resolution and quality. WCS does give more. Delivering raw data is not the only alternative with WCS but it offers also some limited

Re: [mapserver-users] WMS: raster's x and y pixel dimension

2009-12-01 Thread Gerald Creager
Jukka The key issue here is that you should be making the WMS request, and thus, you know what the spatial extents, projection, and CRS are for that map. If all you are doing is using a WMS result someone else got, without the key metadata, what you have is not a web _map_ but a picture.

Re: [mapserver-users] WMS: raster's x and y pixel dimension

2009-12-01 Thread Gerald Creager
And, as usual, I was too fast for my own good. Your last sentence summarized the abstracts of the Open Geospatial Consortium for WMS, WFS and WCS. However, it begs the question of defining the terms. A knowledge of teh definitions is necessary to understand what you want to access and what