I am trying to make a buffer(0) as a fix-geometry process in PostGIS 2.2.2. It like this:
SELECT ST_Buffer(ST_GeomFromText('POINT(100 90)'),0,4);
I am using sources from this man-page. It creates an output that goes like this:
----------------------
010300000000000000000
(1 row)
But I am not sure if I am actually just simulating the creation of a buffer in PostGIS or I am actually making a buffer on database#scheme.table
What I would like to is to make an ST_Buffer of all the geometries (polygon) in the table. Seems like getting something wrong. The syntax is foreign to me though.
I have experienced that it isn't like: ST_Buffer(scheme.table, 0) but how am I to understand these examples?
SELECT ST_Buffer('scheme.table', 0);
Which outputs: ERROR: parse error - invalid geometry HINT: "im" <-- parse error at position 2 within geometry CONTEXT: SQL function "st_buffer" statement 1