felt / geo

A collection of GIS functions for Elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for `Feature` and `FeatureCollection` to Geo.JSON

achedeuzot opened this issue · comments

Hi @bryanjos ,

Thanks for this awesome library. Would it be possible to add the support for Feature and FeatureCollection to follow the specs of https://tools.ietf.org/html/rfc7946#section-3.2 ?

I see something similar exists in the library (see #74) with GeometryCollection with properties but it's not compatible with GeoJSON specs. I've been working with multiple GeoJSON files recently and had to first transform standard files for them to work with the lib.

What do you think about this ? Any way for the Geo.JSON module to work seamlessly with geojson files ? Thanks !

@achedeuzot #126 has been merged, and i'm curious if it will meet your needs?

Awesome @kenichi ! Thanks for your PR & @bryanjos for merging it into the lib ! I'll use it right away 😃