<!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 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<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>
</FONT></CODE>
</BODY></HTML>