<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010>Your projectin setting is likely to give you
unpredictable results, because init:epsg:26915 means</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010><26915> +proj=utm +zone=15 +ellps=GRS80
+datum=NAD83 +units=m +no_defs <></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010>and now you are giving additional, different
definitions for the type of projection, ellipsoid and datum.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010>What do you know about your old maps?
Obviously they were not originally in digital format but they have been scanned
later, oriented to North-South and georeferenced with world file or
something? It is quite possible that you can find out the exact projection
that was used for producing the map but it is a good start that you know it is
Gauss-Krüger. Below are two proj4 strings for Gauss-Krüger projections
</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010># DHDN / 3-degree Gauss zone 2 (deprecated) German<BR>
+proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=2500000 +y_0=0 +ellps=bessel
+datum=potsdam +units=m +no_defs <></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010>#Finnish KKJ<BR></SPAN></FONT><FONT color=#0000ff
size=2 face=Arial><SPAN class=871160811-16112010>tmerc +lat_0=0 +lon_0=27 +k=1
+x_0=3500000 +y_0=0 +ellps=intl
+towgs84=-96.0617,-82.4278,-121.743,4.80107,0.34543,-1.37646,1.4964 +units=m
+no_defs <></SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN class=871160811-16112010>What
you need to chase up are</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010>proj=tmerc #this is clear, Gauss-Krüger is a
transverse Mercator projection</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010>lat_0 #origin of
latitude</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010>lon_0 #origin
of longitude, the central meridian of the projection zone</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010>k
#scale factor, I suppose it is usually 1 in European Gauss-Kruger
projections</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010>x_0
#false easting in meters</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010>y_0
#false northing in meters</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010>ellps #name of the
ellipsoid; may be hard to find an accurate equivalent to 1908
situation</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010>datum #name of the datum; same
as above</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=871160811-16112010>towgs84 #affine transformation parameters,
usually either datum or towgs84 are needed</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT><FONT color=#0000ff size=2
face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>-Jukka Rahkonen-</FONT></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV dir=ltr lang=fi class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Lähettäjä:</B>
mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>Puolesta </B>Daiane
Fraga<BR><B>Lähetetty:</B> 16. marraskuuta 2010 13:02<BR><B>Vastaanottaja:</B>
Fuchs Juan Carlos; mapserver-users@lists.osgeo.org<BR><B>Aihe:</B> RE: RE:
[mapserver-users] Gauss-Krüger<BR></FONT><BR></DIV>
<DIV></DIV><FONT color=#000066><FONT
face=verdana,sans-serif>Hi,<BR><BR></FONT></FONT><SPAN id=result_box
lang=en><SPAN title="">I understand what you say. </SPAN><SPAN title="">But
this is not my question. </SPAN><SPAN title="">I'm with a map in a coordinate
system outdated (the maps are dated from 1908). </SPAN><SPAN title="">And I'm
using an application that interacts with Google Maps, which has caused
problems. </SPAN><SPAN title="">Did you know how to do some kind of conversion
from the Mapserver?<BR></SPAN><SPAN title="">We can do a conversion to the WGS
1984, but it has to be done manually for each map.</SPAN></SPAN><BR>I'm not
sure that may maps have <SPAN id=result_box lang=en class=short_text><SPAN
title="">a known</SPAN></SPAN> Mapserver projection. <BR clear=all><BR>I'm
using this:<BR> PROJECTION<BR>
"init=epsg:26915"<BR>
"proj=latlong"<BR>
"ellps=WGS84"<BR>
"datum=WGS84"<BR> END<BR><BR><BR>Thanks!<BR><BR>Daiane
Fraga<BR><BR><BR><BR><BR>
<DIV class=gmail_quote>---------- Forwarded message ----------<BR>From: <B
class=gmail_sendername>Fuchs Juan Carlos</B> <SPAN dir=ltr><<A
href="mailto:jfuch@indec.mecon.gov.ar">jfuch@indec.mecon.gov.ar</A>></SPAN><BR>Date:
2010/11/12<BR>Subject: RE: [mapserver-users] Gauss-Krüger<BR>To: Daiane Fraga
<<A
href="mailto:daiane.a.fraga@gmail.com">daiane.a.fraga@gmail.com</A>><BR><BR><BR>
<DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>Hi Daiane</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>You have to find in Prij.4
the right EPSG code for your maps</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>in wich country / region are
you interested?</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>yust to sart with
...</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>in the .map you have to
insert two groups of code</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>in the header (first zone)
goes the poyection of the map you are producing</FONT></SPAN></DIV>
<DIV><SPAN>PROJECTION<BR> "init=epsg:heregoesyourcode"
<BR>END</SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>for each Layer you call to
build the map</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>Layer</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>....</FONT></SPAN></DIV>
<DIV><SPAN>PROJECTION <BR> "init=epsg:heregoesyourcodeof
thesourcelayer"<BR>END</SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>....</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>end</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>hope it help
someway</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>Cheers</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>JC</FONT></SPAN></DIV>
<DIV> </DIV>
<BLOCKQUOTE>
<DIV dir=ltr align=left><FONT size=2 face=Tahoma>-----Mensaje
original-----<BR><B>De:</B> Daiane Fraga [mailto:<A
href="mailto:daiane.a.fraga@gmail.com"
target=_blank>daiane.a.fraga@gmail.com</A>]<BR><B>Enviado el:</B> Viernes,
12 de Noviembre de 2010 12:03 p.m.<BR><B>Para:</B> <A
href="mailto:mapserver-users@lists.osgeo.org"
target=_blank>mapserver-users@lists.osgeo.org</A><BR><B>Asunto:</B>
[mapserver-users] Gauss-Krüger<BR><BR></FONT></DIV><FONT color=#000066><FONT
face=verdana,sans-serif>Hello,<BR><BR>Did someone have any problems using
Mapserver with Gauss-Krüger?<BR>I know that Mapserver is compatible with
proj.4 library and the proj.4 library supports Gauss-Krüger. But I dont know
how to use it. <BR>Somebody could help me?<BR
clear=all></FONT></FONT><BR>Thanks.<BR><BR>Daiane<BR><BR><BR></BLOCKQUOTE></DIV></DIV><BR></BLOCKQUOTE></BODY></HTML>