[OpenLayers-Users] Reprojecting GML?

Richard Greenwood richard.greenwood at gmail.com
Thu Jun 14 18:53:43 EDT 2007


On 6/14/07, Jeff Dege <jdege at korterra.com> wrote:
> I'm displaying an Openlayers map with one layer being a GML file that
> I'm building from a number of sources.  This GML layer displays points
> that I'm given as Lat/Long values.
>
> I'd like my map to be displayed in a projection other than Lat/Long -
> maybe epsg:2163, instead of the epsg:4267 my source data is in.
>
> Problem is that the points I'm getting are still going to be in NAD27
> lat/long.
>
> How does OpenLayers handle on-the-fly reprojections?  Can I have a map
> in one projection, with its baselayer in that projection, and have
> another layer in another projection?

I think I am correct in saying that OpenLayers does no re-projection.
It requests data in the projection that you have specified for your
map. So each of the servers that OL is requesting data from must be
able to provided it in your desired projection.

-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com



More information about the Users mailing list