1

I am trying to create polygons from a line layer with a spatial query in PostGIS

lines

The problem is I don't have a lot of information on the lines, only the id of each line and geometry.

1

check this references and try to build a query: http://postgis.net/docs/manual-2.0/ST_Polygonize.html http://postgis.net/docs/manual-2.0/ST_Union.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.