[mapserver-users] mode=nquery + tileindex

2010-10-12 Thread Wendell Turner
Does mode=nquery work on layers with a tileindex? I've not been able to get that to work. The query works fine on layers with a single shapefile, but when a layer with multiple shapefiles using a tileindex is referenced, nothing is output and mapserv seems to crash. Do queries work on layers

[mapserver-users] shapefile error only when zoomed out

2010-07-26 Thread Wendell Turner
Why would a shapefile only display when the map display is zoomed in? When zoomed in, the image displays correctly. When zoomed out, it gets this: msDrawMap(): Image handling error. Failed to draw layer named 'tfr'.; msDrawShape() General error message. Only polygon shapes can be drawn

Re: [mapserver-users] set COLOR to transparent?

2010-05-03 Thread Wendell Turner
On Sun, May 02, 2010 at 10:05:39AM -0700, Roger André wrote: Hi Wendell, The technique I have found that works well for setting a range of values to be transparent is to use ImageMagick's -transparent command in conjunction with -fuzz. Here is an example of that: convert small_vis.tif

[mapserver-users] set COLOR to transparent?

2010-04-30 Thread Wendell Turner
Is there a way to turn a pixel transparent? That is, something like: CLASS EXPRESSION ([red] 200 AND [green] 200 AND [blue] 200 ) TRANSPARENT END Or is there a way to set the pixel to the index of the transparent entry in the color table? Also, is there an 'ELSE' clause to the

[mapserver-users] rgb expression with alpha?

2010-04-01 Thread Wendell Turner
Hi, I want to turn all non-transparent 'near white' pixels transparent. I've tried: LAYER NAME xx TYPE RASTER CONNECTIONTYPE ogr CONNECTION file.wld DATA file.gif # copied from here: http://mapserver.org/input/raster.html#raster #

[mapserver-users] areas of high res

2010-02-02 Thread Wendell Turner
The base layer of my map has full coverage of the US at a scale of 1:500,000. That works fine. I have some areas of detail that have tif files at a scale of 1:250,000. What do I put in the mapfile to say 'use high res if available for this tile, otherwise use the low res one'? Thanks, Wendell

Re: [mapserver-users] areas of high res

2010-02-02 Thread Wendell Turner
On Tue, Feb 2, 2010 at 1:34 PM, Wendell Turner wend...@enflight.com wrote: The base layer of my map has full coverage of the US at a scale of 1:500,000. That works fine. I have some areas of detail that have tif files at a scale of 1:250,000. What do I put

Re: [mapserver-users] need help with query

2009-06-25 Thread Wendell Turner
On Wed, Jun 24, 2009 at 11:48:14PM -0500, Steve Lime wrote: I'll start with the obvious questions: 1) are the layers queryable (e.g. is a TEMPLATE set?) Umm..., it wasn't obvious to me. That was it. I had a template for the map, but didn't realize that each layer needed a template also.

[mapserver-users] json query resulte?

2009-06-25 Thread Wendell Turner
Does the OUTPUTFORMAT allow for json or geojson, as mentioned here? http://mapserver.org/development/rfc/ms-rfc-36.html Are there any examples of its use? Thanks, Wendell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org

Re: [mapserver-users] javascript query template examples

2009-06-25 Thread Wendell Turner
On Thu, Jun 25, 2009 at 03:13:21PM -0500, Steve Lime wrote: Here's one example using new-style templating (recommend MapServer 5.4.1). I'm using 5.2.0. Do I need to upgrade? Anyway, please ask questions if you need to. Ok! The TEMPLATE: // MapServer Template function

[mapserver-users] need help with query

2009-06-24 Thread Wendell Turner
I can't seem to get queries to work. I'm trying to query mapserver from Openlayers. I started with a query function posted by Arnd Wippermann here: http://openlayers.org/pipermail/users/2008-November/008942.html It sends a query like this: http://myserver.com/cgi-bin/mapserv?

Re: [mapserver-users] clipping symbols at tile boundary?

2009-06-22 Thread Wendell Turner
-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Wendell Turner Sent: Thursday, June 18, 2009 4:59 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] clipping symbols at tile boundary? (this must be basic, but here goes anyway...) I'm

[mapserver-users] clipping symbols at tile boundary?

2009-06-18 Thread Wendell Turner
(this must be basic, but here goes anyway...) I'm using Mapserver 5.2 with OpenLayers 2.7. I have a vector mapserver layer with point objects (shown with circle symbols) on it. The vector layer referenced via OpenLayers.Layer.WMS and is tiled. The circles are displayed in the tile that the

[mapserver-users] no geotiff in mapserver rpm?

2008-06-30 Thread Wendell Turner
Why does the mapserv program in the mapserver-5.0.2-4.2 rpm not support geotiff as input? Isn't geotiff a common format for this type of application? Or is it that geotiff files are served up as (plain) raster images with a shapefile? Thanks, Wendell

Re: [mapserver-users] no geotiff in mapserver rpm?

2008-06-30 Thread Wendell Turner
On Mon, Jun 30, 2008 at 01:58:22PM -0400, Frank Warmerdam wrote: Wendell Turner wrote: Why does the mapserv program in the mapserver-5.0.2-4.2 rpm not support geotiff as input? Isn't geotiff a common format for this type of application? Or is it that geotiff files are served up as (plain

[mapserver-users] 'errno: 2' on projection

2008-05-19 Thread Wendell Turner
I'm trying to use the 'projection' tag in a map file, but it is not working, and would like help. I'm using Fedora 7, and there is a mapserver 4.10 in a yum repository, which pulls in proj as a dependency. However, when using the 'projection' tag, it gets msProcessProjection(): Projection

Re: [mapserver-users] 'errno: 2' on projection

2008-05-19 Thread Wendell Turner
On Mon, May 19, 2008 at 03:32:16PM -0700, Wendell Turner wrote: I'm trying to use the 'projection' tag in a map file, but it is not working, and would like help. I'm using Fedora 7, and there is a mapserver 4.10 in a yum repository, which pulls in proj as a dependency. However, when using