gb-libs / pydantic-geojson

Pydantic validation for GeoJson
MIT License
27 stars 6 forks source link

Update LAT LON max #19

Closed JJardin77580 closed 1 year ago

JJardin77580 commented 1 year ago

IN RFC 7946 https://www.rfc-editor.org/rfc/rfc7946, the Latitude can be in the range -90 and 90 and longitude in the range -180 & 180 INCLUDE.

In this pr I therefore propose to do a check with GTE and LTE to include these limit values..

folt commented 1 year ago

Good point. You can add multiple tests for a given value. Feel free to add yourself to AUTHORS as Contributors

JJardin77580 commented 1 year ago

@folt it's good for me :smile: For you too ?

folt commented 1 year ago

Good job