<div dir="ltr">Dear Esteban, <div>Thanks for the advice! </div><div><br></div><div>I am receiving this error: SQL Error [XX000]: ERROR: Invalid 'type' value in MFJSON string. The types for my TemporalProperties objects are "Measure", on temporalGeometry it is "MovingPoint", and the top level type is Feature. </div><div><br></div><div>I suspect that I may not be formatting my MFJSON files correctly, is there a way to validate MFJSON easily? I can also send some examples if that is helpful. </div><div><br></div><div>All the Best, </div><div>Andrew</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Apr 11, 2025 at 12:25 PM Esteban Zimanyi <<a href="mailto:estebanzimanyi@gmail.com">estebanzimanyi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Dear Andrew<div><br></div><div>As part of our CI tests we do the following kind of queries to ensure that the input/output for MFJSON works correctly.</div><div><br></div><div>--------------------------------------------------------------</div><div>test=# SELECT COUNT(*) FROM tbl_tgeompoint WHERE asEWKT(temp) != asEWKT(tgeompointFromMFJSON(asMFJSON(temp)));<br> count<br>-------<br>     0<br>(1 row)</div><div><br></div><div><br>test=# SELECT COUNT(*) FROM tbl_tgeompoint3D WHERE asEWKT(temp) != asEWKT(tgeompointFromMFJSON(asMFJSON(temp)));<br> count<br>-------<br>     0<br>(1 row)</div><div><br></div><div>test=# SELECT COUNT(*) FROM tbl_tgeogpoint WHERE asEWKT(temp) != asEWKT(tgeompointFromMFJSON(asMFJSON(temp)));<br> count<br>-------<br>     0<br>(1 row)<br><br>test=# SELECT COUNT(*) FROM tbl_tgeogpoint3D WHERE asEWKT(temp) != asEWKT(tgeompointFromMFJSON(asMFJSON(temp)));<br> count<br>-------<br>     0<br>(1 row)<br>--------------------------------------------------------------<br><br></div><div>Therefore you should be able to able to input and output in MFJSON format.</div><div><br></div><div>Please let us know if you find any issues on this.</div><div><br></div><div>Esteban</div><div><br></div><div>On Fri, Apr 11, 2025 at 6:12 PM Andrew Koure via Mobilitydb-users <<a href="mailto:mobilitydb-users@lists.osgeo.org" target="_blank">mobilitydb-users@lists.osgeo.org</a>> wrote:<br>><br>> Hello All, <br>> I have a program that is generating moving feature JSON, and I am looking to load the JSON into MobilityDB. <br>><br>> Does anyone have guidance on how best to do this? I've tried looking through the documentation for MovingPandas, MobilityDB, and MEOS. Most of what I have found so far is for writing out to MFJSON. <br>><br>> Thanks in Advance, <br>> Andrew<br>> _______________________________________________<br>> Mobilitydb-users mailing list<br>> <a href="mailto:Mobilitydb-users@lists.osgeo.org" target="_blank">Mobilitydb-users@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/mobilitydb-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mobilitydb-users</a></div></div>
</div>
</blockquote></div>