Opened 20 years ago

Closed 19 years ago

Last modified 19 years ago

#588 closed defect (fixed)

MAXSIZE directive in mapfiles (not working and not documented)

Reported by: dmorissette Owned by: jmckenna@…
Priority: high Milestone: 4.2 release
Component: Documentation - MapServer Version: 4.1
Severity: normal Keywords:
Cc: jdoyon@…

Description

-------- Original Message --------
Subject: Re: [Mapserver-users] Image size out of range ...
Date: Fri, 05 Mar 2004 09:09:56 +0100
From: Frank Rittinger <gis@schnegg.net>
To: Daniel Morissette <dmorissette@dmsolutions.ca>
CC: mapserver-users@lists.gis.umn.edu
References: <404705B0.4010506@schnegg.net> <4047580E.1040400@dmsolutions.ca>

Hello Daniel,

as Steve pointed out, this is not documented, and when I tried it out 
mapserver complained about a corrupt mapfile:

msLoadMap(): Unknown identifier. Parsing error near (MAXSIZE):(line 20) <br>

Although, I found in mapfile.c, that the MAXSIZE is printed in saveMap.

Daniel Morissette wrote:
> 
> Since version 4.0 (not sure about 3.6), you should be able to set 
> MAXSIZE 2200 at the top-level in your mapfile to override the default.
> 
> Daniel

Bye,	Frank

Change History (9)

comment:1 by dmorissette, 20 years ago

Cc: steve.lime@… added
Owner: changed from sdlime to morissette@…
Reassigned to myself, I'll have a look now.

comment:2 by dmorissette, 20 years ago

Owner: changed from morissette@… to jdoyon@…
It seems that MAXSIZE was added only in version 4.1, so I was wrong when I
suggested in my email to the list that it was supported in 4.0 as well.

I'll reassign to JF Doyon to make sure that MAXSIZE is documented in the 4.2
mapfile reference docs. 

comment:3 by dmorissette, 20 years ago

Cc: mckenna@… added
Milestone: 4.2 release
JF: do you think this could be done for the 4.2 release?  If not can you please
reassign to Jeff.

comment:4 by dmorissette, 20 years ago

Cc: jdoyon@… added; mckenna@… removed
Owner: changed from jdoyon@… to mckenna@…
Reassigned to Jeff

comment:5 by jmckenna@…, 19 years ago

Component: MapServer C LibraryMapServer Documentation
moving to documentation Component

comment:6 by jmckenna@…, 19 years ago

Resolution: fixed
Status: newclosed
wow, old one.

added maxsize to map object in the mapfile-reference for 4.4 and 4.6, in CVS.

comment:7 by sdlime, 19 years ago

What's the connection from the XML documents in CVS and the Plone site. I fear 
there is none...

Steve

comment:8 by dmorissette, 19 years ago

Right, I don't think there is any connection between CVS and the plone site. I
think the plone site needs to be updated manually. Someone else from the doc
group could confirm that.

comment:9 by jmckenna@…, 19 years ago

no connection between cvs docs and plone site.  This will be discussed at the
doc BOF at mum3. 
Note: See TracTickets for help on using tickets.