application development

Drag and Drop GIS

I dragged and dropped this image onto the blog postDrag and drop isn’t really anything new. The ability to drag a file across network has been with us for quite some time. Photoshop users are pretty comfortable with dragging elements from one layer to another and anyone using Word has likely done a little dragging and dropping. It’s practically ubiquitous at this point.
Except for within the world of GIS.

When was the last time that you dragged a shapefile onto a map? Never, you say?

Well, my (GIS nerd) friends, prepare for your world to be rocked!

Drag and Drop in Javascript is as easy as…

While developing the ESII Tool, it became clear that our clients would really love the ability to quickly swap out basemaps and possibly use some specialized georeferenced imagery, such as GeoTiffs and shapefiles. The ESII tool has two components; the web-based Project Workspace, where projects are planned, and the iPad app, where data collection is implemented. We wanted to be able to bring the drag and drop function to the Project Workspace, written in Javascript.

The exposure of the FileReader API in HTML5, now well supported by the Big 3 browsers, has allowed for fantastic ports of GIS format converters, including binary format converters. The ESRI Shapefile, and the GeoTiff are perhaps the 2 most staple formats of the GIS world representing vector and raster respectively. To be able to drop these data formats into a web map is indeed a miraculous feat for those of us who have whiled many an hour in the bad old days trying to bring these up on a monochrome CRT. Both the Shapefile and GeoTiff JavaScript libraries were obtained via GitHub.

At the heart of these conversions is support for Typed Arrays in JavaScript or rather, the ability to obtain ‘views’ into binary data. With the shapefile converter for example, the zipped file must first be decompressed (using the JsZip library), the PRJ file is then parsed and a proj4.js conversion function is created, then the DBF and SHP files are parsed (including the important differences in Endianness and any necessary projection functions) and converted to GeoJSON, a human-readable format. From there it’s just tossing the GeoJSON at your mapping API of choice and symbolizing as you like.

Drag and Drop your own file

We’ve provided a sample below for you to try your own drag and drop GIS. The widget will support up to 15 megabytes of geogoodness; the GeoTiff needs to be uncompressed and stored in WGS84, while the shapefile can either be zipped or, simply drop the .shp, .prj, and .dbf files on the map and see what happens!

If you don’t have a shapefile handy, you can download one from the RLIS Discovery site.

Set up an account with ESII and do more Drag and Drop GIS

Now that you’ve read about what we did – and dipped your toes into the water –  it’s time to try it for yourself. To get started, go to and sign up for an account. Once you’ve got an account set up, you’ll want to create a Site and a Data Collection Effort in a location that you have specialized georeferenced imagery. It is here, during this stage, that you can drag and drop a geotiff, or shape file onto your map and it will act as a layer that you can turn on or off.

Try it out for yourself.

ESII Tool Unveiled!

Yesterday, at the GreenBiz Conference in Scottsdale, Arizona, the ESII (Ecosystem Services Identification & Services) Tool was introduced to the world.

The ESII (pronounced “Easy”) Tool is the result of a collaboration between Dow Chemical and The Nature Conservancy. They’ve been working on it since 2011. Our involvement has been in the past year. It’s a project we are very excited and proud to be a part of.

The ESII Tool has the ability to transform the way businesses view the environment. That sounds like a lot of hyperbole, but for the first time ever, there is a comprehensive tool that allows businesses to identify and measure the benefits of nature on the land that they own. Not only does it give businesses the opportunity to see what is currently there, but it gives them a planning tool to play around with alternative scenarios. 

To find out more and to download the free iPad app, go to

Congratulations to everyone who worked so hard on the ESII Tool!

Building an ecosystem services software solution for Dow and The Nature Conservancy

Two Unlikely Partners

esii_partnersSeveral months ago, we wrote about our involvement with a project that has brought together two seemingly unlikely allies: Dow Chemical and The Nature Conservancy (TNC). These two organizations, working with guidance from EcoMetrix Solutions Group (ESG), have spent the better part of the past four years developing a program called the Ecosystem Services Identification and Inventory (ESII) program. The collaborative effort seeks to quantify the value of environmental reforms. The ultimate goal is to provide tools to help companies track and consciously improve their environmental stewardship.

Our Role

