[mapserver-users] How to use msQueryByPoint with RASTER

2009-06-30 Thread darenas
Hi everyone! I´m creating a WMS service with a TIFF file. But I have problems in the moment to do querybypoints action on the raster so the error is the following: msQueryByPoint(): Search returned no results. No matching record(s) found I´m using the folowing parameters in mapfile as always

Re: [mapserver-users] Dynamic LabelItem

2009-06-30 Thread Dan Little
Upgrade... - Original Message From: stretch andrew.dekl...@gmail.com To: mapserver-users@lists.osgeo.org Sent: Monday, June 29, 2009 2:13:29 PM Subject: Re: [mapserver-users] Dynamic LabelItem ok - thanks for the response. If I try map.layer[Compartments]=labelitem%20Age i

[mapserver-users] plotting points dynamically

2009-06-30 Thread Suman Chatterjee
Hi all, I am working on a project which requires adding points to a basic map dynamically. That means the basic map will be read from the map file. Then the points will be queried from a database preferably PostGreSQL and then plotted on the map. I cannot add the query to the map file because

Re: [mapserver-users] plotting points dynamically

2009-06-30 Thread Bob Basques
The best approach I can think of, would be to figure out how to add the points to the database in a dynamic method, and use MapServer as the Query/Render engine. This is how we do GPS location points for example. The points are loaded into the Database (POSTGIS) and simply (re)read as a

RE: [mapserver-users] plotting points dynamically

2009-06-30 Thread Suman Chatterjee
Hi bobb, Thanks a lot. You got my point. I will be adding the points to the postGIS database with the help of C#. Regarding mapserver connectivity to the database - how can I connect to it without writing in the mapfile? Again can you give me some reference as to how it can be read as a display

RE: [mapserver-users] plotting points dynamically

2009-06-30 Thread Nolte, Tim
I generally do this all via MapScript, I'm using PHP. I add some basic layers with the styling that I want to my mapfile. Then using MapScript I make a copy or modify the mapfile layers. I even do this with Oracle Spatial layers. Here is a sample of my code: $layer_data = geom

Re: [mapserver-users] Dynamic LabelItem

2009-06-30 Thread Steve Lime
That particular portion of MapServer has undergone a lot of change. At first I removed too much functionality in 5.0, then exposed a bit more in 5.2 and probably got a lot closer to right in 5.4. You're safest with 5.4.1 if you can afford to upgrade. What version exactly are you using? Steve

[mapserver-users] LABEL_NO_CLIP seems not working in mapserver 5.4.1

2009-06-30 Thread Rodriguez, Heraldo
Hi everyone, We have just upgraded from mapserver 5.2.0 to 5.4.1 Our application use OpenLayers, Tilecache with metatiles on, and postgis. The label positioning in polygons has improved a lot but now we are experiencing label duplication on metatile boundaries. The layer with the

Re: [mapserver-users] Dynamic LabelItem

2009-06-30 Thread stretch
I know, and I want all that new functionality :) I am using 5.0.0 I did try an upgrade a couple of weeks ago, but we had hassles with existing application running with openlayers as the frontend, where it displayed the the whole map file image in each map tile as opposed to cutting it up (if

[mapserver-users] Beginning mapserver sql server 2008

2009-06-30 Thread Wesley
Hi all, It's my first time with mapserver, and I'm trying to use a map file connected with sql server 2008. Mapserver is generating a blank image. I think there is something wrong with my map file below. Do you have any examples or tutorial about it? Thanks,

RE: [mapserver-users] unable to access the map file

2009-06-30 Thread Suman Chatterjee
Hi Steve, Thank You very much. I did what you said. This is the log file generated: [Mon Jun 29 15:17:11 2009].839000 msLoadMap(): 0.016s [Mon Jun 29 15:17:11 2009].839000 CGI Request 1 on process 5216 [Mon Jun 29 15:17:11 2009].855000 msDrawMap(): Layer 0 (states), 0.000s [Mon Jun 29

Re: [Fwd: Re: [mapserver-users] classification of a raster image is changing]

2009-06-30 Thread Frank Warmerdam
Stefan Schantz wrote: Hello Frank, thank you for your explaination. I think, that now i have a small idea, what the UMN Mapserver is doing with my raster image. As I wrote, I use gdal_grid to get my raw data. Is it right, that if I use the output format Geotiff with the option - ot Byte, i

RE: [mapserver-users] Beginning mapserver sql server 2008

2009-06-30 Thread Fawcett, David
Unless you are including the layer name in the URL used to call MapServer, you should change the layer status to DEFAULT. David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Wesley Sent: Tuesday, June 30,

[mapserver-users] compiling mapserv 5.4.1 with PNG driver

2009-06-30 Thread Peter Peterse
Hello, I'm trying to compile mapserv v5.4.1. I used the next configure command: ./configure --with-ogr=/usr/local/bin/gdal-config \ --with-gdal=/usr/local/bin/gdal-config \ --with-httpd=/usr/sbin/httpd \ --with-wfsclient \

Re: [mapserver-users] LABEL_NO_CLIP seems not working in mapserver 5.4.1

2009-06-30 Thread Steve Lime
Hi Rodriguez: I did a couple of quick tests and it seems like the directive is working as intended, at least with some government unit boundary data. Any chance you could put together a small test case? Perhaps converting some data to shapefile and whipping up a simple mapfile that shows the

Re: [mapserver-users] LABEL_NO_CLIP seems not working in mapserver 5.4.1

2009-06-30 Thread David Nugent
On 1/7/09 1:02 AM, Rodriguez, Heraldo wrote: Hi everyone, We have just upgraded from mapserver 5.2.0 to 5.4.1 Our application use OpenLayers, Tilecache with metatiles on, and postgis. The label positioning in polygons has improved a lot but now we are experiencing label

Re: [mapserver-users] compiling mapserv 5.4.1 with PNG driver

2009-06-30 Thread Thomas Bonfort
you're apache configuration is probably not calling the mapserv binary you just compiled, but another one on your system. regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Tue, Jun 30, 2009 at 22:41, Peter Petersepe...@peterse-uithuizen.com wrote: Hello, I'm trying to compile mapserv

Re: [mapserver-users] How to use msQueryByPoint with RASTER

2009-06-30 Thread Steve Lime
Does the query work outside WMS, that is, with straight calls to the MapServer CGI? One thing to check right away is that the layer is queryable by making sure a value for the layer TEMPLATE is set, anything (e.g. TEMPLATE 'dummy') will suffice. Steve darenas darenas2...@yahoo.es 06/30/09 3:06