[mapserver-users] Hiding overviews

2008-03-05 Thread Eichner, Andreas - SID-NLK
Hello everybody! I've build external overviews, both with raster and vector data, put them into layers with MIN-/MAXSCALE and it works like a charme. My only problem is that I can not get the switching of those layers transparent to the user. A "GetCapabilities"-WMS-Request returns all layers sep

[MAPSERVER-USERS] BoundingBox SRS of the GetCapabilities

2008-03-05 Thread cfb
Hi there, I'm testing the GetCapabilities of my WMS (working with MapServer 5.0.2 CGI for Windows), and comparing it with others WMS. Regardless of the projections of the layers (EPSG 23030), I've realized that the Boundingbox of the header and of each layer depends on the order of the SRS list (

VS: [mapserver-users] Hiding overviews

2008-03-05 Thread Rahkonen Jukka
Hi, I've never tried myself, but I would not be surprised if you could do something of that kind with GROUP in LAYER object. Excerpt from mapfile reference http://mapserver.gis.umn.edu/docs/reference/mapfile/layer follows. GROUP [name] Name of a group that this layer belongs to. The group n

Re: VS: [mapserver-users] Hiding overviews

2008-03-05 Thread Mike Meier
Hi, i have the same problem and the GROUP parameter dont help me. My Mapserver (5.0.1) always show both layers. Mike Rahkonen Jukka schrieb: Hi, I've never tried myself, but I would not be surprised if you could do something of that kind with GROUP in LAYER object. Excerpt from mapfile ref

Re: [MAPSERVER-USERS] CLOSE_CONNECTION=DEFER - Segmentation fault

2008-03-05 Thread Ivan Mincik
Nothing is perfect. There are no problems with applied patch when browsing the map. But when I use identify object query from php5-mapscript the problem is rising again. I have in postgresql log: 2008-03-05 13:19:30 CET WARNING: there is no transaction in progress 2008-03-05 13:19:30 CET ERRO

[mapserver-users] RE: CGI Class Expression V5.0.2 cannot change

2008-03-05 Thread David Martin
Sorry to be a bother I found a solution using variable substitution and I am happy to use that method. It actually makes for smaller cgi command line calls, so it is a better option all round. Info found at : http://www.nabble.com/mapserver-5-expression-td12386097.html#a12414895 Regards David Mar

Re: [MAPSERVER-USERS] CGI Class Expression V5.0.2 cannot change

2008-03-05 Thread ITBeyond
Michael, Thanks - I actually just found this solution using variable substitution. I was confused about where to post this issue as I have been still getting the digest from listserv, then I got confused about how all this sits with lists.osgeo.org (where I posted the email), then I found it all

[mapserver-users] enhancement ideas

2008-03-05 Thread Joan Verdaguer
Hi list, Here are some features I think would be nice to have in Mapserver: ** Expressions almost everywhere ** Possibility to use expressions whenever a value is required. Built-in variables and functions would be very useful. For example: SIZE [fieldValue]*0.2+5 WIDTH imageWidth /

Re: [MAPSERVER-USERS] BoundingBox SRS of the GetCapabilities

2008-03-05 Thread Frank Warmerdam
cfb wrote: Hi there, I'm testing the GetCapabilities of my WMS (working with MapServer 5.0.2 CGI for Windows), and comparing it with others WMS. Regardless of the projections of the layers (EPSG 23030), I've realized that the Boundingbox of the header and of each layer depends on the order of th

Re: [MAPSERVER-USERS] support for building mapserver on multiple platforms with a single src dir?

2008-03-05 Thread Daniel Morissette
rich.fromm wrote: This page seems to imply that what I tried (cd to where you want the build to be, then run the configure script that's located where the src is) ought to work, even without using --srcdir: http://www.gnu.org/software/autoconf/manual/html_node/Multiple-Architectures.html#Multi

[mapserver-users] MapServer GRID object.

2008-03-05 Thread Bob Basques
All, I got the GRID object to work and display in this interface: http://gis.ci.stpaul.mn.us/gis/gismo_public/html/?mapbook=/datasets/CONFIGS/SAINT_PAUL/PUBLIC_WORKS/MAPBOOKS/TS/gismo3_test_public.xml I still need to know more info about the function though, is FORMATOPTION the only method

Re: [mapserver-users] MapServer GRID object.

2008-03-05 Thread Brent Fraser
Bob, I take it you mean LABELFORMAT (not FORMATOPTION)? From http://mapserver.gis.umn.edu/docs/reference/mapfile/grid: LABELFORMAT [DD|DDMM|DDMMSS] Format of the label. "DD" for degrees, "DDMM" for degrees minutes, and "DDMMSS" for degrees, minutes, seconds. The default is decimal display of w

Re: [mapserver-users] MapServer GRID object.

2008-03-05 Thread Bob Basques
Oops, yup, you're right. LABELFORMAT. Anyway, how to I get rid of the Scientific notation for the labels? There doesn't seem to be a method for this. bobb >>> "Brent Fraser" <[EMAIL PROTECTED]> wrote: Bob, I take it you mean LABELFORMAT (not FORMATOPTION)? From http://mapserver.gis.umn

Re: [mapserver-users] MapServer GRID object.

2008-03-05 Thread Brent Fraser
Bob, For spherical unit (Degrees-minutes-seconds) labels you could use: LABELFORMAT "DDMMSS" or for cartesian units (e.g. meters) an un-documented feature(!) of any C-style formatting string: LABELFORMAT "%7.0f m" Brent Fraser GeoAnalytic Inc. Calgary, Alberta - Original Message -

Re: [mapserver-users] MapServer GRID object.

2008-03-05 Thread Jeff McKenna
I'll be doing some documentation updates soon so if you find anything undocumented please file a ticket for it in MapServer's trac instance (http://trac.osgeo.org/mapserver/), using the "MapServer Documentation" component. -jeff Brent Fraser wrote: Bob, For spherical unit (Degrees-minut

[mapserver-users] Skipping layers that fail to load

2008-03-05 Thread Ian
Hello, I went through the documentation but did not find a solution for drawing a map even when some of its layers do not successfully complete. Our database went down recently and all layers that make database calls weren't completing and therefore the final map was never generated. I can manual

[MAPSERVER-USERS] Missing required parameter BBOX

2008-03-05 Thread cfb
Hi again, I'm having problems with the projections of my WMS (working with MapServer 5.0.2 for Windows). I've changed the SRS of the header's mapfile into EPSG 4326 (before it was EPSG 23030), and also the epsg of one layer (which reference system I'd already changed to 4326). I'd left the other

Re: [MAPSERVER-USERS] Missing required parameter BBOX

2008-03-05 Thread Christopher Schmidt
On Wed, Mar 05, 2008 at 11:31:34AM -0800, cfb wrote: > > Hi again, > > I'm having problems with the projections of my WMS (working with MapServer > 5.0.2 for Windows). I've changed the SRS of the header's mapfile into EPSG > 4326 (before it was EPSG 23030), and also the epsg of one layer (which >

Re: [MAPSERVER-USERS] Missing required parameter BBOX

2008-03-05 Thread Jeff McKenna
What is the URL you are using? Does it have a bbox in it? To go along with what Chris says, since you are an MS4W user you can download the "PHPMapscript Sample Application" (gmap_ms4w_ms5.zip) add-on package and goto localhost to see working GetMap requests for MapServer 5.0.2 -jeff

Re: [MAPSERVER-USERS] msProcessProjection(): Projection library error.

2008-03-05 Thread rich.fromm
rich.fromm wrote: > > I am in the process of running another test, this using a build of the tip > of branch-5-0, along with local patches both for bug 2497 and for bug 2533 > (in other words, this patch). > It also ran fine (for a 6 hour test under heavy load). For more details, see: http://

RE: [mapserver-users] Skipping layers that fail to load

2008-03-05 Thread Josh Hevenor
I'd also be interested in such a feature. What we've done in the past with a collection of unreliable SDE layers is to create a separate map file for the layers and use MapScript to see if it opens. If the layers fail then we turn them off in our main map. I'd like to see the layers just not draw,

Re: [mapserver-users] MapServer GRID object.

2008-03-05 Thread Jeff McKenna
Small world: it seems someone else just made a change to that GRID doc page. Whoever did that change, can you please correct the errors/warnings displayed now? thanks. -jeff Jeff McKenna wrote: I'll be doing some documentation updates soon so if you find anything undocumented please file

Re: [mapserver-users] Skipping layers that fail to load

2008-03-05 Thread Stephen Woodbridge
And building mapserver with the ./configure --ignore-missing-data does not solve this problem? I personally would prefer that these kind of options reside in the mapfile so you don't have to rebuild mapserver to turn them on when you forget. Maybe we need something like: MAP CONFIGURE I

Re: [mapserver-users] MapServer GRID object.

2008-03-05 Thread Brent Fraser
Jeff, Sorry about that, it was me. I'll fix the errors... Brent Fraser GeoAnalytic Inc. Calgary, Alberta - Original Message - From: "Jeff McKenna" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 05, 2008 1:34 PM Subject: Re: [mapserver-users] MapServer GRID object. > Small world: it

Re: [MAPSERVER-USERS] CLOSE_CONNECTION=DEFER - Segmentation fault

2008-03-05 Thread Dave Fuhry
Ivan, Thanks for the problem report. If you are using fastcgi, you may need to restart it. The only two places PQconnectdb is called is in msPOSTGISLayerOpen and in msPOSTGRESQLJoinConnect, which operates independently, not using cursors or the connection pool. With a patched msPOSTGISLay

[mapserver-users] Mapserver equivalent for .NET

2008-03-05 Thread Scott Ellington
Hi, I currently work at ISC and was asked to respond on this thread. A few notes on some comments: "That being said, I can still wish that they be more open and give credit to MapServer for providing the core of their system, or perhaps spend some time on this list helping users, or do somethi

Re: [mapserver-users] Skipping layers that fail to load

2008-03-05 Thread Ian
In the original post I should have clarified that I was reading through the Mapfile Reference documentation. Yes Stephen your suggestion is exactly along the lines of what I was thinking and would like as an option. Something at the individual map or layer level that gracefully handles broken data

Re: [mapserver-users] enhancement ideas

2008-03-05 Thread Tamas Szekeres
Joan, New ideas are welcomed since it's more incentive than dealing with bugs any time ;-) Most of the times the enhancements/requests are bound to specific projects/demands so that the developers can easily put these efforts into their timeline but it's quite difficult to pick up the task that is

[mapserver-users] workstation to server migration

2008-03-05 Thread Jeanette McBride
Hi helpful folks, I've got a nice Mapserver project running on my desktop and I'd like to get it on our intranet. I know something about GIS but nothing about networks and servers, so I can't answer my IT Dept's question, which is this: "In regards to the question about migrating my question was

RE: [mapserver-users] workstation to server migration

2008-03-05 Thread Delfos, Jacob
Hi Jeanette, It should make no difference if you replicate the setup and the file paths on the server. In theory, if you copy everything into the exact same location, and set up the same aliases for the web-server (IIS or Apache), then it should work. If you are loading data from the network, you

[mapserver-users] (no subject)

2008-03-05 Thread boedy1996
Hi. I am a new user in mapserver using. Is there any method to connect shp and mssql database beside ogr. Because I must wait for a long time if I use OGR. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.4/1312 - Release Date:

Re: [MAPSERVER-USERS] msProcessProjection(): Projection library error.

2008-03-05 Thread rich.fromm
rich.fromm wrote: > > > rich.fromm wrote: >> >> I am in the process of running another test, this using a build of the >> tip of branch-5-0, along with local patches both for bug 2497 and for bug >> 2533 (in other words, this patch). >> > > It also ran fine (for a 6 hour test under heavy loa

[mapserver-users] Re: Hiding overviews

2008-03-05 Thread Eichner, Andreas - SID-NLK
Hmm, seems my description wasn't clear enough, so I'll try to precise... For a layer with raster data I created external overviews. To make use of them I copied the LAYER portion of the map file, changed the TILEINDEX statement to point to the index of the appropriate overview, set MINSCALE/MAXSC

RE: [mapserver-users] Re: Hiding overviews

2008-03-05 Thread Delfos, Jacob
Hi Andreas, I use a similar approach, but not under WMS circumstances. But basically I take advantage of the fact that layers in MapServer that have the same name, will switch on/off at the same time. For example, I can create a layer called "Satellite Image", which is a tile-index. I can then ad

[mapserver-users] Re: Hiding overviews

2008-03-05 Thread Eichner, Andreas - SID-NLK
Hello Jacob, thanks for your try but this didn't help, sorry. IMHO the problem is that there seems to be no way to declare multiple, scale dependend data sources for one layer (in a WMS sense). Since the only reason of using of overviews for me is the (nearly) scale-independent performance. But o