Skip to content
Advertisement

Getting error while tryng to add geometry (polygon z) to table

I’m trying to insert a row to postgres (postgis) table and getting error.

My table (geo_table) properties:

I’m trying to add data:

I’m getting the following error:

syntax error at or near “Z” …(name, geometry, in_use) VALUES (‘tb2’, POLYGON Z ((

what is the error ? and how can I add data ?

Advertisement

Answer

Try to include between single quotes ', it should work.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement