unepwcmc/protected-planet-consumer — pull request #4 by migtorres (2014-10-28 16:00:35+00:00)
Title: Protected Planet Reader

In this pull request I have created new module that reads the protected planet api JSON, converts it to a Ruby hash and renders it in JSON merged with the GEF data.

There are 2 new modules:

ProtectedPlanetReader (generic reader)
GefConsumer (Adapts generic PP data to GEF demands)

There is also a new method on GefProtectedArea module that merges data from both sources (GEF and PP) before being rendered by the Api::GefController