<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Webdings;
panose-1:5 3 1 2 1 5 9 6 7 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hello Clement . . .<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>RFC -6 was indeed implemented, just not marked as have been so. The only documentation I am aware of, however, is the RFC-6 document itself. Presumably, if your work in Civil 3D produced two .csd files in a directory somewhere, you should be able to copy those two files in a similarly situated directory on your server and use the CS_usrdir() API to inform CS-MAP where it is. Note: If your server is not a little endian machine (i.e. is not the same as the machine your Civil 3D is running on), you might encounter a byte swap problem.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Actually, it turns out that the API is CS_usrdr (). It is defined in CS_general.c at line 151:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>/**********************************************************************</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>** int result = CS_usrdr (usr_dir);</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>**</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>** char *usr_dir; the directory where to store all custom definitions in.</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>** Note, that this directory isn't required to contain</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>** any CSD files (yet).</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>** Must be less than (MAXPATH - 1) characters.</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>** If NULL or empty, the user dictionary path will be unset.</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>** That is, all user defined definitions will be written</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>** into the CSD files found in the directory specified</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>** in [cs_dir].</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>**</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>** result 0 if successfull, -1 otherwise</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>**</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>** Note, that this method can only be called, if cs_Protect is >= 0. That is,</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>** the protection scheme for 'system' definitions must be somehow enabled.</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white'>**********************************************************************/</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>If you have built CS_MAP from source code, you also have the option of adding your custom definition to the coordsys.asc and category.asc files in the Dictionary folder and simply recompile the dictionaries (CS_Comp.exe or equivalent). You would then need to make sure your custom definition does not get erased by an update somewhere along the line.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Hope this helps.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Norm<o:p></o:p></span></p><div><p class=MsoNormal><span style='color:#1F497D'>--<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Norm Olsen<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>7931 S Broadway, PMB 102<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Littleton, CO 80122-2710<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>303-263-4995<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>contractor@doneDad.com<o:p></o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> MetaCRS [mailto:metacrs-bounces@lists.osgeo.org] <b>On Behalf Of </b>Clement Bouscasse<br><b>Sent:</b> Monday, March 07, 2016 3:41 AM<br><b>To:</b> metacrs@lists.osgeo.org<br><b>Subject:</b> [MetaCRS] CSMAP: Deploy custom coordinate systems to server using CS-MAP<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-GB>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>My company uses CS-Map for coordinate transformations and I need to add custom coordinate system definitions to the standard coordinate system library. I have successfully created new entries using AutoDesk Civil 3D on my machine, and have located the corresponding “Category.csd” and “Coordsys.csd” files autocad generated for me.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>I am stuck when trying to deploy these to our server running cs-map: I do not want to overwrite the existing “Category.csd” and “Coordsys.csd” files there for obvious reasons.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Looking online for information on how to achieve this, I came across this RFC:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><a href="https://trac.osgeo.org/csmap/wiki/CsMapRfc6">https://trac.osgeo.org/csmap/wiki/CsMapRfc6</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Which is quite old, and marked as “adopted” but not implemented… Is anyone able to tell me tell me how to proceed to get my server side csmap deployment to recognise my custom entries?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Thanks!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt'><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#6A737B'>Clément Bouscasse<br></span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#6A737B'>Software Developer<br>RES<br><br></span><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#F37421'>D</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#6A737B'> +44 (0)1923 299 431<br></span><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#F37421'>M</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#6A737B'> +44 (0)7881 092 496<br><a href="mailto:clement.bouscasse@res-ltd.com">clement.bouscasse@res-ltd.com</a><br><a href="http://www.res-group.com/">www.res-group.com</a><br><br><br>RES<br>Beaufort Court<br>Egg Farm Lane<br>Kings Langley<br>Hertfordshire WD4 8LR<br>United Kingdom<br><br><img border=0 width=96 height=156 id="Picture_x0020_1" src="cid:image001.gif@01D17AE8.E062FCC0"><br><br></span><span lang=EN-GB style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#6A737B'>Renewable Energy Systems Limited, registered in England and Wales with Company Number 1589961<br>Registered Office: Beaufort Court, Egg Farm Lane, Kings Langley, Hertfordshire WD4 8LR<br></span><span lang=EN-GB style='font-size:16.0pt;font-family:Webdings;color:green'>P</span><span lang=EN-GB style='font-size:8.0pt;font-family:"Arial","sans-serif";color:green'> Please consider the environment - do you really need to print this email?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>CONFIDENTIALITY NOTICE: This e-mail, including any attachments, contains information that may be confidential, and is protected by copyright. It is directed to the intended recipient(s) only. If you have received this e-mail in error please e-mail the sender by replying to this message, and then delete the e-mail. Unauthorised disclosure, publication, copying or use of this e-mail is prohibited. Any communication of a personal nature in this e-mail is not made by or on behalf of any RES group company. E-mails sent or received may be monitored to ensure compliance with the law, regulation and/or our policies.<o:p></o:p></span></p></div></body></html>