<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=942555113-15082002><FONT face=Arial color=#0000ff size=2>Hi
Matt!</FONT></SPAN></DIV>
<DIV><SPAN class=942555113-15082002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=942555113-15082002><FONT face=Arial color=#0000ff
size=2> Your map has set output projection to WGS84, but
initial map extent is clearly set for different
projection.</FONT></SPAN></DIV>
<DIV><SPAN class=942555113-15082002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=942555113-15082002><FONT face=Arial color=#0000ff size=2>Stepan
Kafka</FONT></SPAN></DIV>
<DIV><SPAN class=942555113-15082002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
<DIV class=OutlookMessageHeader><FONT face="Times New Roman"
size=2>-----Původní zpráva-----<BR><B>Od:</B>
owner-mapserver-users@lists.gis.umn.edu
[mailto:owner-mapserver-users@lists.gis.umn.edu]<B>za uživatele</B> Matthew
Hatcher<BR><B>Odesláno:</B> 15. srpna 2002 11:40<BR><B>Komu:</B>
mapserver-users@lists.gis.umn.edu<BR><B>Předmět:</B> [mapserver-users]
Multiple projection problem<BR><BR></FONT></DIV>
<DIV><SPAN class=500133709-15082002><FONT face=Tahoma size=2>Hi
people,</FONT></SPAN></DIV>
<DIV><SPAN class=500133709-15082002><FONT face=Tahoma
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500133709-15082002><FONT face=Tahoma size=2>I'm having
problems with using different projections in MapServer. If I try and merge
data in different projections, the datasets requiring reprojecting don't get
displayed.</FONT></SPAN></DIV>
<DIV><SPAN class=500133709-15082002><FONT face=Tahoma
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500133709-15082002><FONT face=Tahoma size=2>I am using the NT
MapServer 3.6.1 binary compiled with GDAL and PROJ4 support. My WMS default
projection is lat/long, but I have datasets in UK National Grid (epsg:27700)
which it should be possible to reproject.</FONT></SPAN></DIV>
<DIV><SPAN class=500133709-15082002><FONT face=Tahoma
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500133709-15082002><FONT face=Tahoma size=2>I'm having this
problem with both rasters and vectors, but I've only included my vector map
file below.</FONT></SPAN></DIV>
<DIV><SPAN class=500133709-15082002><FONT face=Tahoma
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500133709-15082002><FONT face=Tahoma size=2>Help would be
appreciated!!</FONT></SPAN></DIV>
<DIV><SPAN class=500133709-15082002><FONT face=Tahoma
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500133709-15082002><FONT face=Tahoma size=2>Matt
Hatcher.</FONT></SPAN></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><SPAN class=500133709-15082002><FONT face=Tahoma size=2>--- map file
---</FONT></SPAN></DIV>
<DIV><SPAN class=500133709-15082002><XMP>#
# Start of map file
#
NAME MAIN
STATUS ON
SIZE 600 350
EXTENT -140570 -33340 956950 606250 # osgb
UNITS METERS
SHAPEPATH "data"
IMAGECOLOR 192 192 192
# you may need to change this to match your MapServer build
#IMAGETYPE PNG
#
# Projection definition, consult the PROJ.4 documentation for parameter discussion
#
PROJECTION
"init=epsg:4326"
END
#
# Start of web interface definition (including WMS enabling metadata)
#
WEB
TEMPLATE test.html
MINSCALE 1000
MAXSCALE 7000000
IMAGEPATH "w:\wwwroot\tmp\"
IMAGEURL "/tmp/"
METADATA
WMS_TITLE "foo"
WMS_ACCESSCONSTRAINTS none
# change this value to match your setup
WMS_ONLINERESOURCE "foo"
WMS_SRS "EPSG:27700 EPSG:4326" # OSGB and lat/long
END
END
#
# Start of layer definitions
#
LAYER
NAME "uk_osgb"
TYPE LINE
STATUS DEFAULT
DATA uk_osgb
GROUP uk_osgb
CLASS
COLOR 0 0 128
END
METADATA
WMS_TITLE "UK outline"
WMS_ABSTRACT "Boundary of UK region"
WMS_GROUP_TITLE "UK boundaries"
WMS_SRS "EPSG:27700 EPSG:4326"
END
PROJECTION
"init=epsg:27700"
END
END
END # Map File
</XMP></SPAN></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV><CODE><FONT
size=3><BR><BR>**********************************************************************<BR>The
information contained in this email and any subsequent<BR>correspondence is
private and is intended solely for the <BR>intended recipient(s). For those
other than the intended<BR>recipient(s) any disclosure, copying, distribution,
or any <BR>action taken or omitted to be taken in reliance on such
<BR>information is prohibited and may be
unlawful.<BR>**********************************************************************<BR></BLOCKQUOTE></FONT></CODE></BODY></HTML>