Skip to content
Anand Chitipothu edited this page Jul 13, 2014 · 4 revisions

There'll be lot of location dependent actions in cleansweep. We would like to build a separate application that provides an API for solving all those needs.

Geocoding

Ability to find coordinates of place from its name/address. Google Places Autocomplete API is good enough for this. We may have to worry about the limits though.

Reverse Geocoding

Ability to identify, Loksabha Constituency, Assembly Constituency, Ward and Polling Booth from given coordinates.

This is partly built as part of the Bangalore election campaign. It provide information about LC and AC only. This should be extended to provide granularity upto Polling Booth.

http://geosearch-anandology.rhcloud.com/ https://github.com/anandology/india-geosearch

Embed API

API to easily create maps with AC, ward boundaries.

Even though the LC, AC and ward boundaries are available at different places, it would be difficult to show them on a Map because of the complexity involved. Also, the boundaries are usually of high resolution and take too long to load on a map. Ideally we should use high-res boundaries for reverse geocoding and low-res boundaries when displaying on a map.

We need this maps component to handle all this complexity and provide an API to easily add a map with desired boundaries. A jquery plugin would be ideal. Here is the proposed API.

$("#map").mapify({
    "location": "KA/PC27",
    "include": ["AC"]
});

$("#map").mapify({
    "location": "KA/AC127",
    "include": ["WARD", "PB"]
});

Data Sources

Clone this wiki locally