<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_ym19_1_1467020551420_3256">Hi,<br id="yui_3_16_0_ym19_1_1467020551420_3476"><br id="yui_3_16_0_ym19_1_1467020551420_3477">my names is Damian, I'm new to proj and projections topic. <br id="yui_3_16_0_ym19_1_1467020551420_3478">I need to perform transformation between two projections, and I have a problem defining projection string properly. <br id="yui_3_16_0_ym19_1_1467020551420_3479"><br id="yui_3_16_0_ym19_1_1467020551420_3480">I have coordinates in WGS84 like:<br id="yui_3_16_0_ym19_1_1467020551420_3481"><br id="yui_3_16_0_ym19_1_1467020551420_3482">2.2945 48.858222<br id="yui_3_16_0_ym19_1_1467020551420_3483"><br id="yui_3_16_0_ym19_1_1467020551420_3484">and I need to transform them to WGS84-like projection with different unit - encoded on integer. <br id="yui_3_16_0_ym19_1_1467020551420_3485">Basically what I need to do is to transform coordinates in the following way:<br id="yui_3_16_0_ym19_1_1467020551420_3486"><br id="yui_3_16_0_ym19_1_1467020551420_3487">floor(coordinate * 2^32/360)<br id="yui_3_16_0_ym19_1_1467020551420_3488">2^32/360 = 11930464,711111111111111111111111<br id="yui_3_16_0_ym19_1_1467020551420_3489"><br id="yui_3_16_0_ym19_1_1467020551420_3490"><br id="yui_3_16_0_ym19_1_1467020551420_3491">After conversion I expect to get the following coordinates:<br id="yui_3_16_0_ym19_1_1467020551420_3492"><br id="yui_3_16_0_ym19_1_1467020551420_3493">27374451 582901293<br id="yui_3_16_0_ym19_1_1467020551420_3494"><br id="yui_3_16_0_ym19_1_1467020551420_3495"><br id="yui_3_16_0_ym19_1_1467020551420_3496">I tried:<br id="yui_3_16_0_ym19_1_1467020551420_3497"><br id="yui_3_16_0_ym19_1_1467020551420_3498">cs2cs +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs +to +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs +k_0=11930464,711111111111111111111111 << EOF<br id="yui_3_16_0_ym19_1_1467020551420_3499">> 2.2945 48.858222<br id="yui_3_16_0_ym19_1_1467020551420_3500">> EOF<br id="yui_3_16_0_ym19_1_1467020551420_3501">2d17'40.2"E 48d51'29.599"N 0.000<br id="yui_3_16_0_ym19_1_1467020551420_3502"><br id="yui_3_16_0_ym19_1_1467020551420_3503"><br id="yui_3_16_0_ym19_1_1467020551420_3504">cs2cs +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs +to +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs +k=11930464,711111111111111111111111 << EOF<br id="yui_3_16_0_ym19_1_1467020551420_3505">>2.2945 48.858222<br id="yui_3_16_0_ym19_1_1467020551420_3506">>EOF<br id="yui_3_16_0_ym19_1_1467020551420_3507"><br id="yui_3_16_0_ym19_1_1467020551420_3508">2d17'40.2"E 48d51'29.599"N 0.000<br id="yui_3_16_0_ym19_1_1467020551420_3509"><br id="yui_3_16_0_ym19_1_1467020551420_3510">cs2cs +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs +to +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs +m=11930464,711111111111111111111111 << EOF<br id="yui_3_16_0_ym19_1_1467020551420_3511">2.2945 48.858222<br id="yui_3_16_0_ym19_1_1467020551420_3512">EOF<br id="yui_3_16_0_ym19_1_1467020551420_3513"><br id="yui_3_16_0_ym19_1_1467020551420_3514">The same for reverse conversion:<br id="yui_3_16_0_ym19_1_1467020551420_3515"><br id="yui_3_16_0_ym19_1_1467020551420_3516">cs2cs +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs +k_0=11930464,711111111111111111111111 +to +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs << EOF <br id="yui_3_16_0_ym19_1_1467020551420_3517">27374451 582901293<br id="yui_3_16_0_ym19_1_1467020551420_3518">EOF<br id="yui_3_16_0_ym19_1_1467020551420_3519"><br id="yui_3_16_0_ym19_1_1467020551420_3520">27374451dE 582901293dN 0.000<br id="yui_3_16_0_ym19_1_1467020551420_3521"><br id="yui_3_16_0_ym19_1_1467020551420_3522"><br id="yui_3_16_0_ym19_1_1467020551420_3523">So it seems that k, k_0, m does not bring any effect. I must not understand or missing something. Could you please help me?<br id="yui_3_16_0_ym19_1_1467020551420_3524"><br id="yui_3_16_0_ym19_1_1467020551420_3525">Best Regards,<br id="yui_3_16_0_ym19_1_1467020551420_3526"><br id="yui_3_16_0_ym19_1_1467020551420_3527">Damian <br></div></div></body></html>