Tag Info

New answers tagged

1

OpenLayers can reproject entire layer, but only at load time (from file or a server). Features added manually (using the addFeatures method) must have their geometries reprojected before adding to a layer.


0

It's not clear from your question whether you know the proj4 string for the projection you want to convert into. DotSpatial has some built-in projections under DotSpatial.Projections.KnownCoordinateSystems, but I can't locate Lambert. If you just want to know how to use DotSpatial, you can use code like this, passing in the proj4 strings (sorry it's in C#, ...


1

I think you may be confusing Mercator XY with the image pixel XY. The Mercator XYs you are seeing in proj4 are derived from the Mercator formula where the intersection of the Equator and Prime Meridian is 0,0. Those Mercator XYs have nothing to do with the scale of your map. If you're looking to convert lat/longs to the XY pixel location of an image, see ...



Top 50 recent answers are included