I'm using a Map with Coordinate System ETRS89 / Portugal TM06 (  <a href="http://spatialreference.org/ref/epsg/3763/" target="_top" rel="nofollow" link="external">http://spatialreference.org/ref/epsg/3763/</a>) <p></p>


but I can't find this Coordinate System in MgCoordinateSystemFactory.
<p></p>
Some code to reproduce the behaviour:
<p></p>
<font color="blue">
<i>&nbsp;&nbsp;&nbsp;&nbsp;Try<p></p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim p_cswkt_etrs89 As String<p></p>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;p_cswkt_etrs89 = "PROJCS[$ETRS89 / Portugal TM06$,GEOGCS[$ETRS89$,DATUM[$European_Terrestrial_Reference_System_1989$,SPHEROID[$GRS 1980$,6378137,298.257222101,AUTHORITY[$EPSG$,$7019$]],AUTHORITY[$EPSG$,$6258$]],PRIMEM[$Greenwich$,0,AUTHORITY[$EPSG$,$8901$]],UNIT[$degree$,0.01745329251994328,AUTHORITY[$EPSG$,$9122$]],AUTHORITY[$EPSG$,$4258$]],UNIT[$metre$,1,AUTHORITY[$EPSG$,$9001$]],PROJECTION[$Transverse_Mercator$],PARAMETER[$latitude_of_origin$,39.66825833333333],PARAMETER[$central_meridian$,-8.133108333333334],PARAMETER[$scale_factor$,1],PARAMETER[$false_easting$,0],PARAMETER[$false_northing$,0],AUTHORITY[$EPSG$,$3763$],AXIS[$X$,EAST],AXIS[$Y$,NORTH]]" 
<p></p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;p_cswkt_etrs89 = Replace(p_cswkt_etrs89, "$", """")<p></p>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim code_etrs89 As String = csf.ConvertWktToCoordinateSystemCode(p_cswkt_etrs89)<p></p>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim epsgcode_etrs89 As String = csf.ConvertWktToEpsgCode(p_cswkt_etrs89)<p></p>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' epsgcode_etrs89 is "" !!!!!<p></p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' Lets try to use 3763 <p></p>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;code_etrs89 = "3763"<p></p>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim myCoordinateSystem_etrs89 As MgCoordinateSystem<p></p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myCoordinateSystem_etrs89 = csf.CreateFromCode(code_etrs89 )<p></p>
&nbsp;&nbsp;&nbsp;&nbsp;Catch ex As Exception<p></p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MsgBox(ex.Message)<p></p>
&nbsp;&nbsp;&nbsp;&nbsp;End Try</i><p></p>
</font>

It's possible to add new Coordinate Systems to the libraries? How can I resolve this problem?<p></p>
I need to perform coordinate conversion and therefore need to use MgCoordinateSystemFactory.<p></p>

Thanks in advance
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/ETRS89-Portugal-TM06-tp4901537p4901537.html">ETRS89 / Portugal TM06</a><br/>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/MapGuide-Users-f4182607.html">MapGuide Users mailing list archive</a> at Nabble.com.<br/>