Opened 17 years ago

Closed 17 years ago

#2176 closed defect (fixed)

CGI map_size is not working

Reported by: woodbri Owned by: sdlime
Priority: normal Milestone: 5.0 release
Component: MapServer CGI Version: 5.0
Severity: major Keywords:
Cc:

Description

CGI map_size is not working and it returns the mapsize set in the mapfile:

http://mt2.imaptools.com/cgi-bin/mapserv-4.99?MAP=%2Fu%2Fdata%2Fmaps%2Fgoogle-agg.map&LAYERS=all&MAP_IMAGETYPE=agg%2Fpng24&MODE=map&SRS=EPSG%3A4326&mapext=-87.678065%2041.829507%20-87.622506%2041.87316&imgext=-87.678065%2041.829507%20-87.622506%2041.87316&map_size=700%20550&imgx=350&imgy=275&imgxy=700%20550

woodbri@carto:/u/software/mapserver-SVN/mapserver$ svn info
Path: .
URL: https://svn.osgeo.org/mapserver/trunk/mapserver
Repository UUID: 7532c77e-422f-0410-93f4-f0b67bdd69e2
Revision: 6392
Node Kind: directory
Schedule: normal
Last Changed Author: dmorissette
Last Changed Rev: 6390
Last Changed Date: 2007-07-25 12:59:10 -0400 (Wed, 25 Jul 2007)
Properties Last Updated: 2007-07-18 10:07:09 -0400 (Wed, 18 Jul 2007)
 
./configure \
  --enable-ignore-missing-data \
  --enable-debug \
  --with-httpd=/usr/sbin/apache \
  --with-proj=/usr \
  --with-agg=/u/software/agg-2.5 \
  --with-gd \
  --with-gdal \
  --with-freetype \
  --with-postgis \
  --without-tiff \
  --with-wmsclient \
  --with-ogr \
  --with-wfs \

woodbri@carto:/u/software/mapserver-SVN/mapserver$ ./mapserv-4.99 -v MapServer version 5.0.0-beta1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

Change History (4)

comment:1 by sdlime, 17 years ago

Status: newassigned

I can renable but that's not the preferred method of setting map size via the CGI. The mapsize parameter exists for that purpose.

Steve

comment:2 by woodbri, 17 years ago

OK, you might want to talk to Chris Schmidt as that URL is coming from OpenLayers. So anything else that you think we might want OL to change based on that URL parameters you should comment on.

comment:3 by sdlime, 17 years ago

Think we could get SVN access to help maintain the MapServer layer?

Steve

comment:4 by sdlime, 17 years ago

Resolution: fixed
Status: assignedclosed

Fixed (rev. 6402)...

Steve

Note: See TracTickets for help on using tickets.