﻿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
20415	"broken SRID in gis.admin javascript when ""USE_THOUSAND_SEPARATOR = True"""	pierremarc07@…	Tim Graham	"broken SRID in gis.admin javascript when ""USE_THOUSAND_SEPARATOR = True""

> geodjango_mpoly.get_ewkt = function(feat){return 'SRID=900 913;' + geodjango_mpoly.wkt_f.write(feat);}

the following change in contrib/gis/templates/gis/admin/openlayers.js fixed the problem

{{{
- {{ module }}.get_ewkt = function(feat){return 'SRID={{ srid }};' + {{ module }}.wkt_f.write(feat);}
+ {{ module }}.get_ewkt = function(feat){return 'SRID={% localize off %}{{ srid }}{% endlocalize %};' + {{ module }}.wkt_f.write(feat);}
}}}



 "	Bug	closed	GIS	1.8	Normal	fixed	gis, admin, srid		Ready for checkin	1	0	0	0	0	0
