msCalculateScale(): General error message. Invalid image extent.
Shaik A. Hussain
shussain at ATSINCORP.COM
Thu Feb 23 08:17:18 PST 2006
Hello All,
I am getting the following error while I use the mapext
msCalculateScale(): General error message. Invalid image extent.
This URL causes the above error.
http://devmap.penndotpams.org/cgi-bin/mapserv.exe?map=E%3A%5CLotus%5CApa
che%5Chtdocs%5Cpams1%5Cpams.map&layer=flightline&mode=map&mapext=0+0+211
666+211666&mapsize=300+300
Left tile to the above image - get image without any error
http://devmap.penndotpams.org/cgi-bin/mapserv.exe?map=E%3A%5CLotus%5CApa
che%5Chtdocs%5Cpams1%5Cpams.map&layer=flightline&mode=map&mapext=-211666
+0+0+211666&mapsize=300+300
Down tile to the above image - get image without any error
http://devmap.penndotpams.org/cgi-bin/mapserv.exe?map=E%3A%5CLotus%5CApa
che%5Chtdocs%5Cpams1%5Cpams.map&layer=flightline&mode=map&mapext=0+-2116
66+211666+0&mapsize=300+300
Any one can help me what I am doing wrong.
Thanks,
Anwar
I am using Windows XP2003, Apache.
MapServer version 3.6.6 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
SUPPORTS=P
ROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=EPPL7
INPUT=POSTG
IS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
Here is my map file
#
# Start of map file - created Thu Jan 24 11:36:43 2002
#
NAME PAMS
SIZE 300 300
STATUS ON
EXTENT -252600 -148033.591 274400 165545.107
UNITS meters
SHAPEPATH 'E:\Lotus\Apache\htdocs\pams/'
SYMBOLSET 'E:\Lotus\Apache\htdocs\pams\Symbols\symbols.sym'
FONTSET "E:\Lotus\Apache\htdocs\pams\Symbols\fonts.list"
IMAGECOLOR 255 255 255
TRANSPARENT ON
PROJECTION
"proj=poly"
"ellps=GRS80"
"lon_0=77.75w"
"lat_0=40.925n"
#"units=m"
END
#
# Start of web interface definition
#
WEB
HEADER demo_header.html
TEMPLATE demo.html
FOOTER demo_footer.html
IMAGEPATH "../pams1/mapimages\"
IMAGEURL "/mapimages/"
LOG "pams.log"
END
#
# Start of layer definitions
#
LAYER
NAME "flightline"
PROJECTION
"proj=poly"
"ellps=GRS80"
"lon_0=77.75w"
"lat_0=40.925n"
END
TYPE polygon
STATUS off
DATA 'ascot/flightline'
CLASSITEM Pams_code
CLASS
Name 'Flight Lines'
EXPRESSION ([DELETED] = 1)
OUTLINECOLOR 150 200 250
SYMBOL 'circle'
SIZE 1
END # CLASS
END # LAYER
END # MAPFILE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060223/3be6b3ff/attachment.htm>
More information about the MapServer-users
mailing list