[Mapserver-users] Projection conversion
nicolas.fortin at ec.gc.ca
nicolas.fortin at ec.gc.ca
Wed Oct 29 11:26:54 PST 2003
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C39E52.9C47BD80
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
=20
I'm new to mapserver and I'm making some tests to make it work with =
Oracle
spatial (very simple tests though).
=20
One of my test consist of two layers, one in Lambert Conformal Conic =
(LCC)
and the other in NAD83 MTM Zone 8.
=20
I wonder if I have to do something special to make Mapserver convert =
between
projection...
=20
For the mapfile below, only the LCC layer is visible in the bounding =
box.
=20
# BEGIN MAPFILE
# Mapserver test 3 for Oracle
# Nicolas Fortin, Env Can nicolas.fortin at ec.gc.ca
<mailto:nicolas.fortin at ec.gc.ca>=20
=20
NAME MS_ORA_TEST_3
EXTENT 7613000 1218000 7620000 1227000
#EXTENT 275000 5019000 280000 5027000
SIZE 350 450
PROJECTION
"init=3Depsg:102002"
END
=20
LAYER # Test table
NAME "PointTest"
TYPE POINT
CONNECTIONTYPE oraclespatial
CONNECTION "martins/****@bayfield <mailto:martins/****@bayfield> "
DATA "GEOLOC FROM MARTINS.CT_LCC_MI"
STATUS DEFAULT
DUMP TRUE
=20
PROJECTION
"init=3Depsg:102002"
END
=20
CLASS # PolyClass
NAME "Point"
COLOR 0 100 240
OUTLINECOLOR 0 0 0
END
=20
END # LAYER
=20
LAYER # Test table
NAME Shoreline
TYPE LINE
CONNECTIONTYPE oraclespatial
CONNECTION "usr_bathy/****@bayfield <mailto:usr_bathy/****@bayfield> =
"
DATA "GEOLOC FROM USR_BATHY.SHORELINE USING SRID 82196"
STATUS DEFAULT
DUMP TRUE
=20
PROJECTION
"init=3Depsg:2145"
END
=20
CLASS # PolyClass
NAME "Shoreline"
COLOR 0 0 0
#LABEL
# COLOR 0 0 0
#END # LABEL
END
=20
END # LAYER
=20
END
# END MAPFILE
Thx,
Nicolas Fortin=20
Math=E9maticien, Programmeur, Analyste de donn=E9es=20
SMC-Qu=E9bec Hydrologie, Environnement Canada=20
1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V 4H5=20
(418)648-2516=20
nicolas.fortin at ec.gc.ca <mailto:nicolas.fortin at ec.gc.ca
<mailto:nicolas.fortin at ec.gc.ca> >=20
=20
------_=_NextPart_001_01C39E52.9C47BD80
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1264" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=805162019-29102003>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=805162019-29102003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=805162019-29102003>I'm new to mapserver
and I'm making some tests to make it work with Oracle spatial (very simple tests
though).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=805162019-29102003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=805162019-29102003>One of my test
consist of two layers, one in Lambert Conformal Conic (LCC) and the other
in NAD83 MTM Zone 8.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=805162019-29102003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=805162019-29102003>I wonder if I have
to do something special to make Mapserver convert between
projection...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=805162019-29102003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=805162019-29102003>For the mapfile
below, only the LCC layer is visible in the bounding box.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=805162019-29102003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=805162019-29102003># BEGIN
MAPFILE</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=805162019-29102003># Mapserver test 3
for Oracle<BR># Nicolas Fortin, Env Can <A
href="mailto:nicolas.fortin at ec.gc.ca">nicolas.fortin at ec.gc.ca</A></SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=805162019-29102003>NAME
MS_ORA_TEST_3<BR>EXTENT 7613000 1218000 7620000 1227000<BR>#EXTENT 275000
5019000 280000 5027000<BR>SIZE 350 450<BR>PROJECTION<BR>
"init=epsg:102002"<BR>END</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=805162019-29102003>LAYER # Test
table<BR> NAME "PointTest"<BR> TYPE POINT<BR> CONNECTIONTYPE
oraclespatial<BR> CONNECTION "<A
href="mailto:martins/****@bayfield">martins/****@bayfield</A>"<BR> DATA
"GEOLOC FROM MARTINS.CT_LCC_MI"<BR> STATUS DEFAULT<BR> DUMP
TRUE<BR> <BR> PROJECTION<BR>
"init=epsg:102002"<BR> END<BR> <BR> CLASS #
PolyClass<BR> NAME "Point"<BR> COLOR 0 100
240<BR> OUTLINECOLOR 0 0 0<BR> END</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=805162019-29102003>END #
LAYER</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=805162019-29102003>LAYER # Test
table<BR> NAME Shoreline<BR> TYPE LINE<BR> CONNECTIONTYPE
oraclespatial<BR> CONNECTION "<A
href="mailto:usr_bathy/****@bayfield">usr_bathy/****@bayfield</A>"<BR>
DATA "GEOLOC FROM USR_BATHY.SHORELINE USING SRID 82196"<BR> STATUS
DEFAULT<BR> DUMP TRUE<BR> <BR>
PROJECTION<BR> "init=epsg:2145"<BR> END<BR>
<BR> CLASS # PolyClass<BR> NAME
"Shoreline"<BR> COLOR 0 0 0<BR>
#LABEL<BR> # COLOR 0 0 0<BR> #END #
LABEL<BR> END<BR> <BR>END # LAYER</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=805162019-29102003>END</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=805162019-29102003># END
MAPFILE<BR></DIV></SPAN></FONT>
<DIV><SPAN class=805162019-29102003><FONT face=Arial
size=2>Thx,</FONT></SPAN></DIV>
<P><B><I><FONT face="Bookman Old Style" color=#000080 size=2>Nicolas
Fortin</FONT></I></B><I></I> <BR><B><FONT face=Arial size=1>Mathématicien,
Programmeur, Analyste de données</FONT></B> <BR><B><FONT face=Arial
size=1>SMC-Québec Hydrologie, Environnement Canada</FONT></B> <BR><B><FONT
face=Arial size=1>1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5</FONT></B>
<BR><B><FONT face=Arial size=1>(418)648-2516</FONT></B> <BR><U><FONT face=Arial
color=#0000ff size=1>nicolas.fortin at ec.gc.ca <<A
href="mailto:nicolas.fortin at ec.gc.ca">mailto:nicolas.fortin at ec.gc.ca</A>></FONT></U>
</P>
<DIV> </DIV></BODY></HTML>
------_=_NextPart_001_01C39E52.9C47BD80--
More information about the MapServer-users
mailing list