Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
MongoDB is a scalable, high-performance, open source, document-oriented database. It supports a large number of languages and application development platforms.
1
vote
"'location object expected, location array not in correct format" error while trying insert ...
MongoDB expects a well-formatted GeoJSON geometry as per RFC 7946 - not sure if your attempted format is a legacy one of some sort?
Example on Humongous MongoDB Playground …
1
vote
Accepted
How to find inner points near to corner of rectangular GeoJSON feature?
So, to continue my answer in the linked question (thus, sticking to Turf.js as you suggested), one simple solution would be to scale down each polygon by, say, 10% and use those corner points.
Add Tur …
4
votes
Accepted
How to check if GeoJSON feature is in rectangular shape and find corner points?
You could sum up angles. If you want to stick to Turf.js, try
function isRectangle(turfInputPolygon, threshold) {
var threshold = threshold || 2;
var turfPolygon = turfInputPolygon;
if (turf …