Commit 7edd2e3
Implement numerical to_* functions for mapcss
Neglecting the precision, since Python doesn't really differentiate between short/int/long or float/double.
Note that JOSM throws an exception rather than None (null) when conversion is impossible.1 parent 19fb532 commit 7edd2e3
1 file changed
+25
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
588 | 593 | | |
589 | 594 | | |
590 | 595 | | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
591 | 601 | | |
592 | 602 | | |
593 | 603 | | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
594 | 609 | | |
595 | 610 | | |
596 | 611 | | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
597 | 617 | | |
598 | 618 | | |
599 | 619 | | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
600 | 625 | | |
601 | 626 | | |
602 | 627 | | |
| |||
0 commit comments