Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
TypeError: {'steps': [{'trimmed_geom': None, 'next_edge_id': 1104259508571, 'db_id': 15, 'city_name': 'Denham Springs', 'lat': 30.4753389421302, 'lon': -90.9601269552938, 'next_edge_name': 'US Hwy 190'}, {'trimmed_geom': 'LINESTRING (-90.9612010000000026 30.4754590000000007, -90.9613279999999946 30.4753089999999993, -90.9613700000000023 30.4752599999999987, -90.9615009999999984 30.4751049999999992, -90.9618980000000050 30.4746430000000004, -90.9620299999999986 30.4744899999999994, -90.9621839999999935 30.4743080000000006, -90.9623799999999960 30.4740800000000007, -90.9626499999999965 30.4737650000000002, -90.9626899999999949 30.4737200000000001, -90.9628000000000014 30.4735799999999983, -90.9629350000000017 30.4734209999999983, -90.9632000000000005 30.4731099999999984, -90.9633419999999973 30.4729460000000003, -90.9634800000000041 30.4727899999999998, -90.9635559999999970 30.4727020000000017, -90.9636100000000027 30.4726399999999984, -90.9637840000000040 30.4724380000000004, -90.9638599999999968 30.4723499999999987, -90.9639140000000026 30.4722860000000004, -90.9640760000000057 30.4720939999999985, -90.9641299999999973 30.4720300000000002, -90.9642400000000038 30.4719100000000012, -90.9647999999999968 30.4712700000000005, -90.9654299999999978 30.4705499999999994, -90.9655779999999936 30.4703769999999992, -90.9660099999999971 30.4698600000000006, -90.9670700000000068 30.4686200000000014, -90.9670909999999964 30.4685929999999985, -90.9671579999999977 30.4685150000000000, -90.9671799999999990 30.4684899999999992, -90.9673499999999962 30.4682920000000017, -90.9676999999999936 30.4678900000000006, -90.9678660000000008 30.4677040000000012, -90.9680400000000020 30.4675100000000008, -90.9681300000000022 30.4674000000000014, -90.9684010000000001 30.4671360000000000, -90.9688400000000001 30.4667099999999991, -90.9691600000000022 30.4664000000000001, -90.9695399999999950 30.4661200000000001, -90.9695679999999953 30.4661009999999983, -90.9696069999999963 30.4660750000000000, -90.9699999999999989 30.4658100000000012, -90.9701699999999960 30.4656899999999986, -90.9703829999999982 30.4655720000000017, -90.9705699999999950 30.4654699999999998, -90.9709500000000020 30.4652799999999999, -90.9710599999999943 30.4652199999999986, -90.9716140000000024 30.4650120000000015, -90.9716999999999985 30.4649800000000006, -90.9720400000000069 30.4648600000000016, -90.9720879999999994 30.4648429999999983, -90.9722100000000040 30.4648000000000003, -90.9728900000000067 30.4646000000000008, -90.9730399999999975 30.4645699999999984, -90.9731100000000055 30.4645599999999988, -90.9738799999999941 30.4644200000000005, -90.9745599999999968 30.4643300000000004, -90.9752500000000026 30.4642799999999987, -90.9770199999999960 30.4640999999999984, -90.9775599999999969 30.4640699999999995, -90.9777399999999972 30.4640599999999999, -90.9777899999999988 30.4640500000000003, -90.9778500000000037 30.4640500000000003, -90.9778689999999983 30.4640470000000008, -90.9779199999999975 30.4640400000000007, -90.9786969999999968 30.4639689999999987)', 'next_edge_id': 1104473115675, 'db_id': '1104259508571_1104473115675', 'city_name': None, 'lat': 30.463813, 'lon': -90.979928, 'next_edge_name': 'US Hwy 190'}, {'trimmed_geom': 'LINESTRING (-90.9900049999999965 30.4645370000000000, -90.9896289999999937 30.4644030000000008, -90.9868689999999987 30.4634520000000002, -90.9865199999999987 30.4633450000000003, -90.9860400000000027 30.4632599999999982, -90.9857379999999978 30.4632469999999991, -90.9848630000000043 30.4632709999999989, -90.9841660000000019 30.4633360000000017, -90.9817170000000033 30.4635889999999989, -90.9808100000000053 30.4636870000000002, -90.9801729999999935 30.4637409999999988)', 'next_edge_id': 1104473115676, 'db_id': '1104473115675_1104473115676', 'city_name': None, 'lat': 30.464537, 'lon': -90.990005, 'next_edge_name': 'US Hwy 190'}, {'trimmed_geom': 'LINESTRING (-91.0956879999999956 30.4527900000000002, -91.0950150000000036 30.4529029999999992, -91.0929019999999952 30.4532559999999997, -91.0918510000000055 30.4534160000000007, -91.0898719999999997 30.4537249999999986, -91.0877289999999959 30.4540700000000015, -91.0871400000000051 30.4541649999999997, -91.0845970000000023 30.4545740000000009, -91.0844150000000070 30.4545980000000007, -91.0813239999999951 30.4550829999999983, -91.0808410000000066 30.4551569999999998, -91.0769240000000053 30.4557879999999983, -91.0749940000000038 30.4560840000000006, -91.0745979999999946 30.4561479999999989, -91.0740279999999984 30.4562400000000011, -91.0720940000000070 30.4565389999999994, -91.0719270000000023 30.4565699999999993, -91.0696319999999986 30.4569440000000000, -91.0691269999999946 30.4570200000000000, -91.0681199999999933 30.4571849999999991, -91.0674970000000030 30.4572819999999993, -91.0670010000000048 30.4573639999999983, -91.0662279999999953 30.4574829999999999, -91.0645470000000046 30.4577509999999982, -91.0611799999999931 30.4582890000000006, -91.0581389999999971 30.4587770000000013, -91.0551229999999947 30.4592449999999992, -91.0512619999999941 30.4598450000000014, -91.0499200000000002 30.4600599999999986, -91.0489359999999976 30.4602180000000011, -91.0447379999999953 30.4608910000000002, -91.0419420000000059 30.4613270000000007, -91.0408670000000058 30.4615159999999996, -91.0396099999999961 30.4617100000000001, -91.0380190000000056 30.4619660000000003, -91.0379980000000018 30.4619689999999999, -91.0363289999999949 30.4622269999999986, -91.0352390000000042 30.4623959999999983, -91.0351260000000053 30.4624150000000000, -91.0346849999999961 30.4624910000000000, -91.0342050000000000 30.4625740000000000, -91.0318630000000013 30.4629410000000007, -91.0315640000000030 30.4629939999999984, -91.0310089999999974 30.4630800000000015, -91.0299770000000024 30.4632410000000000, -91.0295710000000042 30.4633080000000014, -91.0284189999999995 30.4634880000000017, -91.0280400000000043 30.4635530000000010, -91.0276800000000037 30.4636080000000007, -91.0274030000000067 30.4636549999999993, -91.0263759999999991 30.4638109999999998, -91.0262270000000058 30.4638379999999991, -91.0199020000000019 30.4648380000000003, -91.0184990000000056 30.4650640000000017, -91.0163780000000031 30.4653959999999984, -91.0161779999999965 30.4654300000000013, -91.0139039999999966 30.4657909999999994, -91.0100340000000045 30.4663970000000006, -91.0068679999999972 30.4669120000000007, -91.0046439999999990 30.4672610000000006, -91.0037209999999988 30.4673790000000011, -91.0029980000000052 30.4674359999999993, -91.0029080000000050 30.4674399999999999, -91.0028640000000024 30.4674419999999984, -91.0026679999999999 30.4674499999999995, -91.0022160000000042 30.4674690000000012, -91.0019839999999931 30.4674779999999998, -91.0016580000000062 30.4674869999999984, -91.0013370000000066 30.4674849999999999, -91.0007760000000019 30.4674660000000017, -91.0003739999999937 30.4674419999999984, -90.9998719999999963 30.4674000000000014, -90.9996579999999966 30.4673780000000001, -90.9993099999999941 30.4673319999999990, -90.9987009999999970 30.4672519999999984, -90.9979390000000024 30.4671219999999998, -90.9971000000000032 30.4669409999999985, -90.9961320000000029 30.4666390000000007, -90.9934360000000027 30.4656920000000007)', 'next_edge_id': 1104695122148, 'db_id': '1104473115676_1104695122148', 'city_name': None, 'lat': 30.45279, 'lon': -91.095688, 'next_edge_name': 'US Hwy 61'}]} is not JSON serializable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment