Spring til login

Digitaliser.dk

Sektioner

Aktuel side

Gruppens profilbillede

VisKort

71 medlemmer | Medlemsskab via fri tilmelding (Bliv medlem - kræver login )
Profilens billede

VisKort projections

Andrei Firte - 11.04.2012

Hello community,

I have a simple practical problem, using viskort and WMS i want to add markers using google maps latlons. But WMS uses EPSG 25832 projection, while google uses another one.

How to use proj4js to convert from google maps to WMS latlons? Which projection does google use? Is is built into viskort and i'm missing it?!

Thanks so much for assistance! Andrei

Kommentarer (3)

Profilens billede 1
Niels Kjøller Hansen - 12.04.2012

Hi Andrei

As far as I could gather, Google uses Spherical Mercator, for more info check http://docs.openlayers.org/library/spherical_mercator.html

Sæt/fjern bogmærke
+1
Profilens billede 2
Morten Kristoffer Hansen - 12.04.2012

Hi Andrei

For that I think you could use Geoservicen, it has built in functionality for transforming between different projections. I don't know if you can use it on the fly or whether you need to transform your data at once.

HTH!

/m

Profilens billede 3
Andrei Firte - 12.04.2012

Hello again,

That's nice, Niels Kjøller Hansen, thanks! I never came across that document, although i investigated a bit.

It works on visKort!

Great!

Sæt/fjern bogmærke
+1

Tilføj fil(er)

En ny fil vil overskrive en eksisterende fil, hvis begge filer har samme navn og samme ekstension.

Luk

Fjern fremhævning

Digitaliseringsstyrelsen