An integrated software solution is the centerpiece of the ESII program. Our team was brought in to help shepherd the ESII Tool from vision to reality.  We have collaborated with TNC, Dow, and ESG to design and build a software system that allows users to define and track their natural resource assets and to score their individual and collective environmental benefits. The tool allows for the tracking and valuation of nature in a manner that is analogous to how companies have traditionally worked with capital assets in their business operations.  Users are provided with tools that help them develop and refine property management and enhancement strategies by exploring alternative management scenarios and their associated scorecards for ecosystem services and functions.

An Ecosystem Services Software Solution

esgOur team has built a software package that includes a front-end iOS application (targeting iPads), coupled with a web tool and that harnesses a connected series of ecological models. These models are used to take inputs from the iOS app and compute scores that are presented to users of the web tool. A process that used to take months can now happen in minutes!

We’ve been in the development and testing stages since the spring. Throughout the summer and fall, we have progressively released editions of the solution for review and field testing by team members. This agile approach to software development allowed us to test, fix, and refine the functionality in chunks, and to work out what would be the optimal approach to meeting functional requirements and to provide the ideal user experience. This process resulted in some major refactoring of some of elements of the software (the survey component, for instance, got a major overhaul based on tester feedback).

iPad app

The ESII tool iPad app is the main tool for field work. With it, users can go out into the field in order to define and characterize areas of a property in terms of observed ecosystem services and functions. The main part of the tool is a survey, where users indicate the types of habitat, vegetation, surface conditions, and other data that helps give an inventory of the properties current ecology. In addition to the survey, the iPad app allows users to draw new map boundaries around parcels, or edit existing maps. They can also take photos and add notes and other media.

Because so much field work is in areas without connectivity, we built the iPad app to allow the user to work even when they are not connected to the Internet. The app will download the maps and survey data into its cache for disconnected editing. Once the user gets back into network range, their work is synced with server resources (see “Web Tool” below) and their peers iPads. This is a key requirement for anyone doing remote work.

Web tool

The field data gathering starts with the web tool that we built - on the AngularJS platform. With it, users setup the data gathering projects (we call them Data Collection Efforts, or DCEs) and then, once the DCE is complete, run QA/QC on data gathered in the field. Once they’ve completed the QA/QC, they run the data through a series of ecological computation models.  Processed results are presented in reports that basically represent an environmental scorecard for the property.

Users may then use the “alternative analysis” functions of the web tool to create “what if” situations.

  • What if we remove this parking lot and replace it with a grassy meadow?
  • How does “scenario 2” compare with “scenario 3” in terms of carbon sequestration scores?

The web tool allows them to create such a scenario and then see how it impacts the scorecard. Using such a tool can inform changes in land management regimes and then allow companies to monitor the actual results and track progress according to defined metrics.


An example of the type of ecosystem services scores reporting found on our web tool. We can present the data as charts, or a symbolized map showing values.

Within the web tool there are complex models that take field-gathered inputs and use them to develop scores for properties in subsection and in total. Scores range across a variety of metrics related to a defined list of ecosystem services and functions.  In particular, we are looking at the “regulating services” which consist of:

  • carbon sequestration and climate regulation
  • waste decomposition and detoxification
  • purification of water and air

The models themselves have been progressively developed and refined over years and through many field trials by experts at Ecometrix. In the past, using the models to produce scores was a tedious and largely manual task that involved a long sequence of data transformations and format conversions; it required great care, meticulous attention to detail, and great patience. Depending on the size and conditions of a field collection effort, the typical turnaround time, from data collection to viewing results, could range from weeks to months. By automating and deploying the models in private cloud infrastructure, we’ve turned that process into a single-day operation; go out in the field in the morning to collect data, and by the afternoon, have the results.  The models themselves can now process field inputs in a matter of seconds.

Version One!

There is now light at the end of the tunnel(!), as we prepare for a Version 1 release at the end of December. Our initial users will be Dow employees who will use the ESII tool (as it has come to be known) at Dow sites worldwide. Their use of the tool will start the process towards helping Dow realize the goal of the Ecosystem Services Identification and Inventory program; to help the company save money by enacting environmental reforms. Their use of the tool will also help us as we build Version 2, which is slated for adoption by other companies keen on realizing the benefits of making measured progress in tracking and enhancing their natural assets.