mongoose-geojson-schema icon indicating copy to clipboard operation
mongoose-geojson-schema copied to clipboard

Schema definitions for GeoJSON types for use with Mongoose JS

Results 10 mongoose-geojson-schema issues
Sort by recently updated
recently updated
newest added

[https://datatracker.ietf.org/doc/html/rfc7946#section-3.2](https://datatracker.ietf.org/doc/html/rfc7946#section-3.2) `A Feature object has a member with the name "properties". The value of the properties member is an object (any JSON object or a JSON null value).` I found...

This: ```javascript var pointData = { type: 'Point', coordinates: [NaN, NaN] }; ``` passes the range checks but it shouldn't.

This package currently works by performing side effects. That definitely discourages its usage. I'm going to look for alternatives now, but I would have definitely used this package if there...

I'm trying to add the following object to mongoose ```json { "name": "Edificio Roberto Franco", "key": "Gb", "address": { "line1": "Cra. 1 # 18A - 12", "city": "Santa Fe", "state":...

When updating a document with a mongoose geojson schema, and trying to set it to null, when `required: false`, I'm getting : ``` error: TypeError: Cannot read property 'type' of...

I was trying out the sample code on version 2.1.2 and I keep getting the following error Typeerror: GeoJSON is not a constructor var test = new GeoJSON({ any: {...

Despite using `mongoose.Error()` when I use the Schema Types in another project I get this: ``` Unhandled rejection ValidationError: CastError: Cast to Point failed for value "[object Object]" at path...

A benefit of using Mongoose over raw Mongo is that field names are explicitly defined and validated. It would be nice if GeoJSON.Feature could allow defining specific 'properties' as well...

Bumps [get-func-name](https://github.com/chaijs/get-func-name) from 2.0.0 to 2.0.2. Release notes Sourced from get-func-name's releases. v2.0.2 What's Changed Revert previous changes that shipped this as an ES module. Full Changelog: https://github.com/chaijs/get-func-name/commits/v2.0.2 v2.0.1 What's...

dependencies

Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...

dependencies