[Django] #31613: GeoModelAdmin's openlayers widget stroke width too thin for some linestrings

4 views
Skip to first unread message

Django

unread,
May 20, 2020, 5:53:54 AM5/20/20
to django-...@googlegroups.com
#31613: GeoModelAdmin's openlayers widget stroke width too thin for some
linestrings
--------------------------------------+------------------------
Reporter: ciex | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 3.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------+------------------------
The openlayers widget, which is used by GeoModelAdmin to display
geometries of model fields, is configured to display geometries of the
`linestring` type with a thicker stroke width than other geometries.
However, this only work if the geometry is not stored as a generic
geometry, but specifically as a linestring.

As the editor becomes unusable in this case - when linestring geometries
are stored as generic geometries - and other geometries are still
displayed in a usable manner, I propose applying the thicker stroke width
to all generic geometries as well.

I would like to attach screenshots to illustrate the problem but I can't
find documentation on how to do so.

I am a first-time contributor and would love to submit a pull request for
this but I am not sure of the correct procedure. If I open a pull request
how do I properly connect it to this ticket?

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

Django

unread,
May 26, 2020, 6:13:13 AM5/26/20
to django-...@googlegroups.com
#31613: GeoModelAdmin's openlayers widget stroke width too thin for some
linestrings
--------------------------------+------------------------------------
Reporter: Vincent Ahrend | Owner: nobody

Type: Bug | Status: new
Component: GIS | Version: 3.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+------------------------------------
Changes (by Carlton Gibson):

* stage: Unreviewed => Accepted


Comment:

Hi Vincent.

Thanks for the report. I'll accept this based on your comments, but if you
could upload screenshots, that would help other coming to read this.

There's a "Attachments" section just above the form to edit the issue
description where you can attach files.
(You can do [https://code.djangoproject.com/wiki/WikiFormatting#Images
inline images too].)


[https://docs.djangoproject.com/en/dev/internals/contributing/writing-code
/submitting-patches/ Here's a guide to submitting patches].

--
Ticket URL: <https://code.djangoproject.com/ticket/31613#comment:1>

Reply all
Reply to author
Forward
0 new messages