Skip to main content


Showing posts from April, 2011

ES6 101 - Map

ES6 101 - Map
ES6 Map is the topic of today’s post which also is the 11th in the ES6 101 Series. Map is going to be fairly easy, so before jumping into it, if you want to look at other features we have covered so far, here is a quick list for your reference.Fat Arrow FunctionsLexical Declarations - LetLexical Declarations - ConstSpread OPeratorTemplate LiteralRest OperatorDefault parametersDestructuringFor…ofSetNow let’s see what Map has to offer. As opposed to Set (which by the way, I highly recommend reading), Map saves values as key-value pair. Let’s see for ourselves how this works!Example of ES6 Mapvar dummyMap = newMap(); dummyMap.set("1"); // Method is set as against add in ES6 Setconsole.log(dummyMap); // [["1",null]] dummyMap.set("1", "one"); console.log(dummyMap); // [["1","one"]] dummyMap.set("2", "two").set("3","three"); console.log(dummyMap); // [["1","one&…

Better Late than Never...

Jammu and Kashmir Chief Minister Omar Abdullah has directed the concerning officials for identifying areas where the State could utilize the services of Mission Geospatial Applications (MGA) to give necessary fillip to the government endeavours for equitable development of all regions and sub-regions in the State.

            Taking brief on the usefulness and utility of Geospatial Applications at a presentation meeting, the Chief Minister said that the services of MGA (A Government of India Agency in the Science and Technology Ministry) could help the State to collect necessary data for various public service delivery sectors and strengthen the monitoring mechanism of checking and analyzing development schemes.

             Geospatial Applications and Remote Sensing would prove to be useful tools to give new dimension to the plan formulation and monitoring of works across the State. This news clearly goes to show that there is an increase in the awareness and know-…

Map Collages

Think these pieces were made from pencil, pen or paint? Think again. Artist Matthew Cusick cuts away pieces on maps, atlases, encyclopedias and school textbooks, to create crazy collages that look like drawings or paintings. "I like to catalog, archive, and arrange information and then dismantle, manipulate, and reconfigure it," he says.

            Cusick flips around road, river and transit lines, piecing them together to form everything from portraits to landscapes. While Cusick sometimes adds paint (like acrylic) to these pieces, by and large, the colors are taken from the maps' topography. Cusick explains how he got started with working with maps:

About nine years ago, frustrated with paint and brushes, I just started experimenting with some maps I had laying around the studio. I found that maps have all the properties of a brushstroke: nuance, density, line, movement, and color. Their palette is deliberate and symbolic, acting as a cognitive …

Loading over HTTPS...

Do you have your application in which you are using HTTPS for security and so cannot use Google Maps Javascript API? Unhappy about that? You can now be relieved! You can now access the Google Maps JavaScript API over HTTPS, allowing you to utilize the API within your HTTPS secure application. Loading the Google Maps Javascript API V3 over HTTPS allows your application to use the Maps API within pages that are secured using HTTPS: the HTTP over the Secure Socket Layer (SSL) protocol.

            Loading the Maps API over HTTPS is necessary in SSL applications to avoid security warnings in most browsers, and is recommended for applications that include sensitive user data, such as a user's location, in requests. To load the Google Maps JavaScript API Version 3 over HTTPS, load the API from the following URL:

<script src=""type="text/javascript"></script>

Reverse Geocoding

The term geocoding generally refers to translating a human-readable address into a location on the map. The process of doing the converse, translating a location on the map into a human-readable address, is known as reverse geocoding. You can read more about geocoding here.

    The Geocoder in Google Maps API v3, supports reverse geocoding directly. While geocoding, we supply a textual address and that gets mapped as a location on the map. However, in reverse geocoding, instead of supplying the textual address, we will supply a comma- separated latitude- longitude pair and get a textual address as the result. You can have a look at the geocoding example here, before proceeding to the reverse geocoding example.

    The reverse geocoder often returns more than one result. Geocoding "addresses" are not just postal addresses, but any way to geographically name a location. For example, when geocoding a point in the city of Agra, India, the geocoded point may be labelled as a…

Mapping Festival...

London will be hosting the London Mapping Festival which is slated to start from June 2011 and will run through December, 2012. The purpose of this festival is to highlight and create a greater awareness of how maps and geographic data is being used within the city. Such a festival will help demonstrate the vast extent to which mapping underpins our daily lives and will encourage people from all backgrounds to find out more about mapping, engage with industry professionals, explore the latest technologies and develop new skills.

         I personally think that such festivals should be organised in all cities and each city should celebrate maps! The spread of mapping knowledge is a must for several reasons.
Many graduating students do not know anything about GIS and mapping on the whole.Students do not know of the career options available in mapping.People do not understand the benefits of mapping.People do not appreciate the worth of maps in various researches and surveys.And…

Mumbai's public trasportation information now on Google Maps...

Can anybody imagine life in Mumbai without the red BEST bus or the crowded local trains? It is difficult to imagine "aamchi Mumbai" without these buses and locals.

         Knowing that life in Mumbai revolves around these trains and buses, Google India has made information on Brihanmumbai Electric Supply and Transport (BEST) Bus routes and Mumbai local train routes and schedule available on Google Maps. This information will now be available both on desktop and on mobile for millions of commuters in Mumbai, arguably the most used public transportation network in India.

         The easy access of this service will help commuters and tourists find their way seamlessly around the city using both trains and buses.