View Single Post
Posts: 18 | Thanked: 0 times | Joined on May 2006
#207
Originally Posted by gnuite View Post
If you're familiar with C and/or printf, you'd understand the differences between the two. Both should work, but %.2f will be less accurate, so I'd use %.6f.
Ok, thanks for clarifying this.

WMS-connetion is now working, but results are...hm...something I did not expect.

This is an example map I get when using OpenLayers client on PC, the figure of Finland when using epsg:3067:
http://www.kolumbus.fi/evis/mm/finland_3067_ok.png

And this is what I get with MaemoMapper:
http://www.kolumbus.fi/evis/mm/finla...067_NOT_OK.png

Could this be a problem between MaemoMapper and Proj? Or should I just change some parameters somewhere?

Oh, I just found this from http://hoohol.ath.cx/public/index.ph...eMM-Extensions

"Tiles don't seem to fit exactly, what can I do?

Not much, sorry. In this case the projection is sufficiently different from the mercator projection and one would need real warping for a fix. Lower zoom levels usually decrease the errors. (For warping look at gdal)"

If this is true, which epsg code correspods mercator projection that Maemo Mapper uses? I can use gdal and proj on server side and hopefully create MM compatible WMS-service.

Last edited by jaska k; 2007-04-02 at 18:53.