Do you mean that you were not abloe reproject geometries other than bounds or point? Actually, you can already use "transform" on any kind of geometry.
var format = new OpenLayers.Format.WKT(); var feature = format.read("POLYGON((-9.1054692864418 -4.2949220538139,-13.500000536442 0.97851544618607,-2.9531255364418 6.2519529461861,1.0898432135582 2.5605466961861,1.9687494635582 -3.7675783038139,-3.1289067864418 -0.77929705381393,-9.1054692864418 -4.2949220538139))"); feature.geometry.transform(new OpenLayers.Projection("EPSG:4326"), new OpenLayers.Projection("EPSG:900913")); Pierre On Tue, Jun 7, 2011 at 1:29 AM, Phil Scadden <p.scad...@gns.cri.nz> wrote: > It fairly inconvenient to project a geometry other than bounds or point. > It looks to me like this would be good addition to the geometry class. > -- > Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, > Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232 > > > Notice: This email and any attachments are confidential. If received in error > please destroy and immediately notify us. Do not copy or disclose the > contents. > > _______________________________________________ > Dev mailing list > d...@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/openlayers-dev > -- Pierre GIRAUD Géomaticien, Analyste Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 93 Mail : pierre.gir...@camptocamp.com http://www.camptocamp.com _______________________________________________ Dev mailing list d...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-dev