Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-27 Thread Alistair Grant
Hi Benoît, On Sat, 22 Dec 2018 at 09:02, Benoit St-Jean wrote: > > Hi Alistair! > > First off, thanks for the "thank you note" in this email & on GitHub. > > Would you be interested in working on a port of GeoSphere > (https://cran.r-project.org/web/packages/geosphere/geosphere.pdf) to > Pharo ?

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-22 Thread Benoit St-Jean via Pharo-users
--- Begin Message --- Hi Alistair! First off, thanks for the "thank you note" in this email & on GitHub. Would you be interested in working on a port of GeoSphere (https://cran.r-project.org/web/packages/geosphere/geosphere.pdf) to Pharo ?  I'll have some spare time in the next weeks so we

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-18 Thread Alistair Grant
Hi All, If anyone is interested, I've created the beginnings of a library for handling coordinates at: https://github.com/akgrant43/GeoSphere It only: - Parses string coordinates - Calculates the distance between coordinates - Opens a web browser in OpenStreetMap at the receiver's coordinates

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-06 Thread Alistair Grant
Hi Pierce, On Thu, 6 Dec 2018 at 03:38, Pierce Ng wrote: > > On Wed, Dec 05, 2018 at 07:34:35AM +, Alistair Grant wrote: > > I'm not doing any database work at the moment (storing results in STON > > files for now), but will also add the links to the class comments. > > Hi Alistair, > > I

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-06 Thread Alistair Grant
Hi Sven, On Wed, 5 Dec 2018 at 16:08, Sven Van Caekenberghe wrote: > > Alistair, > > I found this page really useful > http://www.movable-type.co.uk/scripts/latlong.html Thanks! That will definitely save me some time. And I used to own a TRS-80 clone. :-) Cheers, Alistair

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-05 Thread Pierce Ng
On Wed, Dec 05, 2018 at 07:34:35AM +, Alistair Grant wrote: > I'm not doing any database work at the moment (storing results in STON > files for now), but will also add the links to the class comments. Hi Alistair, I wasn't suggesting storing data in a database per se. I thought that,

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-05 Thread Sven Van Caekenberghe
Alistair, I found this page really useful http://www.movable-type.co.uk/scripts/latlong.html HTH, Sven > On 5 Dec 2018, at 11:48, Sven Van Caekenberghe wrote: > > > >> On 5 Dec 2018, at 08:23, Alistair Grant wrote: >> >> Hi Sven, >> >> On Tue, 4 Dec 2018 at 11:04, Sven Van Caekenberghe

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-05 Thread Sven Van Caekenberghe
> On 5 Dec 2018, at 08:23, Alistair Grant wrote: > > Hi Sven, > > On Tue, 4 Dec 2018 at 11:04, Sven Van Caekenberghe wrote: >> >> Hi Alistair, >> >>> On 4 Dec 2018, at 10:21, Alistair Grant wrote: >>> >>> Hi, >>> >>> Does anyone know of a library for processing GPS coordinates? >>>

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-04 Thread Norbert Hartl
Just for the record. I have a GeoJSON (http://geojson.org/) package at https://github.com/noha/geo-json/ This tackles geo coordinates from yet another angle: How to model a geo position as POI (point of interest) and having a common format for it. And in the meantime geo json is the storage

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-04 Thread Benoit St-Jean via Pharo-users
--- Begin Message --- Perhaps porting the R package GeoSphere to Pharo/Squeak/Smalltalk would be an option?  It's rather complete and used a lot (at least in the R community) ! https://cran.r-project.org/web/packages/geosphere/geosphere.pdf - Benoît St-Jean Yahoo! Messenger:

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-04 Thread Alistair Grant
Hi Pierce & Richard, Thanks for your replies. On Wed, Dec 05, 2018 at 10:24:18AM +0800, Pierce Ng wrote: > On Tue, Dec 04, 2018 at 10:21:20AM +0100, Alistair Grant wrote: > > Does anyone know of a library for processing GPS coordinates? > > > > What I'm looking for are things like: > > > > -

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-04 Thread Alistair Grant
Hi Sven, On Tue, 4 Dec 2018 at 11:04, Sven Van Caekenberghe wrote: > > Hi Alistair, > > > On 4 Dec 2018, at 10:21, Alistair Grant wrote: > > > > Hi, > > > > Does anyone know of a library for processing GPS coordinates? > > > > What I'm looking for are things like: > > > > - Parsing from and

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-04 Thread Richard O'Keefe
As Dershowitz and Reingold showed in their book "Calendrical Calculations", converting from UTC to several calendars needs latitude, longitude, and elevation. ISO 6709 is the relevant standard: https://en.wikipedia.org/wiki/ISO_6709 On Tue, 4 Dec 2018 at 23:35, Cédrick Béler wrote: >

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-04 Thread Pierce Ng
On Tue, Dec 04, 2018 at 10:21:20AM +0100, Alistair Grant wrote: > Does anyone know of a library for processing GPS coordinates? > > What I'm looking for are things like: > > - Parsing from and printing to various string formats (HMS, NESW, decimal) > - Distance between two points > - etc.

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-04 Thread Cédrick Béler
Interesting. I’m interested with such tools too. I ask students to do gps point collection from mobile (Cordova) and process them in pharo to detect if they enter known places. I wonder if a proper gps point class would be useful. I’d like to record also the precision. Cheers, Cedrick

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-04 Thread Todd Blanchard via Pharo-users
--- Begin Message --- I have long wanted to do a FFI interface to GDAL. I think Pharo would make a great GIS workbench. Possibly when 64bit UFFI stabilizes. > On Dec 4, 2018, at 1:21 AM, Alistair Grant wrote: > > Hi, > > Does anyone know of a library for processing GPS coordinates? > >

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-04 Thread Alistair Grant
Hi Sven, Thanks. This is just for me playing around with my photo collection, i.e. find all photos from a particular location, i.e. within a specified distance of a point. Also maybe add GPS coordinates to some photos. Thanks again, Alistair On Tue, 4 Dec 2018 at 11:04, Sven Van Caekenberghe

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-04 Thread Sven Van Caekenberghe
Hi Alistair, > On 4 Dec 2018, at 10:21, Alistair Grant wrote: > > Hi, > > Does anyone know of a library for processing GPS coordinates? > > What I'm looking for are things like: > > - Parsing from and printing to various string formats (HMS, NESW, decimal) > - Distance between two points > -

[Pharo-users] GPS / Longitude / Latitude library

2018-12-04 Thread Alistair Grant
Hi, Does anyone know of a library for processing GPS coordinates? What I'm looking for are things like: - Parsing from and printing to various string formats (HMS, NESW, decimal) - Distance between two points - etc. Thanks, Alistair