Microsoft Location Server Integration: The Good, the Bad, and the Ugly

Microsoft Location Server Integration: The Good, the Bad, and the Ugly

s developers, we often want to jump right in and start coding; it is our passion, and often our most comfortable way of looking at the projects we deal with. As a project manager, though, I cringe when I see developers on my team start with this code-centric approach to projects (although, in all honesty, I have been guilty of it myself). With certain technologies, however, there are concerns that must be addressed well in advance of implementation, or you run the risk of having issues take over that are outside of our sphere of control.

I noticed this when my company, Cubistix, began working on a project using Microsoft MapPoint Location Server (MLS).

First, let me begin by saying that the code necessary to location-enable your apps with MLS is relatively small. As a service, it is a big black box into which you pass authentication information and parameters, such as a mobile phone number, and it spits back latitude and longitude. The majority of the transaction is hidden from us?a couple of SOAP calls that are generated behind the scenes.

So what are these other issues that we encountered on our way to implementing this new technology from Microsoft? And, of greater importance, what advice can I give to a project manager involved in developing a project with MLS?

Concerns About Supporting Technology
First, aside from the obligatory Internet protocols and cell-phone service, MLS relies on three main technologies in order to run in an optimal fashion: Microsoft Location Server, MapPoint Web Service, and SSL secure connection. Of the three, SSL is probably the most important piece of the puzzle, as MLS will only communicate over a trusted connection. This can be an important point to emphasize to your customer: All information passed to and from MLS is always encrypted, in order to protect the privacy of the subscriber. Only information necessary to perform the request is exchanged, and only the results are returned.

So far, things are pretty straightforward. Sign up for the services, get a root certificate for mls.mycompany.com, and everything is ready to go?you can begin coding.

Well, not just yet.

That is only your side of the equation. The other side is enabling the service on your mobile telecomm carrier’s side. As of the writing of this article, only one provider is available in the US, and one in Canada, though this will change in the coming year if all goes well and carriers see a benefit to providing the service?and Microsoft is working on them to see that. Generating demand to justify this telecomm investment, on the other hand, is up to us in the development community. We do this by creating the applications that our customers need.

From my experience with these and other carriers that are considering offering this service, the process for enabling the tracking of the cell phones (called provisioning) is pretty much the same. It involves contracts signed by both the company and the owner of the cell phone (who may or may not be the same entity) stating that they are allowing the cell phone, and hence the user of the phone, to be tracked using this service. After these agreements are in place, the phones are usually trackable within a few days. Though the service will work with just about any phone manufactured today, it is important that the phone have the 911 chip installed, otherwise it won’t be able to be tracked.

In the Real World: Pechter’s JIT Customer Service
Pechter’s is a 116-year-old baking company located in Harrison, NJ, with over 1200 different bread products, servicing commercial establishments including restaurants, diners, hospitals and schools in the greater New York, New Jersey, Pennsylvania and Delaware areas. The company has 75 delivery routes and $55 million in annual sales. The company has built itself and its reputation on its ability to deliver exemplary customer service; however, the cost of maintaining that level of service was beginning to escalate. We saw MLS as being a great solution to help them maintain and improve their level of service, while also reducing costs.

When my company, Cubistix, agreed to create a Just-In-Time customer service application for Pechter’s, MLS was just entering beta stage. We knew that we would encounter some bumps in the road, as with any product in beta. Steve Lombardi, MapPoint’s Technical Evangelist, and his crew were instrumental in getting us through the setup process, and stepping up whenever we encountered issues outside of our control. We learned a lot during this project, some good, some bad, and some ugly. As with many projects, issues appeared in areas we never anticipated, but with some careful forethought, developers should be able to get avoid them.

The Good: Surprisingly Simple Coding
My team and I were very surprised at the ease of integration with the MLS service. After the initial setup of the server and getting our root certificate squared away, the actual use of the service is simplicity itself. Once these basics were in place, it was a matter of coding a SOAP call to broker a request for location from the phones. We used Visual Studio to code our application, and with a handful of code, we were able to start passing information to and from MLS without any problems. Using simple API calls and a simple connect string that contains our credential information, and number of the phone we wanted to track, we were able to get back the location of trucks in proximity of a customer in need. The architecture is “connect-and-forget,” with any changes being made on the client side through the use of application variables.

Using the GPRS network to track the phone has a couple of advantages over their GPS counterparts. One is that the GPRS cell phone requires less power to sync up with the satellites and thus will last longer on a battery charge. The other is that GPRS networks are more forgiving in environments where clear line-of-sight to the sky can be an issue, such as in large cities, tunnels, and certain types of vehicles like step trucks and tractor trailers.

