[Proj] Welcome to the "Proj" mailing list

jamesmikedupont at googlemail.com jamesmikedupont at googlemail.com
Sun Jan 3 23:47:21 PST 2010


I fixed the problem :
http://www.openstreetmap.org/user/h4ck3rm1k3/diary/9117

I converted the UTM to Radians before, that was wrong. I needed to
convert from radians to degs . By debugging cs2cs in parallel, I was
able to do it.

In addition, I have started a c++ branch of proj4, and have resolved
some compile problems.
Feel free to check it out
http://github.com/h4ck3rm1k3/ProjC--/

mike

On Sun, Jan 3, 2010 at 11:41 PM, Frank Warmerdam <warmerdam at pobox.com> wrote:
> jamesmikedupont at googlemail.com wrote:
>> void convertPoint(double x, double y, double & rx, double & ry)
>>
>> {
>>
>>   projPJ pj_merc, pj_latlong;
>>
>>
>> if (!(pj_merc = pj_init_plus("+proj=utm +south +ellps=intl +zone=24K
>> +units=m")) )
>> exit(1);
>>
>>
>> if (!(pj_latlong = pj_init_plus("+proj=latlong +ellps=intl")) )
>> exit(1);
>>
>>
>> point_offset, double *x, double *y, double *z );
>> double ax[1], ay[1], az[1];
>> ax[0] = x * DEG_TO_RAD;
>> ay[0] = y * DEG_TO_RAD;
>> az[0] = 0;
>
> James,
>
> The above five lines (point_offset on) appear to be corrupted in the email.
> I followed your link and searched around a bit for MText.cpp with no luck.
> The print statement commented out does not seem to reflect the text you
> report so it is hard to know how things were being run.
>
> I would suggest you recompose your question to be easier for folks to
> address.
>
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
>
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj
>



More information about the Proj mailing list