improve naming of default coordinates for GeoModelAdmin¶
|Reported by:||tylere||Owned by:||nobody|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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 Changed 6 years ago by russellm
- Component changed from Uncategorized to GIS
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Design decision needed