[Loadstone] With regards to python.

kwaggapro at vodamail.co.za kwaggapro at vodamail.co.za
Tue Mar 30 11:41:21 BST 2010


Monty you are hilerious but i fully agree with you there. Python is a bugger. I even downloaded an interface for the s60 series to my phone. Lol just to find out i am screwed with regards to running the files. It runs scripts but i cant save them nore compile them. Lol. I must either be stupid or the version i got don't support it. Well i've dumped it. I'll stick to creating maps. Take care guys. Corrie.
-original message-
Subject: Loadstone Digest, Vol 45, Issue 24
From: loadstone-request at loadstone-gps.com
Date: 29/03/2010 1:06 pm

Send Loadstone mailing list submissions to
	loadstone at loadstone-gps.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://www.loadstone-gps.com/mailman/listinfo/loadstone
or, via email, send a message with subject or body 'help' to
	loadstone-request at loadstone-gps.com

You can reach the person managing the list at
	loadstone-owner at loadstone-gps.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Loadstone digest..."


Today's Topics:

   1. Re:  google transit data for Perth (monty at loadstone-gps.com)
   2. Re:  Where am I? (Vetrivel Adhimoolam)
   3. Re:  Where am I? (monty at loadstone-gps.com)
   4. Re:  Where am I? (Sean Randall)
   5. Re:  Where am I? (Sean Randall)
   6. Re:  Train stations from OpenStreetMap (Lulu-Ann)


----------------------------------------------------------------------

Message: 1
Date: Sun, 28 Mar 2010 14:53:56 +0100 (BST)
From: monty at loadstone-gps.com
To: loadstone at loadstone-gps.com
Subject: Re: [Loadstone] google transit data for Perth
Message-ID: <alpine.DEB.2.00.1003281453110.6401 at zvyyraavhz.op.pk>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Sean,

You're not missing something - splitting databases up into categories is 
how most people 
roll!

Monty


On Sun, 28 Mar 2010, Sean Randall wrote:

> Kerry,
>
> I have only used Loadstone for the train journeys, not for walking anywhere
> else, so haven't worked out methods for dealing with both.
>
> However, even with over 2000 stations in my database, I was quickly able to
> checkpoint the ones along my route and have only those in my view, as it
> were.
>
> I was wondering, if I also began using Loadstone for local walking routes,
> if it mightn't be better to have the railway info in a separate  database I
> could import as and when I needed it. This may mean that at the start of a
> day's travel I have to import that data, but it would also mean I didn't
> have to go checkpointing local landmarks whenever I was out for a hike.
>
> This sort of modular approach would work quite well for me, I think.  I
> could happily keep a variety of databases on my card.  If I didn't, I'd soon
> have stations, bus stops, big trees, hard-to-recognise road turnings and all
> sorts of random junk scattered throughout my database, wouldn't I?  Or am I
> missing something?
>
> Sean.
>
> -----Original Message-----
> From: loadstone-bounces at loadstone-gps.com
> [mailto:loadstone-bounces at loadstone-gps.com] On Behalf Of Kerry Hoath
> Sent: Sunday, March 28, 2010. 01:27 PM
> To: General discussion pertaining to the Loadstone GPS program
> Subject: [Loadstone] google transit data for Perth
>
> I provide the following in the hopes that potentially some of this data
> might make it into pointshare.
> I'm no programmer however the .csv looks usable for something.
> I'm dreaming about something that could give me checkpoints along a bus
> route but even a pile of bus stops would be nice.
> A pipe dream perhaps however this data is maintained by transperth and
> should be accurate. I can certainly test some of it if required around bus
> stop 15781
> ----- the below cut from another message
>
> Linda reminded me to mention the Transperth data feed that makes Google
> Transit work. The page you want is:
>
>
> http://www.transperth.wa.gov.au/TimetablesMaps/SpatialDataAccess/tabid/254/D
> efault.aspx
>
> Which as well as linking to Google's page containing the Transit Feed
> Specification (which may give your screen reader a bit of a workout), it
> links to the data file itself:
>
>
> http://www.transperth.wa.gov.au/TimetablePDFs/GoogleTransit/google_transit.z
> ip
>
> This zip file contains text files which upon closer examination are actually
> emminently parsable CSV. I expect stops.txt will be most useful to you. For
> example it can tell you that stop 15682 is called "Lord Street After Harper
> Street", and is located at -31.883,115.956 (albeit with another ten digits
> of precision).
>
> Hope This helps!
> ----- end snip
>
> Regards, Kerry.
>
>
> _______________________________________________
> Loadstone mailing list
> Loadstone at loadstone-gps.com
> http://www.loadstone-gps.com/mailman/listinfo/loadstone
>
> _______________________________________________
> Loadstone mailing list
> Loadstone at loadstone-gps.com
> http://www.loadstone-gps.com/mailman/listinfo/loadstone
>


