[OpenLayers-Dev] projection through urn syntax

bartvde at osgis.nl bartvde at osgis.nl
Mon May 4 08:02:34 EDT 2009


The only question left is do we want to depend on proj4js for this?

Reading urn type projections will require proj4js, is that an acceptable
dependency for OpenLayers?

Best regards,
Bart

> Hi Didier,
>
> great! I had not seen that.
>
> So I can just pass a urn string to the OpenLayers.Projection object
> constructor.
>
> Best regards,
> Bart
>
>> Le Lundi 4 Mai 2009 13:25, bartvde at osgis.nl a écrit :
>>> Hi list,
>>>
>>> Currently Proj4js and OpenLayers use EPSG:XXXX as the syntax for
>>> projections, whereas OWSContext uses the urn syntax, for example:
>>>
>>> urn:ogc:def:crs:EPSG:6.6:4326
>>>
>>> So in my OWSContext Format I use a small utility function which
>>> transforms
>>> this into EPSG:4326.
>>>
>>> The urn syntax can also be present in GML3 files.
>>>
>>> Question:
>>> -would this belong in OpenLayers' Projection.js or in Proj4js?
>>
>> I have added URN in Proj4js. At least, it is in the trunk (See
>> http://trac.osgeo.org/proj4js/ticket/17)
>>
>> didier
>>
>>>
>>> Best regards,
>>> Bart
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev at openlayers.org
>>> http://openlayers.org/mailman/listinfo/dev
>>
>> --
>> Didier RICHARD, chef du pôle technique Géoportail pour l'IGN
>> Institut Geographique National           tel: +33/0 1.43.98.83.23
>> 2/4 Avenue Pasteur                       fax: +33/0 1.43.98.80.88
>> F-94165 St-Mande Cedex                e-mail: Didier.Richard at ign.fr
>>
>>
>
>
>





More information about the Dev mailing list