Conference PaperPDF Available

A Location-based Cooperative Web Service Using Google Maps

Authors:

Abstract and Figures

LoCo (Location-based Cooperative) is a web service that allows people to cooperate on activities that are organized around locales. It allows users to add content-associated markers to a map and to view and search for markers based on selected criteria, such as content, dates, and user names and addresses. This service has many applications, for example, individuals might use it to locate others who are willing to buy or sell items and services that are only feasible to transport and/or utilize within a specific locale, such as piano lessons or leasing farm machinery.
Content may be subject to copyright.
A Location-based Cooperative Web Service Using Google Maps
Thomas E. Portegys
Illinois State University, USA
portegys@ilstu.edu
Abstract
LoCo (Location-based Cooperative) is a web service that allows people to cooperate on
activities that are organized around locales. It allows users to add content-associated
markers to a map and to view and search for markers based on selected criteria, such as
content, dates, and user names and addresses. This service has many applications, for
example, individuals might use it to locate others who are willing to buy or sell items and
services that are only feasible to transport and/or utilize within a specific locale, such as
piano lessons or leasing farm machinery.
Keywords: location-based web service, cooperative, Google Maps
Introduction
Within the last few months, Google has released a free service and programming
interface (maps.google.com/apis/) that allows location-based web services to be easily
implemented by referencing map locations. Here are some examples: avian flu outbreaks,
cheap gas prices, crime incidents, cell-phone towers, free Wi-Fi hotspots, weather
conditions, real estate listings, etc. See googlemapsmania.blogspot.com for many more.
According to CNN Money.com’s Erick Schonfeld, “What's fascinating about these maps
is that they have the potential to link all Internet data to the physical world. Any data feed
that includes a street address can be mapped.”
Yahoo! (developer.yahoo.net/maps/) and Microsoft (local.live.com/) have also release
mapping products recently in response to Google. According to Yahoo!, "Yahoo! Maps
API gives developers of all levels free public access to Yahoo!'s SmartView Technology
- enabling them to see their own geographical data on Yahoo! Maps. Developers can now
create customized maps by overlaying a variety of content onto an existing Yahoo! Map
including weather reports, school district boundaries, open houses, garage sales, vacation
photos, and more."
In the process of coming up with a paper topic related to mapping, I wanted something
that might be of practical use for small-scale localized activities. I chose to design an
easily deployable web service using Google Maps that will allow users to cooperate and
collaborate on general-purpose location-based applications. Google Maps was chosen as
the most developed of the mapping products.
LoCo (Location-based Cooperative) is a web service that allows people to cooperate on
activities that are organized around locales. It allows users to add content-associated
markers to a map and to view and search for markers based on selected criteria, such as
content, dates, and user names and addresses. This service has many applications, for
example, individuals might use it to locate others who are willing to buy or sell items and
services that are only feasible to transport and/or utilize within a specific locale, such as
piano lessons or leasing farm machinery.
Although there are other map-creation services on the Web, such as MapBuilder
www.mapbuilder.net/, and Frappr www.frappr.com/, what distinguishes LoCo is the
following combination of features:
Interactivity – users can input annotated information themselves.
Map content ownership – data and software hosted on web server of choice.
Open source – completely customizable software.
Search/filtering – selectively view content based on user-provided criteria.
Location-based service is a term that encompasses a number of categories of service
(Kupper, 2005). One type of service, often involving GPS (Global Positioning System)
technology, allows mobile wireless users to view and interact with entities within their
vicinity, which may include other mobile users (Blyer, 2003; Hightower and Borriello,
2001). A related system is the Onstar service that provides GPS/wireless-based vehicle
assistance (Allan, 2003). Another type of service involves localized web searching based
on schemes that associate IP (internet protocol) addresses with geographic locales
(Papapetrou and Samaras, 2004; Padmanabhan and Subramanian, 2001). So for example,
a search of apartment listings could be constrained to produce listings within the user’s
geographical area. Map-based services are so recent that there is a dearth of research
literature on them. For map-based services such as LoCo, a map is the starting point of a
query. Maps make use of the power of the human visual system to understand and
organize spatial information. Starting with a map, sources of desired content can then be
located that are within a desired geographical locale, and transportation issues more
easily evaluated.
Description
A view of the web service prototype can be seen in Figure 1. It also can be seen and used
at itklinux.itk.ilstu.edu/LoCo/loco.php The current software package is available at
www.itk.ilstu.edu/faculty/portegys/programs/loco.zip The view is after a user registers
and logs in. The panel on the left side of the page shows a Google map of the Illinois
State University/downtown Normal, Illinois (USA) vicinity. A marker has been added to
the map near the location of my office in Old Union. Google maps allow a user to zoom
in and out and smoothly pan in any direction using the mouse.
Figure 1 – LoCo Web Page
The right panel contains various controls and information fields, including:
A user name.
Address of interest. A geocoding service also allows a user to move and center the
map at a given address.
Marker content – this is information that is associated with a marker, and is
displayed over the marker when it is clicked. The marker content can contain an
extensive variety of HTML formats, including image links.
Start and end dates – these would be of use to know when a service or item is
available.
Operational modes:
o View all – show all the markers on the map.
o View filtered – show only markers that match user-supplied criteria, such
as user name, address, marker content, and dates. These have been
selected by the filter command button (see below).
o Add – in this mode, new markers can be added to the map by clicking on
it. Such a marker will have any supplied information, such as content or
dates, associated with it for later retrieval. In addition, these markers will
be “owned” by the creating user.
o Remove – remove markers that are owned by the current user by clicking
on them.
Below the mode buttons is a notice text box for instructional and error messages. Below
that is a set of command buttons that perform the following actions:
Reset – clear the controls
Filter – works with view filtered mode; markers are selected based on matching
values of controls, such as user, address, etc. Content matching is currently a
simple line-by-line string match; in future this will be a Google search function.
Refresh – request the server to update the map from the server with marker
changes made by other users.
Save – save marker changes to server.
Help – help page.
Logout.
The system is written in PHP, HTML, and JavaScript and will run on any server that
supports PHP and any browser that supports JavaScript. In the future, the marker content
may be stored in a database such as MySQL.
System requirements:
1. A PHP-enabled web server.
2. A Google Maps key, available at maps.google.com/apis/
3. An initial latitude and longitude to center the map, available at geocoder.us/
Installation:
1. Unzip the package in the web root directory. Make the files
readable by the web server user id. Make the data files, users.txt
and markers.txt, writable.
2. Edit the main.htp file:
Put the Google Maps key in the maps.google.com script line.
3. Edit the loco.js file:
Put the latitude and longitude in the home_* variables, e.g.,
var home_longitude = -88.986189;
var home_latitude = 40.509543;
To invoke:
www.your.host/LoCo/loco.php
Data files:
1. users.txt - user login/encrypted passwords.
2. markers.txt - markers file.
Conclusion
A general, easily-deployed location-based web service has been presented with the goal
of facilitating new applications. The software is open source and can be customized to
suit (available at www.itk.ilstu.edu/faculty/portegys/programs/loco.zip). A test
application is planned in the upcoming months during the garage-sale season in the USA.
As mapping services such as Google expand, the availability and quality of applications
built on them will grow. Currently, commercial applications cannot freely use the Google
mapping service, but it is to be expected that the influx of new commercial applications
will inspire leasing arrangements.
References
Allan R (2003) Onstar System Puts Telematics on the Map, Electronics Design, 31
March 2003, pp. 49-56.
Blyer J (2003) Location-Based Services Are Positioned for Growth, Wireless Systems
Design, September 2003, pp. 16-20.
Hightower J & Borriello G (2001) Location Systems for Ubiquitous Computing, IEEE
Computer Magazine, August 2001, pp. 57-66.
Kupper, A. (2005) Location Based Services: Fundamentals and Applications,
ISBN/SKU0470092319, Wiley and Sons, September 2005.
Padmanabhan V & Subramanian L (2001) An Investigation of Geographic Mapping
Techniques for Internet Hosts, Proceedings of SIGCOMM'2001.
Papapetrou O, & Samaras G (2004) Ipmicra: Toward a Distributed and Adaptable
Location Aware Web Crawler, Advances in Databases and Information Systems.
Schonfeld, Erick (2005) Where Google's maps will take us, CNN Money.com
money.cnn.com/2005/08/04/technology/techinvestor/tech_biz/
... In addition to the ADL project, there are also other researches that focus on map applications including geocoding and search. However, researchers argue that user experience, usability and functionality of such systems have not drawn enough attention [6][7][8][9]. Clough and Read [7] conducted a study where they examined four known photo-sharing services with maps. In their study Panoramio was evaluated by ten master students to identify problems regarding the utility and functionality. ...
Conference Paper
Full-text available
Although many map applications are available for presenting, browsing and sharing photos over the Internet, historical photos are not given enough attention. In addition, limited research efforts have been made on the usability and functionalities of such map applications for photo galleries. This paper aims to address these issues by studying the role of digital maps in presenting, browsing and searching historical photos. We have developed a map application and conducted formative evaluation with users focusing on usability and user involvement. The evaluation has shown positive responses from users. The search and navigation functions in the map application were found especially useful. The map was found to be important in involving users to share local knowledge about historical photos.
Article
In the Quadtree Partition, Images need to be encoded. IFS provides this issue a unique way. According to it, we construct the IFS model based on quadtree segmentation and find the model's Hutchinson operator and IFS attractor. Based on the above, we re-establish WEMSDNM, during which traits of the field of business domain stand out. Comparing with the traditional algorithms by experiment, the result indicates that its performance has been improved to a certain extent.
Conference Paper
Full-text available
Distributed crawling has shown that it can overcome important limi- tations of the centralized crawling paradigm. However, the distributed nature of current distributed crawlers is currently not fully utilized. The optimal benefits of this approach are usually limited to the sites hosting the crawler. In this work we propose IPMicra, a distributed location aware web crawler that utilizes an IP address hierarchy and allows crawling of links in a near optimal location aware manner. The challenging task of indexing the web (usually referred as web-crawling) has been heavily addressed in research literature. However, due to the current size, increasing rate, and high change frequency of the web, no web crawling schema is able to pace with the web. While current web crawlers managed to index more than 3 billion doc- uments (4), it is estimated that the maximum web coverage of each search engine is around 16% of the estimated web size (5). Distributed crawling (7, 8, 6, 1-3) was proposed to improve this situation. However, all the previous work was not taking full advantage of the distributed nature of the ap- plication. While some of the previously suggested systems were fully distributed over the Internet (many different locations), each web document was not necessarily crawled from the most near crawler but from a randomly selected crawler. While the distribu- tion of the crawling function was efficiently reducing the network bottleneck from the search engine's site and significantly improving the quality of the results, the previous proposals were not at all optimized. In this work, we propose an optimal, for the distributed crawlers, URL delegation methodology, so that each URL is crawled from the nearest crawler. The approach, called IPMicra, facilitates crawling of each URL from the nearest crawler (where near- ness is defined in terms of network latency) without creating excessive load to the In- ternet infrastructure. We use data from the four Regional Internet Registries (RIRs) to build a hierarchical clustering of IP addresses, which assists us to perform an effi- cient URL delegation to the migrating crawlers. In addition to location aware crawling, IPMicra, provides load balancing taking into consideration the crawler's capacity and configuration. Furthermore, it dynamically adjusts to the changing nature of the Internet infrastructure itself.
Article
The use of ONSTAR, the interactive automotive security system, is discussed. This telematics based system provides safety, security, roadside assistance and convenience to drivers 24 hrs a day, anywhere in the US and Canada. A system, based on the Global Positioning System (GPS), provides drivers with route directions, emergency assistance, e-mail and other services.
Chapter
Location-based Services (LBSs) are mobile services for providing information that has been created, compiled, selected or filtered under consideration of the users' current locations or those of other persons or mobile devices. Typical examples are restaurant finders, buddy trackers, navigation services or applications in the areas of mobile marketing and mobile gaming. The attractiveness of LBSs is due to the fact that users are not required to enter location information manually but are automatically pinpointed and tracked. This book explains the fundamentals and operation of LBSs and gives a thorough introduction to the key technologies and organizational procedures, offering comprehensive coverage of positioning methods, location protocols and service platforms, alongside an overview of interfaces, languages, APIs and middleware with examples demonstrating their usage. Explanation and comparison of all protocols and architectures for location services. In-depth coverage of satellite, cellular and local positioning. All embracing introduction to 3GPP positioning methods, such as Cell-Id, E-OTD, U-TdoA, OTDoA-IPDL and Assisted GPS. Explains the operation of enhanced emergency services such as E-911. Identifies unsolved research issues and challenges in the area of LBSs. This comprehensive guide will be invaluable to undergraduate and postgraduate students and lecturers in the area of telecommunications. It will also be a useful resource to developers and researchers seeking to expand their knowledge in this field.
Article
The current products and the latest research in the field of location sensing systems for mobile computing applications are discussed. Three major techniques to determine a given location are identified. These include triangulation, which uses multiple distance measurements between known points; proximity measuring nearness to a known set of points; and scene analysis, which examines a view from a particular vintage point. Some of the location sensing systems discussed include: the Active Badge location system that uses diffuse infrared technology; the Active Bat location system, which uses an ultrasound time-of-flight lateration technique to provide physical positioning; and ad hoc location sensing.
Article
In this paper, we ask whether it is possible to build an IP address to geographic location mapping service for Internet hosts. Such a service would enable a large and interesting class of location-aware applications. This is a challenging problem because an IP address does not inherently contain an indication of location. Wepresent and evaluate three distinct techniques, collectively referred to as IP2Geo, for determining the geographic location of Internet hosts. The rst technique, GeoTrack,in- fers location based on the DNS names of the target host or other nearbynetwork nodes. The second technique, GeoPing, uses network delay measurements from geographically distributed locations to deduce the coordinates of the target host. The third technique, GeoCluster, combines partial (and possibly inaccurate) host-to-location mapping information and BGP prex information to infer the location of the target host. Using extensive and varied data sets, weevaluate the performance of these techniques and identify fundamental challenges in deducing geographic location from the IP address of an Internet host. 1.
Where Google's maps will take us
  • Erick Schonfeld
Schonfeld, Erick (2005) Where Google's maps will take us, CNN Money.com money.cnn.com/2005/08/04/technology/techinvestor/tech_biz/
Location-Based Services Are Positioned for Growth
  • J Blyer
Blyer J (2003) Location-Based Services Are Positioned for Growth, Wireless Systems Design, September 2003, pp. 16-20
Location Based Services: Fundamentals and Applications, ISBN/SKU0470092319
  • A Kupper
Kupper, A. (2005) Location Based Services: Fundamentals and Applications, ISBN/SKU0470092319, Wiley and Sons, September 2005.