Hi. Thanks for your answer, but I maybe you don't understood my problem.<br>How to use parameters convertion? And where insert the new Datum? <br>How I will use the +towgs84 parameters if the Proj4 didn't recognized my datum's parameters?<br>
<br>Thanks;<br><br><div class="gmail_quote">2010/11/25 Jean-Claude Repetto <span dir="ltr"><<a href="mailto:jrepetto@free.fr">jrepetto@free.fr</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">Le 25/11/2010 14:25, Kassiane Mentz a écrit :<br>
</div><div class="im">> We are in a city in southern Brazil (Porto Alegre - Rio Grande do Sul),<br>
> and have a lot of maps that have a<br>
> unknown local Datum.<br>
> We are using an application that uses Mapserver webmapping but is having<br>
> trouble with our maps becouse<br>
> they were using an unknown datum, even our forecast and our ellipsoid<br>
> are known.<br>
> Trying to makem with the mapserver automatically convert our maps to<br>
> WGS84, which is what most<br>
> approached our features, we decided to insert a new proj4 Datum.<br>
> In file PJ_Datums.c we inserted a new reference vector in pj_datums []<br>
> for our datum, passing the parameters<br>
> conversion. Also insert an entry in the archive world for our specific<br>
> case.<br>
> Compiled the library with our modifications and uses MapServer to<br>
> perform a test. Using the command Shp2img, we realized that this stopped<br>
> working, which indicates that something happened in Proj4.<br>
> We would like to know if there really is a way to include a unknown<br>
> Datum to the proj4 perform the conversion.<br>
<br>
</div><div class="im">Hello,<br>
<br>
You don't need to change the PROJ.4 source code. Just use the +towgs84<br>
parameter to perform the datum transformation.<br>
<br>
Jean-Claude<br>
</div>_______________________________________________<br>
Proj mailing list<br>
<a href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/proj" target="_blank">http://lists.maptools.org/mailman/listinfo/proj</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><font style="color: rgb(102, 0, 204);" size="4"><span style="font-family: trebuchet ms,sans-serif;">Atenciosamente;</span></font><div style="color: rgb(102, 0, 204); font-family: trebuchet ms,sans-serif;">
<font size="4"><br></font></div><div style="color: rgb(102, 0, 204); font-family: trebuchet ms,sans-serif;"><font size="4">Kassiane S. Mentz</font></div><div><font style="color: rgb(102, 0, 204);" size="4"><span style="font-family: trebuchet ms,sans-serif;">Microsoft Office Specialist</span></font><br>
</div><br>