How to force gis to use period as a decimal point

The GEOS’ GEOSGeometry module produces numbers according to the locale, which makes some fields non-conformant to the ISO standard e.g. dataset extent (floats with comma as decimal separator). How do you force GEOS to produce numbers with period as decimal? Thank you.

At GEOS level, the locale doesn’t have any impact. If you talk about printing geometry extents/coordinates in a template, then you should look at the localize / unlocalize tags and filters: Format localization | Django documentation | Django

1 Like

Thank you very much. That’s exactly what I was looking for.