{"repo":"echoes-xyz/mongoose-geojson-schema","free":true,"listed":false,"github":"https://github.com/echoes-xyz/mongoose-geojson-schema","clone":"git clone https://github.com/echoes-xyz/mongoose-geojson-schema.git","description":"Schema definitions for GeoJSON types for use with Mongoose JS","language":"JavaScript","stars":79,"topics":["javascript","mongoosejs","geojson-schema","geojson-spec","mongodb","mongoose-schema","geojson","schema-definitions","geojson-types"],"license":"MIT","category":"data-pipelines","readme_excerpt":"mongoose-geojson-schema About Schema definitions for GeoJSON types for use with Mongoose JS, a mongodb object model. The GeoJSON Schema specifies geospatial data types for use in JSON-based projects. This package aims to make those data types available to those wanting to employ them in a mongoose schema, with validation following the strict guidelines available on the GeoJSON website. The following data types are available: Point MultiPoint LineString MultiLineString Polygon MultiPolygon and the following super types: Geometry GeometryCollection Feature FeatureCollection Coordinate Reference Systems Following the GeoJSON spec, we assume a default coordinate reference system (CRS) of the WGS84 datum. That is, coordinates are validated to represent longitude and latitude units of decimal degrees. If you wish to disable this validation, set the crs property to a null or alternate value following the GeoJSON spec for Coordinate Reference Sytems Installation First install node.js, mongodb and mongoose Usage JavaScript TypeScript Testing See Also If you are developing in TypeScript, you can load GeoJSON Types to validate GeoJSON objects througout your code. Contributors Joshua Kopecek Mark Stosberg Ben Dalton Moritz Wenko License Copyright (c) 2014-2016, RideAmigos. (MIT License) See LICENSE for more info.","default_branch":null,"files":null,"tree":[],"storefront":"/r/echoes-xyz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/echoes-xyz/mongoose-geojson-schema/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}