Opened 16 years ago
Closed 13 years ago
#13581 closed Cleanup/optimization (wontfix)
improve naming of default coordinates for GeoModelAdmin¶
| Reported by: | Tyler Erickson | Owned by: | nobody |
|---|---|---|---|
| Component: | GIS | Version: | 1.1 |
| Severity: | Normal | Keywords: | GeoModelAdmin |
| Cc: | Triage Stage: | Design decision needed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The GeoModelAdmin class currently has properties of default_lon and default_lat. While these are reasonable names when using an unprojected coordinate system, they are misleading if a subclass with another projection is used (such as the spherical mercator projection used by the class OSMGeoAdmin). This may lead to confused users, for example: http://code.djangoproject.com/ticket/11094.
I would suggest changing the default coordinate names to default_x and default_y.
Change History (5)
comment:1 by , 16 years ago
| Component: | Uncategorized → GIS |
|---|---|
| Triage Stage: | Unreviewed → Design decision needed |
comment:2 by , 15 years ago
| Severity: | → Normal |
|---|---|
| Type: | → Cleanup/optimization |
comment:3 by , 14 years ago
| UI/UX: | unset |
|---|
comment:5 by , 13 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
This isn't obviously worth the backwards incompatibility.
Change UI/UX from NULL to False.