[mapserver-users] Passing single quoted strings

2009-04-20 Thread Heiko Schröter
Hello, i have to pass single quoted strings from Open Layer through mapserver to a postgis/postgres database. i.e. "filter 'value=1 and datum between '2005-1-1' and '2005-1-3' "; The postgres db expects (afaik) the date in a single quoted string. The problem is that mapserver stops scanning the

[mapserver-users] WMS tile problem

2009-04-20 Thread Mr.Shim
Hi, there, I find this problem. http://iiwork.com/data/WMS.png http://iiwork.com/data/WMS.png http://iiwork.com/data/WMS_selected.png http://iiwork.com/data/WMS_selected.png It's continuous lines. but, It looks like cutted lines. This situation occur in a boundary between tiles. How can I sol

[mapserver-users] Re: Return single feature tiles for VE?

2009-04-20 Thread Hugo Estrada
Answering myself: You use variable substitution in FILTER as in FILTER "%foo%" and put the value of foo at the end of the get string. http://n2.nabble.com/Variable-Substitution-td1987248.html#a1987248 On Mon, Apr 20, 2009 at 4:09 PM, Hugo Estrada wrote: > Hi, there, > > I have successfully c

Re: [mapserver-users] GET parameter in MapServer query

2009-04-20 Thread Hugo Estrada
I am looking for an answer to this same question. On Fri, Apr 17, 2009 at 4:46 AM, A387 wrote: > > Hi all, > > This is my first post in the mapserver mailinglist. > I'm having problems with querying Oracle Spatial. For example, this is my > current query: > DATA "GEOM FROM (SELECT * FROM WIJK_20

Re: [mapserver-users] Painting outside a polygon.

2009-04-20 Thread Trent Erickson
If you are looking to make one specific feature inside a shapefile with multiple features clear or transparent you can use the FILTER parameter within the LAYER definition. In addition to setting the IMAGECOLOR at the map level to the same color as your layer it may give you the results you d

Re: [mapserver-users] Mapserver

2009-04-20 Thread Steve Lime
You'll have to be a bit more specific about "It doesn't work.", could be a number of things. Steve >>> On 4/20/2009 at 3:31 PM, in message <49ecdbbb.9040...@gmail.com>, Jose >>> Antonio Arce wrote: > Hi there! > > I need your help. > > I have installed Mapserver. I got Ubuntu server running

[mapserver-users] Mapserver

2009-04-20 Thread Jose Antonio Arce
Hi there! I need your help. I have installed Mapserver. I got Ubuntu server running. In the command line /usr/lib/cgi-bin/mapserv works fine. But when I try to run from browser http://server/cgi-bin/mapserv. It doesn't work. What can I do to fix this situation. Thanks, Jose Arce from Cost

[mapserver-users] Return single feature tiles for VE?

2009-04-20 Thread Hugo Estrada
Hi, there, I have successfully created tiles for political districts of Canada for Virtual Earth. Now what I need is to be able to get a single district. How would I do this? I have tried using the CGI variables qitem and qstring, but it doesn't seem to do anything. Am I missing something? Tha

Re: [mapserver-users] Displaying query result on the same page?

2009-04-20 Thread Steve Lime
You can probably do it with query/browse templates but the other methods are more efficient and provide a better user experience and are easier to configure. Steve >>> On 4/20/2009 at 1:07 AM, in message <860869.57172...@web110602.mail.gq1.yahoo.com>, "kreshna_icehe...@yahoo.com" wrote: > Than

Re: [mapserver-users] Dem classification

2009-04-20 Thread Dylan Beaudette
You could always apply the elevation classification in a standard GIS like GRASS, and then save the color-mapped image and use that instead of the original DEM. Cheers, Dylan On Mon, Apr 20, 2009 at 3:30 AM, leonidas wrote: > > How can I generate a colormap for my raster (geotiff) dem in a mapf

RE: [mapserver-users] Painting outside a polygon.

2009-04-20 Thread Fawcett, David
I am not sure if this meets your case or not. If you simply want to set the background color of the map to blue, you can set IMAGECOLOR 0 0 255 at the map level. (of course, you may want to pick a nicer shade of blue...) http://mapserver.org/mapfile/map.html This will put a blue background beh

Re: [mapserver-users] Painting outside a polygon.

2009-04-20 Thread Christy Nieman
Hi, You can set the IMAGECOLOR parameter for the map (see http://mapserver.org/mapfile/map.html), which sets the background colour for the map. Then your coloured polygons would be drawn on top of the background colour. Regards, -- Christy Nieman GIS Technician DM Solutions Group, Inc. Emai

[mapserver-users] Painting outside a polygon.

2009-04-20 Thread Ernesto Barrera
Hi there, I'm dealing with a layer containing polygon data for a given country (shapefile). Color inside the polygon can be easily set via COLOR style parameter. I'm just looking for a way to apply color to the outside of the polygon (i.e.:, paint the surrounding sea in solid blue) Is ther

Re: [mapserver-users] Dem classification

2009-04-20 Thread Jeff McKenna
Is there any other options to classify my dem's colors? One option is to use MapServer's colorrange ability: http://www.mapserver.org/development/rfc/ms-rfc-6.html -jeff -- Jeff McKenna FOSS4G Consulting and Training Services http://www.gatewaygeomatics.com/ __

Re: [mapserver-users] MapServer with RHEL5

2009-04-20 Thread Russell McOrmond
Replying to my own message with further information. I believe the problem we had is very different than the problem that Andreas Eichner observed. Our problem becomes a different thing to check for if you notice odd core dumps. I also have a request for the mapserver developers so tha

[mapserver-users] Dem classification

2009-04-20 Thread leonidas
How can I generate a colormap for my raster (geotiff) dem in a mapfile. I have found a way but it's to difficult to generate so much classes and find the appropriate colors one by one. So my layer in mapfile look like this: LAYER NAME DEM TYPE raster STATUS default DATA "E:\leonidas\