<div dir="ltr">Good Day,<div><br></div><div>I have a MySQL db instance that I am "replicating" (also a means to clean up my data via python) to a postgres instance. initial i was creating  a points layers using lat and long fields in my db using SQLview using <br><br><i><b>ST_SETSRID(ST_POINT(point_longitude, point_latitude), 4326) as the_geom </b></i><br><br>I have some data that has 4 coordinate points and these are the corners of ploygons/areas of interest. Is it possible to use SQLviews in Geoserver to create polygons?</div><div><br></div><div>Has someone tried this? How best can one do this?</div><div><br></div><div>can i use something along the lines off...</div><div><br></div><div><i><b>ST_SETSRID(ST_POLYGON(point1xy, point2xy...pointZxy)</b></i><i><b>, 4326) as the_geom </b></i><br></div><div><i><b><br></b></i></div><div><i><b>?</b></i></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><span>Regards</span><br><br><span>Zibusiso M Ncube</span><br><br></div></div></div></div>