Hello!<div><br></div><div>I have a table with two text fields "lat" and "long" of character varying type.</div><div>I've created a field the_geom with type geometry.</div><div><br></div><div>How do I calculate the_geom field with an sql query?</div>
<div>The table is huge - about 1.5 million records, so I think the fastest way to do this is to use pointfromtext function, but I can't figure out how to put in the values of "lat" and "long" fields inside function arguments.</div>
<div><br></div><div>Can anyone help me out?</div><div><br></div><div>Thanks. </div>