Search This Blog

Thursday, January 22, 2009

To turn a S60 Python .py file into something installable (.SIS).. you can used Ensemble.

You need to install OpenSSL too, and put include it in your Path.

Then run ensemble and turn your .py into a .sis.
Include any permissions your SIS will need... like access to GPS and networks etc.
Then once you have a SIS file sign it using Symbian online open signing.. again with all permissions required.

Then install to phone.

NOTE... if Python is installed to C on your phone (Phone memory) then your SIS should be installed there too otherwise you may just get the appl flash up a blank white screen for a second then close again.

eg of syntax for all permissions you can get on Nokia N82 GPS camera phone.

D:\iArchive\mobiles>ensymble_python2.4-0.26.py py2sis --caps=LocalServices+Location+NetworkServices+PowerMgmt+ProtServ+R
eadUserData+SurroundingsDD+SWEvent+UserEnvironment+WriteUSerData+ReadDeviceData+TrustedUI+WriteDeviceData o:\GeogDatalog
ger.py o:\GeogDatalogger.sis


ensymble_python2.4-0.26.py: warning: no application version given, using 1.0.0
ensymble_python2.4-0.26.py: warning: no UID given, using auto-generated test UID 0xe72d1e27
ensymble_python2.4-0.26.py: warning: no certificate given, using insecure built-in one


Then sign the SIS using Symbian Open Signing online...

Wednesday, October 15, 2008

Cell Positions

http://spectrumonline.med.govt.nz/licence-search.html

Enter into LICENCE either:

telecom
vodafone

The main license types for cell phone base stations are SZ, SY, and SX (relates to transmit power, SZ is most common).

From here you can drill down to find LAT/LNG for each transmitter.

Thursday, September 18, 2008

Google Maps - Quadtree tiling system

So Google and other online mapsite using a tiling system to transfer large images.

These images are cut into smaller ones, based on a nested hierachy.... known as Quadtree. Good explaination here


Google use q,r,t,s (0-3) to denote one of 4 corners of a tile.

So to find your location run this Python code....




Run it like this:

python googletiles.py 17 -43.525 172.616

Spherical Mercator (ESPG:900913) coordinates for lat/lon:
(19215525.222771712, -5392226.689463486)
17/128383/47899 ( TileMapService: z / x / y )
Google: 128383 83172
Quadkey: 31311030123311311 ( 14851095925 )


Substitute the QUADKEY values as follows
0=q
1=r
2=t
3=s

Then type that list of letters into this page...




Here's an example for Christchurch, NZ
http://pallit.lhi.is/bigice/makeme.php?startPic=tsrsrrqsqrtssrrsrr&hTiles=14&vTiles=14


___________
Other useful info on tiling

cut your own tiles - x,y info
http://makemeamap.com/cgi-bin/mercator4.pl

view tiles on one page
http://pallit.lhi.is/bigice/bigpic.html

how it works
http://www.maptiler.org/google-maps-coordinate-system-projection-epsg-900913-3785/

overlay on web your own image and create the tiles for it
http://open.atlas.free.fr/GMapsTransparenciesImgOver.php

use python to create a local cache of WMS tiles
http://www.tilecache.org/

Wednesday, September 17, 2008

Some Mapping links - most with source code included!

Display OpenStreetMap on a DEM!

http://wiki.openstreetmap.org/index.php/Kosmos#Download


- - - -
Adding MS VE to a .NET application!

http://blogs.msdn.com/virtualearth3d/archive/2008/04/19/creating-the-most-basic-windows-form.aspx


- - - -
3D and graphics tools

http://www.grime.net/gistools/

------

http://www.alpix.com/3d/TerrainViewer/index.html

3d mini terrain viewer

- - - -
http://blogs.msdn.com/coding4fun/archive/2007/10/18/5506286.aspx

connecting Wii to MS VE

Monday, June 23, 2008

Google Map Hacking

http://econym.googlepages.com/index.htm

Great set of examples and explanations for anyone working on Google Map hacking!