Skip to content

Instantly share code, notes, and snippets.

@jmealo
Created April 19, 2013 01:40
Show Gist options
  • Save jmealo/5417527 to your computer and use it in GitHub Desktop.
Save jmealo/5417527 to your computer and use it in GitHub Desktop.
MongoError: Can't extract geo keys from object, malformed geometry?:
{
"type": "LineString",
"coordinates": [
[
-75.43241,
40.122597
],
[
-75.432447,
40.122651
],
[
-75.432509,
40.122723
],
[
-75.432541,
40.122749
],
[
-75.432553,
40.122767
],
[
-75.432584,
40.12279
],
[
-75.432618,
40.122808
],
[
-75.432658,
40.122839
],
[
-75.432738,
40.122879
],
[
-75.432849,
40.122865
],
[
-75.432937,
40.122825
],
[
-75.433014,
40.122788
],
[
-75.433031,
40.12273
],
[
-75.433038,
40.122707
],
[
-75.433071,
40.122657
],
[
-75.433094,
40.122644
],
[
-75.433202,
40.122634
],
[
-75.433315,
40.12262
],
[
-75.433407,
40.12262
],
[
-75.433515,
40.122647
],
[
-75.433582,
40.122651
],
[
-75.433645,
40.122637
],
[
-75.433737,
40.122596
],
[
-75.433815,
40.122555
],
[
-75.433917,
40.122515
],
[
-75.434024,
40.122478
],
[
-75.434053,
40.122469
],
[
-75.43412,
40.122451
],
[
-75.434185,
40.122441
],
[
-75.434231,
40.122428
],
[
-75.434336,
40.1224
],
[
-75.434404,
40.122382
],
[
-75.43443,
40.122373
],
[
-75.434487,
40.122337
],
[
-75.434541,
40.122296
],
[
-75.434589,
40.122264
],
[
-75.43463,
40.122237
],
[
-75.434727,
40.122147
],
[
-75.434777,
40.122074
],
[
-75.434805,
40.122025
],
[
-75.434841,
40.121975
],
[
-75.434889,
40.121898
],
[
-75.434916,
40.121885
],
[
-75.435007,
40.121835
],
[
-75.435017,
40.121817
],
[
-75.43504,
40.121731
],
[
-75.435055,
40.121681
],
[
-75.435064,
40.121659
],
[
-75.435089,
40.121636
],
[
-75.43516,
40.121613
],
[
-75.435181,
40.121591
],
[
-75.435238,
40.121519
],
[
-75.435279,
40.121451
],
[
-75.435292,
40.121433
],
[
-75.435344,
40.121401
],
[
-75.435344,
40.121356
],
[
-75.435374,
40.121342
],
[
-75.435395,
40.121347
],
[
-75.435432,
40.121365
],
[
-75.43546,
40.121356
],
[
-75.435489,
40.121306
],
[
-75.435528,
40.121247
],
[
-75.435571,
40.121175
],
[
-75.435587,
40.121107
],
[
-75.435581,
40.121026
],
[
-75.435578,
40.120941
],
[
-75.435607,
40.120855
],
[
-75.435645,
40.120774
],
[
-75.435671,
40.120693
],
[
-75.4357,
40.120629
],
[
-75.435705,
40.12062
],
[
-75.43571,
40.120571
],
[
-75.435701,
40.120508
],
[
-75.435707,
40.120494
],
[
-75.43571,
40.120485
],
[
-75.43572,
40.120472
],
[
-75.435729,
40.120449
],
[
-75.435738,
40.120426
],
[
-75.435749,
40.120395
],
[
-75.435765,
40.120368
],
[
-75.435774,
40.120341
],
[
-75.435783,
40.120327
],
[
-75.435796,
40.120327
],
[
-75.435798,
40.120327
],
[
-75.435819,
40.120323
],
[
-75.435838,
40.120318
],
[
-75.435857,
40.120313
],
[
-75.435872,
40.120309
],
[
-75.435887,
40.1203
],
[
-75.435912,
40.120277
],
[
-75.435918,
40.120268
],
[
-75.435928,
40.12025
],
[
-75.435933,
40.120232
],
[
-75.435939,
40.120219
],
[
-75.435948,
40.1202
],
[
-75.435962,
40.120182
],
[
-75.435976,
40.120164
],
[
-75.435986,
40.120155
],
[
-75.435996,
40.120142
],
[
-75.436019,
40.12011
],
[
-75.43603,
40.120097
],
[
-75.43604,
40.120083
],
[
-75.43605,
40.120074
],
[
-75.43606,
40.12006
],
[
-75.436077,
40.120042
],
[
-75.436098,
40.12002
],
[
-75.436108,
40.120006
],
[
-75.436118,
40.119993
],
[
-75.436129,
40.119984
],
[
-75.436139,
40.11997
],
[
-75.436153,
40.119961
],
[
-75.436168,
40.119947
],
[
-75.436182,
40.119938
],
[
-75.436192,
40.119925
],
[
-75.436203,
40.119916
],
[
-75.436217,
40.119902
],
[
-75.436227,
40.119884
],
[
-75.43623,
40.119871
],
[
-75.436229,
40.119848
],
[
-75.436231,
40.119835
],
[
-75.436237,
40.119821
],
[
-75.436239,
40.119807
],
[
-75.436237,
40.119794
],
[
-75.436235,
40.11978
],
[
-75.436231,
40.119749
],
[
-75.43623,
40.11974
],
[
-75.436228,
40.119726
],
[
-75.436222,
40.119713
],
[
-75.436217,
40.119704
],
[
-75.436207,
40.119695
],
[
-75.436201,
40.119681
],
[
-75.436191,
40.119668
],
[
-75.436191,
40.119667
],
[
-75.43619,
40.119654
],
[
-75.436184,
40.119641
],
[
-75.43618,
40.119614
],
[
-75.436178,
40.1196
],
[
-75.436181,
40.119578
],
[
-75.436186,
40.119564
],
[
-75.436193,
40.119551
],
[
-75.4362,
40.119533
],
[
-75.436207,
40.119515
],
[
-75.436213,
40.119501
],
[
-75.436219,
40.119488
],
[
-75.436223,
40.119474
],
[
-75.436225,
40.119461
],
[
-75.436226,
40.119452
],
[
-75.436228,
40.119438
],
[
-75.436228,
40.119429
],
[
-75.436229,
40.119416
],
[
-75.43623,
40.119407
],
[
-75.436229,
40.119393
],
[
-75.436231,
40.11938
],
[
-75.436233,
40.119367
],
[
-75.436233,
40.119366
],
[
-75.436236,
40.119352
],
[
-75.436238,
40.119339
],
[
-75.436239,
40.119325
],
[
-75.436239,
40.119316
],
[
-75.43624,
40.119303
],
[
-75.43624,
40.119289
],
[
-75.436238,
40.119276
],
[
-75.436237,
40.119253
],
[
-75.436238,
40.11924
],
[
-75.436238,
40.119226
],
[
-75.436236,
40.119217
],
[
-75.436231,
40.119204
],
[
-75.436228,
40.11919
],
[
-75.436229,
40.119172
],
[
-75.436228,
40.119163
],
[
-75.436229,
40.119145
],
[
-75.436235,
40.119127
],
[
-75.436234,
40.119118
],
[
-75.436259,
40.119105
],
[
-75.436293,
40.119091
],
[
-75.436308,
40.119077
],
[
-75.436324,
40.119055
],
[
-75.43633,
40.119037
],
[
-75.436328,
40.119023
],
[
-75.436326,
40.11901
],
[
-75.436328,
40.119001
],
[
-75.436327,
40.118987
],
[
-75.436321,
40.118974
],
[
-75.436311,
40.11896
],
[
-75.436305,
40.118951
],
[
-75.436299,
40.118938
],
[
-75.436298,
40.118924
],
[
-75.4363,
40.118911
],
[
-75.436302,
40.118897
],
[
-75.436308,
40.118888
],
[
-75.436311,
40.118875
],
[
-75.436317,
40.118866
],
[
-75.436323,
40.118852
],
[
-75.436333,
40.118834
],
[
-75.436343,
40.118825
],
[
-75.43635,
40.118816
],
[
-75.436359,
40.118798
],
[
-75.436361,
40.118784
],
[
-75.436364,
40.118775
],
[
-75.436366,
40.118757
],
[
-75.436363,
40.118739
],
[
-75.436361,
40.118726
],
[
-75.436355,
40.118712
],
[
-75.436353,
40.118694
],
[
-75.436351,
40.118685
],
[
-75.436354,
40.118672
],
[
-75.436356,
40.118663
],
[
-75.436362,
40.118645
],
[
-75.436372,
40.118631
],
[
-75.436375,
40.118622
],
[
-75.436381,
40.118609
],
[
-75.436387,
40.118595
],
[
-75.436396,
40.118577
],
[
-75.436406,
40.118563
],
[
-75.436416,
40.118545
],
[
-75.436426,
40.118532
],
[
-75.436432,
40.118518
],
[
-75.436434,
40.118505
],
[
-75.436436,
40.118496
],
[
-75.436434,
40.118482
],
[
-75.436436,
40.118464
],
[
-75.436435,
40.118455
],
[
-75.436431,
40.118428
],
[
-75.436429,
40.118415
],
[
-75.436427,
40.118401
],
[
-75.436424,
40.118383
],
[
-75.436416,
40.118356
],
[
-75.436407,
40.118343
],
[
-75.436389,
40.118325
],
[
-75.436375,
40.11832
],
[
-75.436358,
40.118311
],
[
-75.436352,
40.118308
],
[
-75.436342,
40.118302
],
[
-75.436324,
40.118293
],
[
-75.436308,
40.118289
],
[
-75.436294,
40.11828
],
[
-75.436284,
40.118267
],
[
-75.436279,
40.118258
],
[
-75.436282,
40.118249
],
[
-75.436293,
40.118244
],
[
-75.436316,
40.118239
],
[
-75.436344,
40.118235
],
[
-75.436356,
40.118235
],
[
-75.436368,
40.118235
],
[
-75.436379,
40.118235
],
[
-75.436388,
40.118235
],
[
-75.436407,
40.11823
],
[
-75.436418,
40.118226
],
[
-75.436433,
40.118217
],
[
-75.436443,
40.118207
],
[
-75.436453,
40.118194
],
[
-75.436468,
40.11818
],
[
-75.436478,
40.118171
],
[
-75.436488,
40.118158
],
[
-75.436498,
40.118144
],
[
-75.436513,
40.118135
],
[
-75.436523,
40.118126
],
[
-75.436534,
40.118113
],
[
-75.436532,
40.118099
],
[
-75.43653,
40.118086
],
[
-75.43652,
40.118072
],
[
-75.436519,
40.118063
],
[
-75.436517,
40.11805
],
[
-75.436527,
40.118036
],
[
-75.436529,
40.118027
],
[
-75.436548,
40.118018
],
[
-75.436563,
40.118013
],
[
-75.436578,
40.118004
],
[
-75.436608,
40.117995
],
[
-75.436627,
40.117991
],
[
-75.436643,
40.117986
],
[
-75.436661,
40.117972
],
[
-75.43668,
40.117968
],
[
-75.436696,
40.117968
],
[
-75.436715,
40.117963
],
[
-75.436738,
40.117959
],
[
-75.436754,
40.117954
],
[
-75.436773,
40.117945
],
[
-75.436787,
40.11794
],
[
-75.436798,
40.117931
],
[
-75.436817,
40.117922
],
[
-75.436835,
40.117909
],
[
-75.436853,
40.1179
],
[
-75.436864,
40.117891
],
[
-75.436879,
40.117881
],
[
-75.436894,
40.117872
],
[
-75.436911,
40.117854
],
[
-75.436925,
40.117845
],
[
-75.436936,
40.117836
],
[
-75.436946,
40.117823
],
[
-75.436957,
40.117814
],
[
-75.436971,
40.1178
],
[
-75.436973,
40.117791
],
[
-75.436991,
40.117773
],
[
-75.437,
40.117755
],
[
-75.437002,
40.117741
],
[
-75.437008,
40.117723
],
[
-75.43701,
40.11771
],
[
-75.437016,
40.117692
],
[
-75.437021,
40.117678
],
[
-75.437024,
40.117669
],
[
-75.437026,
40.117656
],
[
-75.437028,
40.117642
],
[
-75.437026,
40.117624
],
[
-75.437015,
40.117606
],
[
-75.436998,
40.117597
],
[
-75.436985,
40.117593
],
[
-75.436964,
40.117584
],
[
-75.436956,
40.117578
],
[
-75.436947,
40.11757
],
[
-75.436938,
40.117561
],
[
-75.436927,
40.117548
],
[
-75.436922,
40.117534
],
[
-75.436916,
40.117521
],
[
-75.436914,
40.117507
],
[
-75.436912,
40.117494
],
[
-75.436918,
40.117485
],
[
-75.436937,
40.117476
],
[
-75.436956,
40.117471
],
[
-75.436976,
40.117467
],
[
-75.436991,
40.117462
],
[
-75.43701,
40.117458
],
[
-75.437024,
40.117444
],
[
-75.437039,
40.117435
],
[
-75.437049,
40.117421
],
[
-75.437055,
40.117412
],
[
-75.437057,
40.117399
],
[
-75.437053,
40.117372
],
[
-75.437047,
40.117354
],
[
-75.437046,
40.117345
],
[
-75.43704,
40.117327
],
[
-75.437034,
40.117318
],
[
-75.437024,
40.117304
],
[
-75.437013,
40.117286
],
[
-75.437012,
40.117273
],
[
-75.43701,
40.117259
],
[
-75.437008,
40.11725
],
[
-75.437009,
40.117228
],
[
-75.437019,
40.11721
],
[
-75.437029,
40.117201
],
[
-75.437044,
40.117192
],
[
-75.437054,
40.117178
],
[
-75.437064,
40.11716
],
[
-75.437073,
40.117142
],
[
-75.437079,
40.117128
],
[
-75.437081,
40.117115
],
[
-75.43708,
40.117106
],
[
-75.437089,
40.117088
],
[
-75.437087,
40.117074
],
[
-75.437089,
40.117061
],
[
-75.437095,
40.117047
],
[
-75.437097,
40.117029
],
[
-75.437099,
40.117016
],
[
-75.437102,
40.117007
],
[
-75.437108,
40.116993
],
[
-75.437113,
40.116971
],
[
-75.437119,
40.116957
],
[
-75.437124,
40.116939
],
[
-75.437122,
40.116926
],
[
-75.437121,
40.116917
],
[
-75.437119,
40.116903
],
[
-75.437117,
40.11689
],
[
-75.437122,
40.116867
],
[
-75.437124,
40.116853
],
[
-75.437126,
40.11684
],
[
-75.437132,
40.116822
],
[
-75.437137,
40.116804
],
[
-75.437138,
40.116786
],
[
-75.437144,
40.116768
],
[
-75.437147,
40.116759
],
[
-75.437157,
40.116745
],
[
-75.437166,
40.116732
],
[
-75.437172,
40.116718
],
[
-75.437178,
40.116705
],
[
-75.437188,
40.116691
],
[
-75.437191,
40.116682
],
[
-75.437196,
40.116659
],
[
-75.437198,
40.11665
],
[
-75.4372,
40.116632
],
[
-75.437202,
40.116619
],
[
-75.437204,
40.116601
],
[
-75.437209,
40.116583
],
[
-75.437215,
40.116569
],
[
-75.437221,
40.116551
],
[
-75.437223,
40.116542
],
[
-75.437228,
40.11652
],
[
-75.437234,
40.116506
],
[
-75.43724,
40.116488
],
[
-75.437242,
40.116479
],
[
-75.437245,
40.11647
],
[
-75.437251,
40.116457
],
[
-75.437253,
40.116448
],
[
-75.437256,
40.116439
],
[
-75.437265,
40.116416
],
[
-75.437272,
40.116407
],
[
-75.437281,
40.116389
],
[
-75.437288,
40.11638
],
[
-75.437297,
40.116362
],
[
-75.437307,
40.116348
],
[
-75.437314,
40.116339
],
[
-75.437324,
40.116326
],
[
-75.437342,
40.116312
],
[
-75.437356,
40.116298
],
[
-75.437366,
40.116285
],
[
-75.437384,
40.116271
],
[
-75.437399,
40.116267
],
[
-75.437425,
40.116249
],
[
-75.43744,
40.116244
],
[
-75.437451,
40.11624
],
[
-75.437466,
40.116231
],
[
-75.437481,
40.11623
],
[
-75.437502,
40.116221
],
[
-75.437518,
40.116217
],
[
-75.437544,
40.116203
],
[
-75.437555,
40.116199
],
[
-75.437583,
40.116194
],
[
-75.437601,
40.116185
],
[
-75.437612,
40.116176
],
[
-75.437627,
40.116171
],
[
-75.437652,
40.116158
],
[
-75.437667,
40.116144
],
[
-75.437668,
40.116126
],
[
-75.43767,
40.116113
],
[
-75.437669,
40.116099
],
[
-75.437665,
40.116077
],
[
-75.437664,
40.116063
],
[
-75.43766,
40.116041
],
[
-75.437655,
40.116032
],
[
-75.437641,
40.116018
],
[
-75.437635,
40.116009
],
[
-75.437627,
40.115987
],
[
-75.437631,
40.115975
],
[
-75.437632,
40.115955
],
[
-75.437648,
40.115923
],
[
-75.437651,
40.115856
],
[
-75.437667,
40.115797
],
[
-75.437663,
40.115784
],
[
-75.437641,
40.115761
],
[
-75.437594,
40.115739
],
[
-75.437573,
40.115721
],
[
-75.43756,
40.115708
],
[
-75.437551,
40.115688
],
[
-75.437549,
40.115685
],
[
-75.437551,
40.115682
],
[
-75.437568,
40.115644
],
[
-75.437579,
40.115617
],
[
-75.437598,
40.115586
],
[
-75.437609,
40.115577
],
[
-75.437613,
40.11555
],
[
-75.437598,
40.115482
],
[
-75.437594,
40.115464
],
[
-75.437585,
40.115419
],
[
-75.437565,
40.115347
],
[
-75.437542,
40.115302
],
[
-75.437519,
40.115257
],
[
-75.437511,
40.115212
],
[
-75.437524,
40.115167
],
[
-75.437501,
40.115145
],
[
-75.437475,
40.115122
],
[
-75.437414,
40.115086
],
[
-75.437342,
40.115042
],
[
-75.437342,
40.115042
],
[
-75.437332,
40.115024
],
[
-75.437339,
40.115011
],
[
-75.437358,
40.11497
],
[
-75.437365,
40.114961
],
[
-75.437413,
40.114902
],
[
-75.437466,
40.114843
],
[
-75.437543,
40.114674
],
[
-75.437711,
40.114302
],
[
-75.437918,
40.113859
],
[
-75.43791,
40.113859
],
[
-75.437911,
40.113837
],
[
-75.437919,
40.113823
],
[
-75.437933,
40.113805
],
[
-75.437938,
40.113774
],
[
-75.437962,
40.113742
],
[
-75.438002,
40.113697
],
[
-75.438034,
40.11367
],
[
-75.438061,
40.113647
],
[
-75.438138,
40.11362
],
[
-75.43815,
40.113624
],
[
-75.438185,
40.113647
],
[
-75.438211,
40.113673
],
[
-75.438225,
40.113673
],
[
-75.438285,
40.11366
],
[
-75.438342,
40.113641
],
[
-75.438432,
40.113623
],
[
-75.438516,
40.113605
],
[
-75.43856,
40.113605
],
[
-75.438592,
40.113604
],
[
-75.438611,
40.113604
],
[
-75.438639,
40.113595
],
[
-75.438666,
40.113577
],
[
-75.438693,
40.113559
],
[
-75.438741,
40.113532
],
[
-75.438816,
40.113491
],
[
-75.438856,
40.113455
],
[
-75.438868,
40.113387
],
[
-75.438868,
40.11338
],
[
-75.438868,
40.11336
],
[
-75.43888,
40.113324
],
[
-75.43892,
40.113261
],
[
-75.438958,
40.113198
],
[
-75.438997,
40.113134
],
[
-75.439036,
40.113067
],
[
-75.43905,
40.113026
],
[
-75.439067,
40.112968
],
[
-75.439103,
40.112913
],
[
-75.439133,
40.112864
],
[
-75.439163,
40.112796
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment