Today's mobile devices have GPS and standard APIs to give you access to coordinatesโbut what can you do with that data? With this concise book, application developers learn how to work with location data quickly and easily, using Node.js, CouchDB, and other open source tools and libraries. Node.js m
Getting Started with GEO, CouchDB, and Node.js
โ Scribed by Mick Thompson
- Publisher
- O'Reilly Media
- Year
- 2011
- Tongue
- English
- Leaves
- 66
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
Today's mobile devices have GPS and standard APIs to give you access to coordinatesโbut what can you do with that data? With this concise book, application developers learn how to work with location data quickly and easily, using Node.js, CouchDB, and other open source tools and libraries. Node.js makes it simple to run event code on the Web, and the CouchDB document-oriented database lets you store location data and perform complex queries on it quickly. You'll learn how to get started with these tools, and then use them together to build an example project called MapChat, using HTML and JavaScript code samples.Learn how to serve dynamic content with Node.js, and use its asynchronous IO to handle several requests at once Become familiar with GeoJSON, Geohash, and the Geospatial Data Abstraction Library (GDAL) for working with spatial data Build geospatial indexes using the GeoCouch branch of CouchDB Combine these tools to build a project that lets users post real-time chat messages tagged with their current map location
โฆ Table of Contents
Table of Contents......Page 9
Conventions Used in This Book......Page 11
Safariยฎ Books Online......Page 12
How to Contact Us......Page 13
Getting Started with Node.js......Page 15
Asynchronous Callbacks......Page 16
Routes......Page 18
Static Files......Page 19
Geo Datasets......Page 21
Example Geometries......Page 22
Grab Some Data......Page 23
Ogrinfo......Page 24
Geohash......Page 25
Replication......Page 29
Creating a Database......Page 30
Creating a View......Page 31
View Options......Page 33
Using Reduce......Page 34
Using CouchAppsโฆFor Fun and Profit......Page 35
Load Shared Code......Page 36
GeoCouch......Page 38
Using Cradle to Talk to Geocouch......Page 39
Add the Couchapp......Page 40
Bounding Box Queries......Page 41
Displaying the Data Using Node.js......Page 42
CouchDB Hosting Options......Page 45
Socket.io......Page 47
Setting Up the Project......Page 48
Making chat subscriptions......Page 50
Handling Chat Messages......Page 51
Using Google Maps......Page 52
Center and Bounds......Page 53
Custom Overlays......Page 54
Chat Messages from CouchDB......Page 57
Using a List Function......Page 59
Notify Clients of Cluster Updates......Page 60
Display List of Clusters in the Client......Page 61
โฆ Subjects
ะะธะฑะปะธะพัะตะบะฐ;ะะพะผะฟัััะตัะฝะฐั ะปะธัะตัะฐัััะฐ;NoSQL;CouchDB;
๐ SIMILAR VOLUMES
Today's mobile devices have GPS and standard APIs to give you access to coordinates--but what can you do with that data? With this concise book, application developers learn how to work with location data quickly and easily, using Node.js, CouchDB, and other open source tools and libraries. Node.js
Today's mobile devices have GPS and standard APIs to give you access to coordinates - but what can you do with that data? With this concise book, application developers learn how to work with location data quickly and easily, using Node.js, CouchDB, and other open source tools and libraries. Node.j
<p>CouchDB is a new breed of database for the Internet, geared to meet the needs of today’s dynamic web applications. With this concise introduction, you’ll learn how CouchDB’s simple model for storing, processing, and accessing data makes it ideal for the type of data and rapid re
CouchDB is a new breed of database for the Internet, geared to meet the needs of today's dynamic web applications. With this concise introduction, you'll learn how CouchDB's simple model for storing, processing, and accessing data makes it ideal for the type of data and rapid response users now dema