RE: pgr_alphashape is returning a geometry collection?

2024-02-17 Thread Dapeng Wang
I think this is correct, your query statement is 'SELECT pgr_alphaShape((st_collect(v.the_geom))) as geom FROM ways_vertices_pgr as v, result as r WHERE r.node = v.id;'. The return value of the pgr_alphaShape function is a GEOMETRY COLLECTION. For reference, please seehttps://

RE: pgr_alphashape is returning a geometry collection?

2024-02-06 Thread Alexandre Neto
Sure, SELECT version(); > "PostgreSQL 15.5, compiled by Visual C++ build 1914, 64-bit" SELECT PostGIS_full_version(); > "POSTGIS=""3.4.1 3.4.1"" [EXTENSION] PGSQL=""150"" > GEOS=""3.12.1-CAPI-1.18.1"" PROJ=""8.2.1 NETWORK_ENABLED=OFF > URL_ENDPOINT=https://cdn.proj.org

Re: pgr_alphashape is returning a geometry collection?

2024-02-05 Thread Dapeng Wang
The function pgr_alphashape returns "GEOMETRY COLLECTION" as its result. For reference, please see https://docs.pgrouting.org/3.6/en/pgr_alphaShape.html. In PostGIS, the function used is ST_AlphaShape, which returns a geometry. An alpha-shape is a (usually) concave polygonal geometry that

RE: pgr_alphashape is returning a geometry collection?

2024-02-05 Thread Regina Obe
Can you give us an example you are getting this for? It should be returning a polygon. From: Alexandre Neto Sent: Monday, February 5, 2024 7:14 AM To: PostGIS Users Discussion Subject: pgr_alphashape is returning a geometry collection? I am trying to use pgr_alphashape to convert a