[OpenLayers-Dev] displayProjection in IE

toni hernández tonidelacalle at gmail.com
Fri Mar 20 10:31:25 EDT 2009


Hi,

it's been a while since I last wrote this but I got the last svn version and
still I can't reproject in IE.
I need to reproject to UTM so I can calculate the coordinates of one point
from another base point in one known direction to a distance. For instance:
I need to know the coordinates of a X point that is 10 metres from point A
(coordinates known) following 45 degrees north.
I know I can do that with UTM coordinates just with some basic trigonometry.
Is it possible with lat and lon coordinates?

And going back to the reprojection issue these are the include files:

    <script src="../proj4js/lib/proj4js.js"></script>
    <script src="../proj4js/lib/defs/EPSG23031.js"></script>

and this is the EPSG23031.js file
Proj4js.defs["EPSG:23031"] = "+proj=utm +zone=31 +ellps=intl +units=m
+no_defs ";

Am I still missing something.

On Tue, Mar 10, 2009 at 3:08 PM, Mike Adair <madair at dmsolutions.ca> wrote:

> There was an IE bug in Proj4js that got fixed a few weeks ago.  I would
> first suggest to make sure you are using the SVN version, (I really should
> prepare another release candidate for Proj4js).
>
> Mike
>
> toni hernández wrote:
>
>> hi,
>>
>> I need to reproject a map with proj4js from 4326 to 23030 and display the
>> mouseposition in 23030.
>> All the proj4js files with my projections are included (as I read
>> somewhere) but still IE is not reprojecting.
>> FF works great.
>> What's that I am missing?
>>
>> Cheers.
>>
>>    <script src="../proj4js/lib/proj4js.js"></script>
>>    <script src="../proj4js/lib/defs/EPSG23029.js"></script>
>>    <script src="../proj4js/lib/defs/EPSG23030.js"></script>
>>    <script src="../proj4js/lib/defs/EPSG23031.js"></script>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Dev mailing list
>> Dev at openlayers.org
>> http://openlayers.org/mailman/listinfo/dev
>>
>>
>
> --
>  Michael Adair
>  Senior Software Architect
>  DM Solutions Group Inc.
>
>  Office: (613) 565-5056 x26
>  madair at dmsolutions.ca
>  http://www.dmsolutions.ca
>  http://research.dmsolutions.ca
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20090320/97de96cf/attachment.html


More information about the Dev mailing list