Commit 0f9110b
committed
Process untagged ways/relations in stage 1b/c correctly
When we introduced the "untagged" callbacks in
bc87ea2, we did not call the
process_untagged_way/relation callbacks for untagged ways/relations in
stage 1b and 1c, but called the normal process_way/relation callbacks.
That's not correct. So this is changed in this commit.
For stage2 processing the answer which callback to call is a bit more
complicated: On first glance we should also call the "untagged" function
for untagged objects. But if we call the "untagged" function in that
case, we would have to implement that function and it would be called
for the millions of untagged objects we are not interested in. So it is
arguably better to call the normal processing functions here. After all
we explicitly requested the processing function to be called with the
select_relation_members() call. So we are keeping this behaviour.1 parent 19b5c0f commit 0f9110b
2 files changed
+26
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
838 | | - | |
| 838 | + | |
839 | 839 | | |
840 | 840 | | |
841 | 841 | | |
| |||
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
847 | 852 | | |
848 | | - | |
| 853 | + | |
849 | 854 | | |
850 | 855 | | |
851 | 856 | | |
| |||
892 | 897 | | |
893 | 898 | | |
894 | 899 | | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
895 | 912 | | |
896 | 913 | | |
897 | | - | |
| 914 | + | |
| 915 | + | |
898 | 916 | | |
899 | 917 | | |
900 | 918 | | |
| |||
904 | 922 | | |
905 | 923 | | |
906 | 924 | | |
907 | | - | |
908 | | - | |
909 | | - | |
910 | | - | |
911 | | - | |
| 925 | + | |
912 | 926 | | |
913 | 927 | | |
914 | 928 | | |
915 | 929 | | |
916 | | - | |
| 930 | + | |
917 | 931 | | |
918 | 932 | | |
919 | 933 | | |
| |||
922 | 936 | | |
923 | 937 | | |
924 | 938 | | |
925 | | - | |
| 939 | + | |
926 | 940 | | |
927 | 941 | | |
928 | 942 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
| 200 | + | |
199 | 201 | | |
200 | 202 | | |
201 | 203 | | |
| |||
0 commit comments