[OpenLayers-Users] Re projecting Google
Mike Adair
madair at dmsolutions.ca
Fri Jan 11 10:53:33 EST 2008
I've added a test point for EPSG:27700 to proj4js and it is accurate to
less than a mm. I was encountering a problem in that the proj4 C code
codes the datum name as 'OSGB36' whereas spatialreference.org is
returning 'OSB36', not sure why. In any case I've added an alias for
that in proj4js now.
Mike
Christopher Schmidt wrote:
> On Wed, Jan 09, 2008 at 03:27:11AM -0800, Jon Britton wrote:
>
>> Hi,
>> I've got data in EPSG:27700 (British National Grid) and want to overlay it
>> on Google data. However, I want to reproject the Google data into EPSG:27700
>> and not the other way around. Can this be done?
>>
>
> Project the google *data*? Google ain't yours, man: You can't do
> anything fun with it (and definitely not reproject it!)
>
>
>> Alternatively, can OpenLayers convert from Google coordinates to EPSG:27700
>> coordinates? All I need is to be able to get the 27700 coordinates of the
>> current view.
>>
>
> It is possible, using the trunk versio of OpenLayers, to convert from
> Google coordinates to lon/lat. It is possible, using proj4js or perhaps
> a custom transformation function, to convert from lon/lat to EPSG:27700.
> I know of at least one person who has done it -- I'll try and remember
> who and get him to post.
>
> Regards,
>
More information about the Users
mailing list