#34607: function st_geomfromwkb(bytea) does not exist - geodjango tutorial
------------------------------------+--------------------------------------
     Reporter:  bjoh-01             |                    Owner:  nobody
         Type:  Uncategorized       |                   Status:  closed
    Component:  GIS                 |                  Version:  4.2
     Severity:  Normal              |               Resolution:  invalid
     Keywords:  geodjango, postgis  |             Triage Stage:  Unreviewed
    Has patch:  0                   |      Needs documentation:  0
  Needs tests:  0                   |  Patch needs improvement:  0
Easy pickings:  0                   |                    UI/UX:  0
------------------------------------+--------------------------------------

Comment (by Natalia Bidart):

 As an extra data point, and since I never used GeoDjango before, I
 followed the
 [https://docs.djangoproject.com/en/4.2/ref/contrib/gis/tutorial/ tutorial]
 and I did not encounter any issues. I used an Ubuntu system with PG 12 and
 PostGIS 3.3

 {{{
 gisdb=# SELECT postgis_full_version();
 postgis_full_version
 
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
  POSTGIS="3.3.2 4975da8" [EXTENSION] PGSQL="120" GEOS="3.8.0-CAPI-1.13.1 "
 PROJ="6.3.1" LIBXML="2.9.10" LIBJSON="0.13.1" LIBPROTOBUF="1.3.3"
 WAGYU="0.5.0 (Internal)"
 }}}

 Resulting in a working `WorldBorder` model:

 {{{
 >>>WorldBorder.objects.filter(mpoly__contains=pnt_wkt)
 <QuerySet [<WorldBorder: United States>]>
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34607#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701886dcad358-63b11c7d-10af-4a51-882e-2b5db3b8153d-000000%40eu-central-1.amazonses.com.

Reply via email to