Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lms-teryt #469

Closed
nicraMarcin opened this issue Dec 4, 2015 · 2 comments
Closed

lms-teryt #469

nicraMarcin opened this issue Dec 4, 2015 · 2 comments

Comments

@nicraMarcin
Copy link
Contributor

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

@chilek
Copy link
Owner

chilek commented Dec 9, 2015

#468 temporary fixes problem

@chilek chilek closed this as completed Dec 9, 2015
@nicraMarcin
Copy link
Contributor Author

ten request nie rozwiązuje podwójnego wstawiania do bazy

chilek added a commit that referenced this issue Jan 22, 2018
…ewer than configured seconds - backend code (resolves LMS+ #469)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants