;> > as result. But it's not even the same parallelogram that Ricardo is
>> > reporting. Where did you get that input from?
>> >
>> > I attached the rendering of the input and output geometries that I got.
>> > The geometries look identical to what Ricardo showed.
>> >
>> > [1]
>> > https://lists.osgeo.org/pipermail/postgis-users/attachments/20240308/e5c3247e/attachment.png
>> >
>> > --
>> > Erik
>> >
>>
as result. But it's not even the same parallelogram that Ricardo is
> > reporting. Where did you get that input from?
> >
> > I attached the rendering of the input and output geometries that I got.
> > The geometries look identical to what Ricardo showed.
> >
> > [1]
> https://lists.osgeo.org/pipermail/postgis-users/attachments/20240308/e5c3247e/attachment.png
> >
> > --
> > Erik
> >
>
>
gt; reporting. Where did you get that input from?
>
> I attached the rendering of the input and output geometries that I got.
> The geometries look identical to what Ricardo showed.
>
> [1]
> https://lists.osgeo.org/pipermail/postgis-users/attachments/20240308/e5c3247e/attachment.png
>
> --
> Erik
>
ostgis-users/attachments/20240308/e5c3247e/attachment.png
--
Erik
Why do you think this result is wrong? It's the same as the result I'm
seeing, and is an oriented rectangle enclosing the input (apart from minor
issues with numerical precision).
On Fri, Mar 8, 2024 at 12:32 PM Erik Wienhold wrote:
> On 2024-03-08 20:36 +0100, Martin Davis wrote:
> > I can't
On 2024-03-08 20:36 +0100, Martin Davis wrote:
> I can't reproduce this with GEOS 3.12 (either via PostGIS
> ST_OrientedEnvelope or natively in GEOS). The output is rectangular and as
> expected.
>
> SELECT ST_AsText(ST_OrientedEnvelope('POLYGON((-71.25961696926942
>
I can't reproduce this with GEOS 3.12 (either via PostGIS
ST_OrientedEnvelope or natively in GEOS). The output is rectangular and as
expected.
SELECT ST_AsText(ST_OrientedEnvelope('POLYGON((-71.25961696926942
42.470522973159675,-71.25978846747648 42.470624424600906,-71.25973918365264
If you take your polygon over to the GEOS project, this should be filed as an
issue there.
Thanks,
P
> On Mar 8, 2024, at 10:35 AM, Ricardo Mayerhofer wrote:
>
> Thanks for the reply! This is my current PostGIS version:
>
> POSTGIS="3.4.0 0874ea3" [EXTENSION] PGSQL="150"
Thanks for the reply! This is my current PostGIS version:
POSTGIS="3.4.0 0874ea3" [EXTENSION] PGSQL="150"
GEOS="3.11.2-CAPI-1.17.2" PROJ="8.0.1 NETWORK_ENABLED=OFF
URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/tmp/proj
DATABASE_PATH=/rdsdbbin/postgres-15.5.R1/share/proj/proj.db"
On 2024-03-07 07:05 +0100, Ricardo Mayerhofer wrote:
> I have a GIS application with multiple polygons where I'd like to get the
> rotated bounding box of the polygons. ST_OrientedEnvelope seems to be the
> right function, but in my case, is returning a parallelogram instead of a
> rectangle.
>
>
10 matches
Mail list logo