The Bad: Newbie Providers, Unwarranted Privacy Concerns
Initial setup for the server was difficult due to the lack of documentation in the beta product when we first started implementation; but as I stated earlier, the MapPoint team was very helpful and got us up and running when we ran into issues. The documentation has since been completed and is very thorough, with plenty of code examples to help developers who are working with the service for the first time. I will tell you that it helps to have more than a passing familiarity with setting up SSL certificates, IIS and Active Directory.

The worst case resulted in a difference of almost two miles from actual location and reported location.

Coordination with service providers can be tricky as well. We discovered that the majority of our delay was due to our wireless provider attempting to catch up with what we were doing. In fact, we had our entire project completed before they had their end set up. Again, Microsoft helped to smooth out these issues, but I think that our service provider did not know what to make of MLS or what benefit could be derived from the service. In recent conversations I have had with Sprint, now that they have become familiar with it, they have assured me of their commitment to location-based services. No doubt you will run into carrier issues; but remember that the procedures for provisioning will be similar to what I have mentioned before.

Which leads me to the legal issues associated with the service. I know that prospective clients that we have spoken to are concerned about the ability to track individuals, and the whole Big Brother aspects of the technology. We encountered these issues and concerns when we started our implementation at Pechter’s. The first thing that I assured my clients is that any phone that will be tracked has to have consent in writing from the owner of the phone in order to be tracked. Without this, the wireless provider will not provision the phone for tracking, so the answer is “No, your employer, spouse, friend, etc. cannot track you without your consent. Period.” From the employer side, if you are allocating a phone to your employees specifically for use with MLS, consent can be implicit by accepting the phone or having a clause in the employment agreement.

Of course, since the ability to track no longer works when the phone is shut off, an employee needs only turn off the phone at the end of the business day in order to no longer be tracked.

The Ugly: Accuracy (For Now, Anyway)
We did encounter one particular issue with our application’s operation: the accuracy of the GPRS network. Since location is approximated based on the attenuation of signal between cell towers, there can be several factors that cause the location to be thrown off, including buildings, weather, density of towers in a given location, and power of the phone. The carrier we were using did not make any accuracy guarantees, as Sprint is said to provide, so we were a little surprised at how far off some of our readings were. The worst case resulted in a difference of almost two miles from actual location and reported location.

This was not so bad with our particular application, as we were looking in proximity of a customer rather than trying to pinpoint a driver. The accuracy of these devices will be getting more and more precise as the technology progresses; I am sure location accuracy will soon approximate that of a non WAAS GPS device.

The technology itself is very straightforward, and thanks to Microsoft, it is affordable and easy to use. The determining factor for the success of this product will be the level of commitment from wireless operators to expose their location API to Microsoft.

My advice is not to worry as much about the coding and usage of MLS itself, the setup of the service and calls to the API are relatively straightforward, but rather to look at the managerial and business roadblocks that can crop up. By focusing on these things that are outside of the scope of the development plan, you can save yourself quite a few headaches.

devx-admin

devx-admin

Share the Post:
Bold Evolution

Intel’s Bold Comeback

Intel, a leading figure in the semiconductor industry, has underperformed in the stock market over the past five years, with shares dropping by 4% as

Semiconductor market

Semiconductor Slump: Rebound on the Horizon

In recent years, the semiconductor sector has faced a slump due to decreasing PC and smartphone sales, especially in 2022 and 2023. Nonetheless, as 2024

Learn Web Security

An Easy Way to Learn Web Security

The Web Security Academy has recently introduced new educational courses designed to offer a comprehensible and straightforward journey through the intricate realm of web security.

Military Drones Revolution

Military Drones: New Mobile Command Centers

The Air Force Special Operations Command (AFSOC) is currently working on a pioneering project that aims to transform MQ-9 Reaper drones into mobile command centers

Tech Partnership

US and Vietnam: The Next Tech Leaders?

The US and Vietnam have entered into a series of multi-billion-dollar business deals, marking a significant leap forward in their cooperation in vital sectors like

Bold Evolution

Intel’s Bold Comeback

Intel, a leading figure in the semiconductor industry, has underperformed in the stock market over the past five years, with shares dropping by 4% as opposed to the 176% return

Semiconductor market

Semiconductor Slump: Rebound on the Horizon

In recent years, the semiconductor sector has faced a slump due to decreasing PC and smartphone sales, especially in 2022 and 2023. Nonetheless, as 2024 approaches, the industry seems to

Elevated Content Deals

Elevate Your Content Creation with Amazing Deals

The latest Tech Deals cater to creators of different levels and budgets, featuring a variety of computer accessories and tools designed specifically for content creation. Enhance your technological setup with

Learn Web Security

An Easy Way to Learn Web Security

The Web Security Academy has recently introduced new educational courses designed to offer a comprehensible and straightforward journey through the intricate realm of web security. These carefully designed learning courses

Military Drones Revolution

Military Drones: New Mobile Command Centers

The Air Force Special Operations Command (AFSOC) is currently working on a pioneering project that aims to transform MQ-9 Reaper drones into mobile command centers to better manage smaller unmanned

