Re: [Geotools-devel] Requirement of ID in Feature of GeoJSON library

2017-06-16 Thread Jody Garnett
Our feature model is provided by the OGC and requires each feature have an identifier. So although geojson may not require an id, geotools does (for example some feature collections store the features by id in a hashmap). If you want you could make an option to avoid outputting the id when

[Geotools-devel] Requirement of ID in Feature of GeoJSON library

2017-06-16 Thread Tim Falony
Hello, The spec says ID of a feature is not a MUST but SHOULD be included if there is a commonly used identifier: https://tools.ietf.org/html/rfc7946#section-3.2 If a Feature has a commonly used identifier, that identifier SHOULD be included as a member of the Feature object with the