[Cartoweb-users] a couple of questions

Pierre GIRAUD pierre.giraud at camptocamp.com
Mon Apr 24 04:13:53 EDT 2006

Kenton Williams wrote:

>I have finally gotten my Cartoweb project rendering, and now the customizing needs to be done.  I have a couple of questions:
>I am using Decimal Degrees for my units, and the demoCW3 project that I modified to make my project has coordinates displayed as integers.  I assume that this is because the original demoCW3 project is in meters.  Also, the coordinate indication
>text has the word coordinates in french.  How do I change these?
Our bad. Most of the projects we worked on indeed use coordinates in 
meters. Anyway, I think this would not be hard work to implement a way 
to manage Decimal Degree units.

French translation ? You're right ! We didn't see that, we'll correct it 
for the next version of the demo.
If you want to fix it you have to apply the attached patch.


-------------- next part --------------
Index: cartoclient.tpl
RCS file: /var/lib/cvs/projects/cw3/cartoweb3/projects/demoCW3/templates/cartoclient.tpl,v
retrieving revision 1.33
diff -u -r1.33 cartoclient.tpl
--- cartoclient.tpl	10 Feb 2006 14:35:38 -0000	1.33
+++ cartoclient.tpl	24 Apr 2006 07:52:13 -0000
@@ -118,9 +118,10 @@
           <table width="100%"><tr>
-            <td width="50%"><div id="floatGeo" class="locationInfo">{t}Coordonnees (m):{/t} %s / %s</div></td>
-            <td width="50%" align="right"><div id="floatDistance" class="locationInfo">{t}Distance approx.: {/t}%s{if $factor == 1000} km{else} m{/if}</div>
-              <div id="floatSurface" class="locationInfo">{t}Surface approx. : {/t} %s{if $factor == 1000} km&sup2;{else} m&sup2;{/if}</div></td>
+            <td width="50%"><div id="floatGeo" class="locationInfo">{t}Coords (m):{/t} %s / %s</div></td>
+            <td width="50%" align="right">
+              <div id="floatDistance" class="locationInfo">{t}Dist approx.:{/t} %s{if $factor == 1000} km{else} m{/if}</div>
+              <div id="floatSurface" class="locationInfo">{t}Approx. surface :{/t} %s{if $factor == 1000} km&sup2;{else} m&sup2;{/if}</div></td>

More information about the Cartoweb-users mailing list