Hello everybody,<br><br>I'm new on Postgis and I need help to create / fill a table.<br><br>I have to make a column which represent a square (min_lati, min_longi, max_lati, max_longi). I've done this :<br><br>CREATE TABLE geo_countries (<br>
        id bigint PRIMARY KEY,<br>        box geography(POLYGON,4326));<br><br>INSERT INTO geo_countries (id, box)<br>    SELECT id, ST_MakePolygon(??) FROM countries;<br><br>Is the POLYGON type is correct to make this ?<br>
<br>The "countries" table have the fields min/max lati/longi, but I don't know how to make a polygon with SQL command...<br><br>Can you help me ?<br><br>Thank you very much,<br><br>Aurélien<br><br>