------------------------------

Message: 2
Date: Sun, 28 Mar 2010 10:00:29 -0400
From: "Vetrivel Adhimoolam" <vadhimoolam at gmail.com>
To: loadstone at loadstone-gps.com
Subject: Re: [Loadstone] Where am I?
Message-ID: <mYXFNqSxqYjC.kHRbymDD at smtp.gmail.com>
Content-Type: text/plain; charset=UTF-8

Actually loadstone gives you better info than way finder. Press the 0 key on the main screen and it will tell you the nearest point stored in your databases. You can use numbers to explore other nearest points in different directions. For example, way finder only tells me george washington bridge as my location under where an I, but loadstone under exploration mode lists my apartment as the nearest point.

Regards,

Vetri.

--------
Produced in my Nokia N82 via T-mobile internet using "Talks", a screen reader for S60 phones.

-original message-
Subject: [Loadstone] Where am I?
From: "Sean Randall" <seanr at randylaptop.com>
Date: 03/28/2010 9:33 AM

Hi all,

A question for the loadstone developers, mainly, or anyone else who has
input of course.

The one feature I found very useful whilst travelling with Wayfinder was the
Where Am I? it was supposed to give you a road.  Often I found it would only
give me a city or region, and if I didn't have a fix, of course I'd get
nothing.

The Google maps API provides a  way for coordinates to be turned into a
textual location.  For instance yesterday when I got off the train my
coordinates were 52.7117,-2.75. I could get these easily enough with shift 5
and 6.

When I put these into Qwitter (a pc-based twitter client which uses the maps
API for geo-location of people's tweets), I ended up with Shrewsbury,
Railway Station (adj), Shrewsbury, Shropshire SY1 2, UK.
That's much more than I'd have gotten with wayfinder, I suspect it would
just have said "Shrewsbury".

Obviously this is a very useful function generally, but that increases a
hundredfold when you're on the move. It's not perfect, The Lord Street stop
of Kerry's Transperth feed comes up as 16 Rudge Pl, Lockridge WA 6054,
Australia, for instance.  But any port in a storm.

Obviously people have managed without the function in loadstone, and it
would involve making Loadstone use a data connection.  I'm almost tempted to
try and hack something up in Python for s60, but I don't know if you can get
at the Internal GPS functions of a phone via that route.  If there's a way
this could be added, though, it would certainly increase my productivity out
and about.

I'm sorry if it's been requested before, I really should have looked at the
list archives.  I just saw how quick it was to use on the PC (enter
coordinates, get a placename).  Loadstone can already do the first half of
that!

Sean.

_______________________________________________
Loadstone mailing list
Loadstone at loadstone-gps.com
http://www.loadstone-gps.com/mailman/listinfo/loadstone



------------------------------

Message: 3
Date: Sun, 28 Mar 2010 15:02:52 +0100 (BST)
From: monty at loadstone-gps.com
To: loadstone at loadstone-gps.com
Subject: Re: [Loadstone] Where am I?
Message-ID: <alpine.DEB.2.00.1003281455250.6401 at zvyyraavhz.op.pk>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Sun, 28 Mar 2010, Sean Randall wrote:

> would involve making Loadstone use a data connection.  I'm almost tempted to
> try and hack something up in Python for s60, but I don't know if you can get
> at the Internal GPS functions of a phone via that route.

We always welcome people working on Loadstone code and contributing 
patches though this has rarely happened.  If you do plan on hacking some 
code, it's coded in C++ (using the Symbian Series60 dev libs and API). 
It's not a pleasant coding experience but it beats Python into the ground. 
Whoever got people interested in coding in Python should really be shot or 
at the very least given a stern talking too!  It's unbelievably 
inefficient.  OK, that's a rant for a different list on a different day! 
:)

