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-22 22:16

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.

If server responds with 404 not found (or any other error) for non existing tiles CloudGPS handles it correctly.

But server can also serve a map filled with junk ('this tile does not exist, try zooming out') and CloudGPS will politely present it as a map to user. CloudGPS just does not care what the tile contents is as long as it is a valid image.

Well it would be quite tough to detect if an image is a valid part of one of many kind of maps available or satellite imagery or traffic or weather or whatever else. The problem is not really solvable in general case.

But for specific servers it is solvable - maybe some support for that will come in future. As a workaround for now you can try lowering maxZoom value in /opt/cloudgps/providers.ini to prevent going to some zoom level for given provider.

freebeerz 2011-06-28 01:27

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

Thanks for this great program!

I have a mapset with a lot of tiles, generated by Mobile Altas Creator. To save directory entries on the file system, these tiles are in a tar file for each level.

Can CloudGPS support tarred tiles?

Thanks

dwaradzyn 2011-06-28 07:16

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

Originally Posted by freebeerz (Post 1040434)
Hi,

Thanks for this great program!

I have a mapset with a lot of tiles, generated by Mobile Altas Creator. To save directory entries on the file system, these tiles are in a tar file for each level.

Can CloudGPS support tarred tiles?

Thanks


There is no support for tarred tiles right now.
Mobile Atlas Creator is compatible with CloudGPS if you select "OSMTracker Tile Storage" format. I plan to support sqlite tile storage in future.

vi_ 2011-06-28 12:54

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

Originally Posted by dwaradzyn (Post 1036483)
If server responds with 404 not found (or any other error) for non existing tiles CloudGPS handles it correctly.

But server can also serve a map filled with junk ('this tile does not exist, try zooming out') and CloudGPS will politely present it as a map to user. CloudGPS just does not care what the tile contents is as long as it is a valid image.

Well it would be quite tough to detect if an image is a valid part of one of many kind of maps available or satellite imagery or traffic or weather or whatever else. The problem is not really solvable in general case.

But for specific servers it is solvable - maybe some support for that will come in future. As a workaround for now you can try lowering maxZoom value in /opt/cloudgps/providers.ini to prevent going to some zoom level for given provider.

You are right, it is not reasonable to expect cloudgps to detect if a tile from the server is a 'no more zoom levels' tile.

However it is feasible to allow cloudgps to zoom +1 step more than the maximum zoom (as set in providers.ini) and to simply stretch the current tile.

This would allow us to 'zoom in' on the last tile, this would make thinks slightly easier when using maps with limited zoom features (stoppng at level 16 for example) in the car while driving.

dwaradzyn 2011-06-28 13:27

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

Originally Posted by vi_ (Post 1040764)
You are right, it is not reasonable to expect cloudgps to detect if a tile from the server is a 'no more zoom levels' tile.

However it is feasible to allow cloudgps to zoom +1 step more than the maximum zoom (as set in providers.ini) and to simply stretch the current tile.

This would allow us to 'zoom in' on the last tile, this would make thinks slightly easier when using maps with limited zoom features (stoppng at level 16 for example) in the car while driving.

Well this is exactly how it works now. When you are at max zoom you can go to zoom + 1 and CloudGPS will simply resize max zoom tiles. It is also possible to have tiles resized on other zoom levels using custom scaling. Just press shift and tap zoom out icon and you will see it.

vi_ 2011-06-28 13:32

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

In 3D mode and when rotation mode is enabled upper part of screen is used to rotate view.

Keyboard controls:
Arrows - scroll/rotate the map,
Dot - zoom out,
Enter - zoom in,
Space - toggle "follow me" mode,
Q - quit application,
B - [very experimental, new in 0.3.9] download (blocking operation) and show 3D buildings in near area, will work properly only for zoom 17 and higher,
G - [debug] toggle grid,
C - [debug] toggle current latitude and longitude and distance from current GPS position.
H - [debug] show tile arrays with states and visibility range
When Shift is pressed zooming behaviour is altered.
X - toggle accelerometer usage. Accelerometer is calibrated in the moment it is enabled.
N - switch to next tile provider. See /opt/cloudgps/providers.ini file.
Shift + N - switch previous tile provider.
S - switch to next search provider (currently CloudMade and Google addres search are supported)

Shift + tap on screen - add temporary marker where clicked (works properly only in 2D)
O - add temporary marker on screen centre.
Backspace - return to previous position after pressing "my location" button.

When search bar is active keys are used as text input. Only ASCII characters supported right now. Use Enter to search query.
Holy ****, I didn't even know that!

dwaradzyn 2011-06-29 18:51

Re: [WIP] CloudGPS 0.4.8 - smoothest maps for N900
 
Hurray! I am on the list of people accepted in N9 Devkit Community Program. That means few things:
1. I am very happy because I will be playing with N950 soon :)
2. CloudGPS will be there for N9 soon.
3. Development in upcoming months should gain in pace and making all functionalities accessible using touchscreen only has higher priority now.

kojacker 2011-06-29 19:04

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

Originally Posted by dwaradzyn (Post 1041649)
Hurray! I am on the list of people accepted in N9 Devkit Community Program. That means few things:
1. I am very happy because I will be playing with N950 soon :)
2. CloudGPS will be there for N9 soon.
3. Development in upcoming months should gain in pace and making all functionalities accessible using touchscreen only has higher priority now.

Well done, i was hoping to see your name on the list :D

epninety 2011-06-29 19:08

Re: [WIP] CloudGPS 0.4.8 - smoothest maps for N900
 
I wont be buying an N9 (I suspect) but I'm happy to see you get some small bonus for all your efforts with this amazing app :-)

vi_ 2011-06-30 13:50

Re: [WIP] CloudGPS 0.4.8 - smoothest maps for N900
 
dwaradzyn, you may wish read what this guy has to say about extracting global elevation data from online several databases to create 3d maps.

part 1
part 2
part 3

I can think of NO currently available map program open source OR commercial on a mobile device that offers this feature. Holy **** it would be a killer feature.

Just saying.


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

vBulletin® Version 3.8.8