#25873: GEOSGEometry handles srid parameter differently for EWKB and EWKT input ----------------------------+-------------------------------------- Reporter: sir-sigurd | Owner: sir-sigurd Type: Bug | Status: assigned Component: GIS | Version: 1.9 Severity: Normal | Resolution: Keywords: | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ----------------------------+--------------------------------------
Comment (by jtiai): I think it's really ambiguous to let same thing to be defined in two places, specially when explicit SRID is given. If that value would be implicit then using as a default would be fine. One may think that resulting geometry does have SRID set to srid parameter (and possibly transformation has taken place). I think raisin error would be proper action here if SRIDs don't match since programmer must know at this point that geometry is in some specific format. It would give at least surprise to everybody. -- Ticket URL: <https://code.djangoproject.com/ticket/25873#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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.523d43f2fd36eed91753e4c41d177c70%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.