﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
20998	Form GIS widgets render() lack of modularity	Mathieu Leplatre	nobody	"When subclassing GIS form widgets, there should be a way to override geometry serialization, without having to duplicate reprojection behaviour.

https://github.com/django/django/blob/1.6b2/django/contrib/gis/forms/widgets.py#L37-L74

I propose to add some additional private methods:

* _deserialize:  string (wkt) to geos (geos)
* _transform: from map widget to model projection
* _serialize: geometry to string (wkt)

This would open doors to widgets that support other representation formats (geojson, topojson, ...)
"	Cleanup/optimization	closed	GIS	1.6-beta-1	Normal	fixed	refactor	Claude Paroz	Accepted	1	0	0	0	0	0
