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

Bugfix: geometrie update van legacy data #5

Open
VerdoodtDries opened this issue Jun 4, 2024 · 1 comment
Open

Bugfix: geometrie update van legacy data #5

VerdoodtDries opened this issue Jun 4, 2024 · 1 comment

Comments

@VerdoodtDries
Copy link

De update van geometrie, werkt voor OTL-assets, maar niet voor Legacy-assets.
De geometrie van OTL wordt bewaard in de tabel geometrie, terwijl de geometrie voor LGC wordt bewaard in de tabel locatie.

De bug is vermoedelijk gelinkt aan de functie perform_locatie_update_with_values.
Voorbeeld: 6bb5909b-f33e-4d88-ae91-fe58a2be70df

@VerdoodtDries
Copy link
Author

This code is a good test to check if the geometry has been updated.

-- ebe7a86d-1710-49bd-add7-2198abdafff0
select
	a.*
	, g.wkt_string 
	, l.geometrie 
from assets a
left join geometrie g on a."uuid" = g.assetuuid 
left join locatie l on a."uuid" = l.assetuuid 
where a."uuid" = 'ebe7a86d-1710-49bd-add7-2198abdafff0'

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

1 participant