Tech Partnership

US and Vietnam: The Next Tech Leaders?

The US and Vietnam have entered into a series of multi-billion-dollar business deals, marking a significant leap forward in their cooperation in vital sectors like artificial intelligence (AI), semiconductors, and

Huge Savings

Score Massive Savings on Portable Gaming

This week in tech bargains, a well-known firm has considerably reduced the price of its portable gaming device, cutting costs by as much as 20 percent, which matches the lowest

Cloudfare Protection

Unbreakable: Cloudflare One Data Protection Suite

Recently, Cloudflare introduced its One Data Protection Suite, an extensive collection of sophisticated security tools designed to protect data in various environments, including web, private, and SaaS applications. The suite

Drone Revolution

Cool Drone Tech Unveiled at London Event

At the DSEI defense event in London, Israeli defense firms exhibited cutting-edge drone technology featuring vertical-takeoff-and-landing (VTOL) abilities while launching two innovative systems that have already been acquired by clients.

2D Semiconductor Revolution

Disrupting Electronics with 2D Semiconductors

The rapid development in electronic devices has created an increasing demand for advanced semiconductors. While silicon has traditionally been the go-to material for such applications, it suffers from certain limitations.

Cisco Growth

Cisco Cuts Jobs To Optimize Growth

Tech giant Cisco Systems Inc. recently unveiled plans to reduce its workforce in two Californian cities, with the goal of optimizing the company’s cost structure. The company has decided to

FAA Authorization

FAA Approves Drone Deliveries

In a significant development for the US drone industry, drone delivery company Zipline has gained Federal Aviation Administration (FAA) authorization, permitting them to operate drones beyond the visual line of

Mortgage Rate Challenges

Prop-Tech Firms Face Mortgage Rate Challenges

The surge in mortgage rates and a subsequent decrease in home buying have presented challenges for prop-tech firms like Divvy Homes, a rent-to-own start-up company. With a previous valuation of

Lighthouse Updates

Microsoft 365 Lighthouse: Powerful Updates

Microsoft has introduced a new update to Microsoft 365 Lighthouse, which includes support for alerts and notifications. This update is designed to give Managed Service Providers (MSPs) increased control and

Website Lock

Mysterious Website Blockage Sparks Concern

Recently, visitors of a well-known resource website encountered a message blocking their access, resulting in disappointment and frustration among its users. While the reason for this limitation remains uncertain, specialists

AI Tool

Unleashing AI Power with Microsoft 365 Copilot

Microsoft has recently unveiled the initial list of Australian clients who will benefit from Microsoft 365 (M365) Copilot through the exclusive invitation-only global Early Access Program. Prominent organizations participating in

Microsoft Egnyte Collaboration

Microsoft and Egnyte Collaboration

Microsoft has revealed a collaboration with Egnyte, a prominent platform for content cooperation and governance, with the goal of improving real-time collaboration features within Microsoft 365 and Microsoft Teams. This

Best Laptops

Top Programming Laptops of 2023

In 2023, many developers prioritize finding the best laptop for programming, whether at home, in the workplace, or on the go. A high-performing, portable, and user-friendly laptop could significantly influence

Renaissance Gaming Magic

AI Unleashes A Gaming Renaissance

In recent times, artificial intelligence has achieved remarkable progress, with resources like ChatGPT becoming more sophisticated and readily available. Pietro Schirano, the design lead at Brex, has explored the capabilities

New Apple Watch

The New Apple Watch Ultra 2 is Awesome

Apple is making waves in the smartwatch market with the introduction of the highly anticipated Apple Watch Ultra 2. This revolutionary device promises exceptional performance, robust design, and a myriad

Truth Unveiling

Unveiling Truths in Bowen’s SMR Controversy

Tony Wood from the Grattan Institute has voiced his concerns over Climate and Energy Minister Chris Bowen’s critique of the Coalition’s support for small modular nuclear reactors (SMRs). Wood points

Avoiding Crisis

Racing to Defy Looming Financial Crisis

Chinese property developer Country Garden is facing a liquidity challenge as it approaches a deadline to pay $15 million in interest associated with an offshore bond. With a 30-day grace

Open-Source Development

Open-Source Software Development is King

The increasingly digital world has led to the emergence of open-source software as a critical factor in modern software development, with more than 70% of the infrastructure, products, and services

Home Savings

Sensational Savings on Smart Home Security

For a limited time only, Amazon is offering massive discounts on a variety of intelligent home devices, including products from its Ring security range. Running until October 2 or while

Apple Unleashed

A Deep Dive into the iPhone 15 Pro Max

Apple recently unveiled its groundbreaking iPhone 15 Pro and iPhone 15 Pro Max models, featuring a revolutionary design, extraordinary display technology, and unrivaled performance. These new models are the first