Thanks Chris, Glad to know that i'm on the right route. I'm busy knocking up a bit of java that'll read in the kml and send it to proj4 for conversion.
Christopher Schmidt-4 wrote: > > On Tue, Nov 25, 2008 at 02:01:32AM -0800, coastalrocket wrote: >> >> Am i right in thinking that openlayers won't do reprojections on the fly? >> >> I have an image of Antarctica in the Universal Polar Steregraphic >> projection >> loaded into geoserver as a WMS. I can create an openlayers client and >> receive the image. I also need to display a KML file on top. Now because >> the >> KML data is lat/long it's not going to set happy on the map unless >> openlayers reprojects it on the fly. From viewing threads on this mailing >> list i'm still not sure whether this is possible. > > Yes. > > http://docs.openlayers.org/spherical_mercator/#reprojecting-vector-data > > You'll need to use proj4js to support your projection; > http://trac.osgeo.org/proj4js/ > > Regards, > -- > Christopher Schmidt > MetaCarta > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > -- View this message in context: http://www.nabble.com/Seeking-advice-over-multiple-projections-%28inc.-polar%29-tp20678164p20685268.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
