[jdev] Jabber: serverside routing&geolocation

Stephen Pendleton spendleton at movsoftware.com
Sat Apr 24 15:49:12 CDT 2004


The JEP has been implemented on the server side at the JID
lbs at movsoftware.com, however the service is currently down while Microsoft
reactivates our MapPoint account (our service uses the Mappoint web service
to provide routing and geolocation information). It has also been
implemented on the client side in a imov Messenger beta for PocketPC,
HandheldPC's and Microsoft Smartphones.

I think if you wanted to implement a redirection you could either make a
XMPP client process that handles requests and talks to our service via the
lbs at movsoftware.com, or develop a component to do the same. Components are
ideal for location based services, but XMPP client processes are probably
easier to develop. The reason I went with a XMPP client process instead of a
component is because I wanted the location based services to work with any
XMPP server. I am not sure if a component written for the jabberd server
will work with Jabber Inc's server for instance.

Also, please note in order to use the routing service you will need to sign
up for an account on our Locator service at
http://www.movsoftware.com/locator. This is due to the fact that it uses
Microsoft's MapPoint service in the backend (which isn't free), so we like
to keep a handle on the use of the service.

Thanks,
Stephen Pendleton
mov Software
http://www.movsoftware.com



-----Original Message-----
From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] On Behalf Of
gregoire athanase
Sent: Friday, April 23, 2004 9:23 PM
To: Jabber software development list
Subject: [jdev] Jabber: serverside routing&geolocation


hello,
i'm really interested in routing & location
information for my jabber client, do you have any idea
about when will these (experimental?) jeps be
implemented in jabber servers? in weeks?

how easy is it to implement a stanza "redirection" in
jabberd, to send the routing&location related stanzas
to another server? (i want my jabber server to filter
these stanzas, and send it to my location server; and
to get answer stanzas from this location server too).
or is it better to use a component? (i'm server side
newbie, sorry :)

--- Stephen Pendleton <spendleton at movsoftware.com>
wrote:
> Yes, UTM would be good to have. I don't know about
> the nacgeo, it looks a
> bit too proprietary a scheme. Plus a GPS/location
> device doesn't have
> support for that system, so a translation table or
> formula would be needed.
> 
> However, everything can be easily converted to
> decimal lat/long, so for
> simplicity I would leave it at that for the first
> iteration.
> 
> -----Original Message-----
> From: gregoire athanase
> [mailto:gregoireathanase at yahoo.fr]
> Sent: Monday, April 12, 2004 6:15 PM
> To: pendleto at movsoftware.com; Jabber software
> development list
> Subject: Re: [jdev] Jabber and Routing Information
> 
> 
> hallo,
> 
> why don't you consider the use of UTM? and of "the
> universal address system" http://www.nacgeo.com/
> 
> and imo the user should be able to indicate source
> and destinations in
> different location systems.
> 
> 
> --- Stephen Pendleton <spendleton at movsoftware.com>
> wrote:
> > Hello,
> > 
> >     I am introducing a new service that client
> > developers may be interested
> > in. This service will deliver turn-by-turn routing
> information
> > (similar to
> > MapQuest) between pairs of JID's (that have
> location information
> > associated with them by implementation of the
> GEOLOC JEP), or
> > pairs of postal addresses
> > or latitude/longitude pairs.
> > 
> > Currently the system can return lists of text
> > strings that describe each
> > segment of the route (e.g. "Turn left at Main
> > Street") and a URL to an
> > associated gif graphic that displays the segment.
> > 
> > The proposed protocol is listed below, but I would
> > like feedback on the
> > protocol before drafting a JEP. If you have any
> > comments please let me know,
> > either by replying to the post - or sending me
> email directly.
> > --------------------
> > Requesting and Returning Routing Information with
> > XMPP
> > 
> > 
> > Entities can request routing information between
> two
> > jids or two locations
> > specified by either latitude/longitude pairs or
> the
> > postal address of the
> > endpoints.
> > 
> > 
> > Entity requests routing information between jids
> foo at jabber.org and
> > bar at jabber.org:
> > 
> > 
> > 
> > <iq
> >     to='lbs at movsoftware.com'
> >     from=' juliet at capulet.com/balcony'
> >     type='get'
> >     id='route1'>
> >   <query
> >
> xmlns='http://www.movsoftware.com/protocol/routing'>
> >     <src jid='foo at jabber.org'/ >
> >     <dst jid = 'bar at jabber.org'/>
> >   </query>
> > 
> > </iq>
> > 
> > 
> > 
> > Entity requests routing information between
> latitude/longitude pairs
> > -37.34,-33.33 and -40.433, -20.222:
> > 
> > 
> > 
> > <iq
> >     to='lbs at movsoftware.com'
> >     from=' juliet at capulet.com/balcony'
> >     type='get'
> >     id='route1'>
> >   <query
> >
> xmlns='http://www.movsoftware.com/protocol/routing'>
> >     <src lat='-37.24' lon='-33.33'/ >
> >     <dst lat = '-40.422' lon='-20.222'/>
> >   </query>
> > 
> > </iq>
> > 
> > 
> > 
> > Entity requests routing information between postal
> > address pairs 4555 Main
> > Street,Philadelphia PA,USA,19117 and 9000 West Elm
> Street,Philadelphia
> > PA,USA,19117 :
> > 
> > 
> > 
> > <iq
> >     to='lbs at movsoftware.com'
> >     from=' juliet at capulet.com/balcony'
> >     type='get'
> >     id='route1'>
> >   <query
> >
> xmlns='http://www.movsoftware.com/protocol/routing'>
> >     <src street= '4555 Main Street '
> > city='Philadelphia' state = 'PA'
> > country='USA' code='19117'/ >
> >     <dst street= '9000 West Elm Street ' city='Philadelphia' state = 
> > 'PA' country='USA' code='19117'/ >
> >   </query>
> > </iq>
> > 
> > 
> > 
> > 
> > 
> > Routing information is returned as a series of
> > segments:
> > 
> > <iq type='result'
> >     id='route1'
> >     to='juliet at capulet.com/balcony'
> >     from='lbs at movsoftware.com'>
> >   <query
> >
> xmlns='http://www.movsoftware.com/protocol/routing'>
> >     <src jid='foo at jabber.org'/ >
> >     <dst jid = 'bar at jabber.org'/>
> >     <segment id = '1'>Depart Start on Chevy Chase
> > Lake Dr (West)</segment>
> >     <segment id = '2'>Turn RIGHT (North) onto
> SR-185 [Connecticut
> > Ave]</segment>
> >     <segment id = '3'>Take Ramp (RIGHT) onto I-495
> > [I-495
> > Outerloop]</segment>
> >     <segment id = '4'>Turn RIGHT (South) onto S
> > Sherwood Rd [Sherwood Rd]
> > </segment>
> >   </query>
> > </iq>
> > 
> > 
> > 
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> https://jabberstudio.org/mailman/listinfo/jdev
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online by April 15th 
> http://taxes.yahoo.com/filing.html
> 
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org https://jabberstudio.org/mailman/listinfo/jdev



	
		
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
_______________________________________________
jdev mailing list
jdev at jabber.org
https://jabberstudio.org/mailman/listinfo/jdev






More information about the JDev mailing list