> I'm sorry if it's been requested before, I really should have looked at the
> list archives.  I just saw how quick it was to use on the PC (enter
> coordinates, get a placename).  Loadstone can already do the first half of
> that!

The archives would have indeed given you an answer to your question. 
Stay-tuned for the next release!

Monty


------------------------------

Message: 4
Date: Sun, 28 Mar 2010 15:09:18 +0100
From: "Sean Randall" <seanr at randylaptop.com>
To: <loadstone at loadstone-gps.com>
Subject: Re: [Loadstone] Where am I?
Message-ID: <90E87E6AD61D44168ABB1BB51C9942F0 at srasus>
Content-Type: text/plain;	charset="us-ascii"

Vetri,

I agree with what you say.  The power of an API like this is that it doesn't
have to work on points already in your database, though.

Sean.

-----Original Message-----
From: loadstone-bounces at loadstone-gps.com
[mailto:loadstone-bounces at loadstone-gps.com] On Behalf Of Vetrivel
Adhimoolam
Sent: Sunday, March 28, 2010. 03:00 PM
To: loadstone at loadstone-gps.com
Subject: Re: [Loadstone] Where am I?

Actually loadstone gives you better info than way finder. Press the 0 key on
the main screen and it will tell you the nearest point stored in your
databases. You can use numbers to explore other nearest points in different
directions. For example, way finder only tells me george washington bridge
as my location under where an I, but loadstone under exploration mode lists
my apartment as the nearest point.

Regards,

Vetri.

--------
Produced in my Nokia N82 via T-mobile internet using "Talks", a screen
reader for S60 phones.

-original message-
Subject: [Loadstone] Where am I?
From: "Sean Randall" <seanr at randylaptop.com>
Date: 03/28/2010 9:33 AM

Hi all,

A question for the loadstone developers, mainly, or anyone else who has
input of course.

The one feature I found very useful whilst travelling with Wayfinder was the
Where Am I? it was supposed to give you a road.  Often I found it would only
give me a city or region, and if I didn't have a fix, of course I'd get
nothing.

The Google maps API provides a  way for coordinates to be turned into a
textual location.  For instance yesterday when I got off the train my
coordinates were 52.7117,-2.75. I could get these easily enough with shift 5
and 6.

