View Single Post
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#223
Originally Posted by jaska k View Post
Is it just me who is trying to use WMS (OGC-specification) with Maemo-Mapper? Or is it just my device that has unexpected behaviours with OS2008?

On my N800 device MM crashes allways, if I do not escape special characters (?&=) when configuring WMS repository. Now - when using escaped characters on MM's repostiory url - on server side I get request from MM which does not look like it should be. Query has lot of carbage that does not belong to configured query.

Log on server side (Apache), 10.0.0.64 is the MM client:

10.0.0.64 - - [24/Jan/2008:13:23:59 +0200] "GET /cgi-bin/orto_3067_wms0,000000service%3Dwms%26version%3D1.1 .1%26request%3Dgetmap 0x0,00001000008d2p-1022yers%3Dorto_kkj_mv (null)rs%3D900913%26bbox%3D0,000000,0,000000,0,000 000,0,000000%26width%3D256 0,000000e+00ight%3D256 HTTP/1.1" 404 336

For example, values/parameters 0,000000 and 0x0,00001000008d2p-1022yers are something unexpected.

Is this problem of Maemo-Mapper or could this be some OS2008 library issue?

I'm using proj library, and it is able to do necessary transformations when using command line tool (cs2cs).

And SRS=900913 (or 600613 ) , see http://crschmidt.net/blog/archives/2...ection-900913/
Sorry it took so long, but I finally looked into this. Unfortunately (or fortunately?), I didn't see anything wrong with the code, and I was able to use the two WMS URL Formats in the Maemo Mapper Repositories thread without any problems.

Are you sure you're setting up your repository's "URL Format" correctly? For a WMS-based URL Format to work, it must contain the "SERVICE=WMS" GET parameter somewhere in the URL Format, and it needs the following GET parameter to allow Maemo Mapper to "fill in" the appropriate coordinates: "BBOX=%.6f,%.6f,%.6f,%.6f". Look at the examples in the aforementioned Maemo Mapper Repositories thread for complete examples. (Note that you must copy/paste the linked URLs, since these forums abbreviate the links in the text themselves.)
 

The Following User Says Thank You to gnuite For This Useful Post: