<div dir="ltr">> Has anyone got experience in storing geometries in variables, <div>> so that these can be used in a program?<div><br></div><div>psql ( postgres client ! )  has an advanced feature:  variables </div><div><i>"Variables are simply name/value pairs, where the value can be any string of any length."</i></div><div>so you have to use  the string format of the geometry</div><div><a href="https://www.postgresql.org/docs/12/app-psql.html#APP-PSQL-VARIABLES">https://www.postgresql.org/docs/12/app-psql.html#APP-PSQL-VARIABLES</a><br></div><div><a href="https://stackoverflow.com/questions/36959/how-do-you-use-script-variables-in-psql">https://stackoverflow.com/questions/36959/how-do-you-use-script-variables-in-psql</a><br></div><div><br></div><div>Imre</div><div><br></div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Shaozhong SHI <<a href="mailto:shishaozhong@gmail.com">shishaozhong@gmail.com</a>> ezt írta (időpont: 2020. aug. 21., P, 14:54):<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">Has anyone got experience in storing geometries in variables, so that these can be used in a program?<div><br></div><div>Regards,</div><div><br></div><div>Shao</div></div>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></blockquote></div>