Changeset 25131 for trunk/psModules/src/concepts/pmConceptsStandard.c
- Timestamp:
- Aug 19, 2009, 3:20:57 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/concepts/pmConceptsStandard.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/concepts/pmConceptsStandard.c
r24419 r25131 450 450 small = 3600.0 * coords; 451 451 small = (float)((int)(small * 1000.0)) / 1000.0; 452 if (negative) {453 big *= -1;454 }455 452 psString coordString = NULL; // String with the coordinates in sexagesimal format 456 psStringAppend(&coordString, "% d:%02d:%06.3f", big, medium, small);453 psStringAppend(&coordString, "%c%02d:%02d:%06.3f", negative ? '-' : '+', big, medium, small); 457 454 coordItem = psMetadataItemAllocStr(concept->name, concept->comment, coordString); 458 455 psFree(coordString);
Note:
See TracChangeset
for help on using the changeset viewer.
