You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Witam
wcześniej tego nie zauważyłem, ale niektóre miejscowości wstawioane do bazy są dwukrotnie z innym cityid
SELECT * FROM location_cities WHERE name = 'Juliopol-Szosa'
lms=> select * from location_cities where name = 'Juliopol-Szosa';
id | ident | name | cityid | boroughid
-------+--------+----------------+--------+-----------
5976 | 731880 | Juliopol-Szosa | 731850 | 315
15062 | 731880 | Juliopol-Szosa | 15058 | 315
(2 wiersze)
lms=> select * from location_cities where ident = '731850';
id | ident | name | cityid | boroughid
-------+--------+----------+--------+-----------
15058 | 731850 | Juliopol | | 315
(1 wiersz)
lms=> select * from location_cities where ident = '15058';
id | ident | name | cityid | boroughid
----+-------+------+--------+-----------
(0 wierszy)
gdzie w pliku SIMC.xml występuje tylko raz
marcin@lms:_MLO-/tmp$ grep 'Juliopol-Szosa' SIMC.xml
Juliopol-Szosa
skąd w takim razie bierze się ten wpis?:
15062 | 731880 | Juliopol-Szosa | 15058 | 315
takich "zdublowanych" pozycji jest wiele, nie wszystkie ale jednak.
baza dla woj. mazowieckiego
The text was updated successfully, but these errors were encountered:
Witam
wcześniej tego nie zauważyłem, ale niektóre miejscowości wstawioane do bazy są dwukrotnie z innym cityid
SELECT * FROM location_cities WHERE name = 'Juliopol-Szosa'
lms=> select * from location_cities where name = 'Juliopol-Szosa';
id | ident | name | cityid | boroughid
-------+--------+----------------+--------+-----------
5976 | 731880 | Juliopol-Szosa | 731850 | 315
15062 | 731880 | Juliopol-Szosa | 15058 | 315
(2 wiersze)
lms=> select * from location_cities where ident = '731850';
id | ident | name | cityid | boroughid
-------+--------+----------+--------+-----------
15058 | 731850 | Juliopol | | 315
(1 wiersz)
lms=> select * from location_cities where ident = '15058';
id | ident | name | cityid | boroughid
----+-------+------+--------+-----------
(0 wierszy)
gdzie w pliku SIMC.xml występuje tylko raz
Juliopol-Szosamarcin@lms:_MLO-/tmp$ grep 'Juliopol-Szosa' SIMC.xml
skąd w takim razie bierze się ten wpis?:
15062 | 731880 | Juliopol-Szosa | 15058 | 315
takich "zdublowanych" pozycji jest wiele, nie wszystkie ale jednak.
baza dla woj. mazowieckiego
The text was updated successfully, but these errors were encountered: