maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [WIP] CloudGPS 0.4.8 - smoothest maps for N900 (https://talk.maemo.org/showthread.php?t=58402)

dwaradzyn 2011-06-21 17:28

Re: [WIP] CloudGPS 0.4.8 - smoothest maps for N900
 
Quote:

Originally Posted by atya (Post 1033410)
Can you make useable CloudGPS for all directions of device? /left portrait and upside down modes are missing/

That would be cool but right now I am focusing on finishing search and adding routing. Proper transition animations would require quite a work.

However I can add functionality to turn screen upside down in next release - that would be no brainer. But I still fail to see what is the use of it. Could you provide why you would like remaining directions to be usable?

mpi 2011-06-21 17:48

Re: [WIP] CloudGPS 0.4.8 - smoothest maps for N900
 
Quote:

Originally Posted by dwaradzyn (Post 1035013)
Could you try enabling verbose network output (curlVerbose=1 in /opt/cloudgps/cloudgps.ini) and then paste here the output again?

Code:

* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144850/88508.png'
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144850/88507.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
627 GL_ERROR: 500
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144850/88509.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* * couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144850/88510.png'
Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144850/88511.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144850/88512.png'
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144851/88509.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144851/88510.png'
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144851/88511.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144851/88512.png'
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144852/88509.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* * couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144852/88510.png'
Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144852/88511.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144852/88512.png'
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144853/88509.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144853/88510.png'
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144853/88511.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144853/88512.png'
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144854/88509.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144854/88510.png'
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144854/88511.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144851/88507.png'
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144854/88512.png'
* * About to connect() to tiles.ump.waw.pl port 80 (#0)
About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144851/88508.png'
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144852/88507.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144853/88507.png'
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144852/88508.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144853/88508.png'
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144854/88507.png'
* * About to connect() to tiles.ump.waw.pl port 80 (#0)
About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144855/88507.png'
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144854/88508.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144855/88509.png'
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144855/88508.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144855/88511.png'
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144855/88510.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144855/88512.png'
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* About to connect() to tiles.ump.waw.pl port 80 (#0)
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/17/72426/44255.png'
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
D/l error 7: Couldn't connect to server for URL: 'http://tiles.ump.waw.pl/ump_tiles/18/144852/88510.png'

I tried opening http://tiles.ump.waw.pl/ump_tiles/18/144850/88508.png in browser on N900 and it shows this tile without any problem.

atya 2011-06-22 11:44

Re: [WIP] CloudGPS 0.4.8 - smoothest maps for N900
 
Quote:

Originally Posted by dwaradzyn (Post 1035038)
However I can add functionality to turn screen upside down in next release - that would be no brainer. But I still fail to see what is the use of it. Could you provide why you would like remaining directions to be usable?

The charger connector is on left side (or on top in portrait mode). I have an universal car holder. When I use phone /and your app/ in car, the charger's cable is on right (or bottom in portrait mode). For me it would be better, if I could use your app with opposite screen directions.

Dude, have you ever use it in car? :P If your answer is yes, please write me, how can I use it without a cable in front of screen (or without frequently cable break) :D

dwaradzyn 2011-06-22 11:47

Re: [WIP] CloudGPS 0.4.8 - smoothest maps for N900
 
Quote:

Originally Posted by mpi (Post 1035064)
I tried opening http://tiles.ump.waw.pl/ump_tiles/18/144850/88508.png in browser on N900 and it shows this tile without any problem.

That is weird. I will try to investigate it in the evening and post back if I come up with something.

figaro 2011-06-22 12:11

Re: [WIP] CloudGPS 0.4.8 - smoothest maps for N900
 
great.. very smooth. maybe it's even the fastest map apps i've seen running on my n900
if only it supports other maps (google talk), it'd be the best
and i think you need to put more features in it (gpx track/view, etc)
but overall, it's a great job well done

vi_ 2011-06-22 12:23

Re: [WIP] CloudGPS 0.4.8 - smoothest maps for N900
 
Quote:

Originally Posted by figaro (Post 1035856)
great.. very smooth. maybe it's even the fastest map apps i've seen running on my n900
if only it supports other maps (google talk), it'd be the best
and i think you need to put more features in it (gpx track/view, etc)
but overall, it's a great job well done

Wut? It DOES support other maps...In fact it supports the MOST maps.

I have one idea. Perhaps when you zoom beyond the zoom depth of the map, instead of displaying blank tiles it should show the last tile but zoomed in. It kinda already does this for a second then the tile disappears to be replaced with the 'no tile' tile.

figaro 2011-06-22 12:31

Re: [WIP] CloudGPS 0.4.8 - smoothest maps for N900
 
Quote:

Originally Posted by vi_ (Post 1035861)
Wut? It DOES support other maps...In fact it supports the MOST maps.

I have one idea. Perhaps when you zoom beyond the zoom depth of the map, instead of displaying blank tiles it should show the last tile but zoomed in. It kinda already does this for a second then the tile disappears to be replaced with the 'no tile' tile.

it does?
well guess it's my fault then. just installed earlier today and i can't find any settings menu so i just assume it's plain map apps :p
i think i need to go back and read earlier posts in this thread then :p

dwaradzyn 2011-06-22 20:34

Re: [WIP] CloudGPS 0.4.8 - smoothest maps for N900
 
Quote:

Originally Posted by figaro (Post 1035871)
it does?
well guess it's my fault then. just installed earlier today and i can't find any settings menu so i just assume it's plain map apps :p
i think i need to go back and read earlier posts in this thread then :p

CloudGPS comes with 10 maps providers preconfigured. You can switch between them using N for next and Shift + N for previous one. I understand that this is not obvious and it should be accessible with touchscreen but that will come in following versions. Refer to first post in this thread for all keyboard shortcuts available.

dwaradzyn 2011-06-22 21:29

Re: [WIP] CloudGPS 0.4.8 - smoothest maps for N900
 
1 Attachment(s)
Quote:

Originally Posted by mpi (Post 1035064)
I tried opening http://tiles.ump.waw.pl/ump_tiles/18/144850/88508.png in browser on N900 and it shows this tile without any problem.

I think the problem here is caused by libcurl resolving tiles.ump.waw.pl to IPv6 address. It is probably caused by one of many IPv6 related bugs in libcurl. Attached binary supports an option to force IPv4 address resolution.

Just unpack the zip file and place the binary in /opt/cloudgps/ (overwriting existing one). Then add:

forceIPv4=1

to [Network] section of /opt/cloudgps/cloudgps.ini and I hope it will resolve this problem. Could you please try it and provide feedback here?

mpi 2011-06-22 21:46

Re: [WIP] CloudGPS 0.4.8 - smoothest maps for N900
 
It works great! Thank you!

Here's a little bit of the output:
Code:

forcing ipv4
forcing ipv4
* About to connect() to tiles.ump.waw.pl port 80 (#0)
*  Trying 217.153.128.150... * connected
* Connected to tiles.ump.waw.pl (217.153.128.150) port 80 (#0)
> GET /ump_tiles/0/0/0.png HTTP/1.1
User-Agent: CloudGPS for N900
Host: tiles.ump.waw.pl
Accept: */*

* About to connect() to tiles.ump.waw.pl port 80 (#0)
*  Trying 217.153.128.150... < HTTP/1.1 200 OK
< Cache-Control: public, max-age=172800
< Expires: Fri, 24 Jun 2011 21:35:15 GMT
< Last-Modified: Wed, 22 Jun 2011 02:13:46 GMT
< Content-Type: image/png
* connected
< Content-Length: 7678
* Connected to tiles.ump.waw.pl (217.153.128.150) port 80 (#0)
< Server: Jetty(6.1.14)
< Date: Wed, 22 Jun 2011 21:35:15 GMT
> GET /ump_tiles/0/0/0.png HTTP/1.1
User-Agent: CloudGPS for N900
Host: tiles.ump.waw.pl
Accept: */*

<
* Connection #0 to host tiles.ump.waw.pl left intact
* Closing connection #0
< HTTP/1.1 200 OK
< Cache-Control: public, max-age=172800
< Expires: Fri, 24 Jun 2011 21:35:15 GMT
< Last-Modified: Wed, 22 Jun 2011 02:13:46 GMT
< Content-Type: image/png
< Content-Length: 7678
< Server: Jetty(6.1.14)
< Date: Wed, 22 Jun 2011 21:35:15 GMT
<
* Connection #0 to host tiles.ump.waw.pl left intact
* Closing connection #0
forcing ipv4
forcing ipv4
* About to connect() to tiles.ump.waw.pl port 80 (#0)
*  Trying 217.153.128.150... * About to connect() to tiles.ump.waw.pl port 80 (#0)
*  Trying 217.153.128.150... 627 GL_ERROR: 500
* connected
* Connected to tiles.ump.waw.pl (217.153.128.150) port 80 (#0)
* connected
* Connected to tiles.ump.waw.pl (217.153.128.150) port 80 (#0)
> GET /ump_tiles/1/1/0.png HTTP/1.1
User-Agent: CloudGPS for N900
Host: tiles.ump.waw.pl
Accept: */*

> GET /ump_tiles/2/2/1.png HTTP/1.1
User-Agent: CloudGPS for N900
Host: tiles.ump.waw.pl
Accept: */*

< < HTTP/1.1 200 OK
< Cache-Control: public, max-age=172800
HTTP/1.1 200 OK
< < Expires: Fri, 24 Jun 2011 21:35:16 GMT
Cache-Control: public, max-age=172800
< Last-Modified: Wed, 22 Jun 2011 02:13:52 GMT
< Expires: Fri, 24 Jun 2011 21:35:16 GMT
< Content-Type: image/png
< < Last-Modified: Wed, 22 Jun 2011 02:13:58 GMT
Content-Length: 8150
< < Content-Type: image/png
Server: Jetty(6.1.14)
< Date: Wed, 22 Jun 2011 21:35:16 GMT
< Content-Length: 9905
< Server: Jetty(6.1.14)
<
< Date: Wed, 22 Jun 2011 21:35:16 GMT
<
* * Connection #0 to host tiles.ump.waw.pl left intact
* Closing connection #0
Connection #0 to host tiles.ump.waw.pl left intact
* Closing connection #0
forcing ipv4
forcing ipv4
* * About to connect() to tiles.ump.waw.pl port 80 (#0)
About to connect() to tiles.ump.waw.pl port 80 (#0)
*  Trying 217.153.128.150... *  Trying 217.153.128.150... * connected
* * Connected to tiles.ump.waw.pl (217.153.128.150) port 80 (#0)
connected
* Connected to tiles.ump.waw.pl (217.153.128.150) port 80 (#0)
> GET /ump_tiles/4/8/5.png HTTP/1.1
User-Agent: CloudGPS for N900
Host: tiles.ump.waw.pl
Accept: */*

The same binary with "forceIPv4=1" commented gives same errors as before, so it was the problem with IPv6 address resolution.
Thanks again. Great app :)


All times are GMT. The time now is 01:26.

vBulletin® Version 3.8.8