Added encoding and decoding of GeoJSON