mapbox / geojsonhint

IMPORTANT: This repo will be archived. Use @placemarkio/check-geojson instead
ISC License
258 stars 37 forks source link

Change error to warning message #58

Closed rkaravia closed 7 years ago

rkaravia commented 7 years ago

For positions with more than 3 elements, output a warning instead of an error message.

This corresponds to the specification in RFC7946:

"Implementations SHOULD NOT extend positions beyond three elements because the semantics of extra elements are unspecified and ambiguous."

Fixes #57