I've just checked the source of lwgeom_svg.c in postgis-1.3.4rc3 and wonder what the fabs() testing in lines 243, 262, 303, 324 and 348 is for. Why is it needed?

e.g. line 243:
sprintf(y, "%.*f", precision, fabs(pt->y) > 0 ? (pt->y * -1) : pt->y);

thanks for any hints,

Klaus

--
Klaus Förster
Institut für Geographie
Universität Innsbruck
A-6020 Innsbruck, Innrain 52
Tel.: +43 (0)512 507 5434
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to