When I put these into Qwitter (a pc-based twitter client which uses the maps
API for geo-location of people's tweets), I ended up with Shrewsbury,
Railway Station (adj), Shrewsbury, Shropshire SY1 2, UK.
That's much more than I'd have gotten with wayfinder, I suspect it would
just have said "Shrewsbury".

Obviously this is a very useful function generally, but that increases a
hundredfold when you're on the move. It's not perfect, The Lord Street stop
of Kerry's Transperth feed comes up as 16 Rudge Pl, Lockridge WA 6054,
Australia, for instance.  But any port in a storm.

Obviously people have managed without the function in loadstone, and it
would involve making Loadstone use a data connection.  I'm almost tempted to
try and hack something up in Python for s60, but I don't know if you can get
at the Internal GPS functions of a phone via that route.  If there's a way
this could be added, though, it would certainly increase my productivity out
and about.

I'm sorry if it's been requested before, I really should have looked at the
list archives.  I just saw how quick it was to use on the PC (enter
coordinates, get a placename).  Loadstone can already do the first half of
that!

Sean.

_______________________________________________
Loadstone mailing list
Loadstone at loadstone-gps.com
http://www.loadstone-gps.com/mailman/listinfo/loadstone

_______________________________________________
Loadstone mailing list
Loadstone at loadstone-gps.com
http://www.loadstone-gps.com/mailman/listinfo/loadstone



------------------------------

Message: 5
Date: Sun, 28 Mar 2010 15:14:19 +0100
From: "Sean Randall" <seanr at randylaptop.com>
To: <loadstone at loadstone-gps.com>
Subject: Re: [Loadstone] Where am I?
Message-ID: <D023922D78984980AF358518E257652F at srasus>
Content-Type: text/plain;	charset="us-ascii"

Lol  Thanks for being so good about the repeated request, then .

I'm waiting! Eagerly! :D

Sean.

-----Original Message-----
From: loadstone-bounces at loadstone-gps.com
[mailto:loadstone-bounces at loadstone-gps.com] On Behalf Of
monty at loadstone-gps.com
Sent: Sunday, March 28, 2010. 03:03 PM
To: loadstone at loadstone-gps.com
Subject: Re: [Loadstone] Where am I?

On Sun, 28 Mar 2010, Sean Randall wrote:

> would involve making Loadstone use a data connection.  I'm almost 
> tempted to try and hack something up in Python for s60, but I don't 
> know if you can get at the Internal GPS functions of a phone via that
route.

We always welcome people working on Loadstone code and contributing patches
though this has rarely happened.  If you do plan on hacking some code, it's
coded in C++ (using the Symbian Series60 dev libs and API). 
It's not a pleasant coding experience but it beats Python into the ground. 
Whoever got people interested in coding in Python should really be shot or
at the very least given a stern talking too!  It's unbelievably inefficient.
OK, that's a rant for a different list on a different day! 
:)

> I'm sorry if it's been requested before, I really should have looked 
> at the list archives.  I just saw how quick it was to use on the PC 
> (enter coordinates, get a placename).  Loadstone can already do the 
> first half of that!

The archives would have indeed given you an answer to your question. 
Stay-tuned for the next release!

Monty
_______________________________________________
Loadstone mailing list
Loadstone at loadstone-gps.com
http://www.loadstone-gps.com/mailman/listinfo/loadstone



------------------------------

Message: 6
Date: Sun, 28 Mar 2010 16:41:29 +0200
From: Lulu-Ann <Lulu-Ann at gmx.de>
To: loadstone at loadstone-gps.com
Subject: Re: [Loadstone] Train stations from OpenStreetMap
Message-ID: <1269787289.2526.26.camel at annette-ubuntu>
Content-Type: text/plain; charset="UTF-8"

Sean Randall <seanr at randylaptop.com> wrote:
> Subject: [Loadstone] Greetings and train stations

> I'm sure you all know of wayfinder's eventual demise by now, I must remember
> that I'm a newcomer here after all.  My question to myself, really, was how
> to replicate this station thing with Loadstone, before my next trip (which
> is on Saturday).
[..]
> I had a brief look at Open Street map, but without spending more time, I
> couldn't figure a way to find and add more than one station at once.  They
> aren't like bus stops, where you can work on a local radius, because the
> whole idea is you're going from one place to another, those 2 being
> potentially quite a distance apart.

Hi there,

there is an quite easy way to query objects of a certain type from
OpenStreetMap.

The complete description can be found on 

http://wiki.openstreetmap.org/wiki/XAPI

You query the OSM API for train stations using:

http://www.informationfreeway.org/api/0.6/*[railway=station]

and for smaller stations with

http://www.informationfreeway.org/api/0.6/*[railway=halt]

You can limit the output to an area using a bounding box, that means
limiting coordinats:

http://www.informationfreeway.org/api/0.6/*[railway=station]?bbox=11.111,48.000,12.222,48.444

where 11.111 is the limit to the west,
48.000 is the limit to the south
12.222 is the limit to the east,
and 48.444 is the limit to the north.

Then you get an .osm file with the stations with needs to go through a
converter (Does the converter only accept crossings and amenity POIs?).

The converter needs to add the railway to a loadstone database file.

Does it work already this way?

Regards
Lulu-Ann



------------------------------

_______________________________________________
Loadstone mailing list
Loadstone at loadstone-gps.com
http://www.loadstone-gps.com/mailman/listinfo/loadstone


End of Loadstone Digest, Vol 45, Issue 24
*****************************************



More information about the Loadstone mailing list