We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Paths should not be circular, but existing constraints do not actually ensure it:
Geotrek-admin/geotrek/core/templates/core/sql/post_40_paths.sql
Lines 89 to 90 in 7b7e045
Example: 'SRID=2154;LINESTRING (220720.2970061041 6839647.216621559, 220754.7791213283 6839679.476219036, 220784.1131707298 6839651.675301611,220720.2970061041 6839647.216621559)'
'SRID=2154;LINESTRING (220720.2970061041 6839647.216621559, 220754.7791213283 6839679.476219036, 220784.1131707298 6839651.675301611,220720.2970061041 6839647.216621559)'
SELECT ST_IsValid(ST_GeomFromText('SRID=2154;LINESTRING (220720.2970061041 6839647.216621559, 220754.7791213283 6839679.476219036, 220784.1131707298 6839651.675301611,220720.2970061041 6839647.216621559)')); st_isvalid ------------ t (1 row) SELECT ST_IsSimple(ST_GeomFromText('SRID=2154;LINESTRING (220720.2970061041 6839647.216621559, 220754.7791213283 6839679.476219036, 220784.1131707298 6839651.675301611,220720.2970061041 6839647.216621559)')); st_issimple ------------- t (1 row)
Some factors that need to be considered:
merge_segmented_paths
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Paths should not be circular, but existing constraints do not actually ensure it:
Geotrek-admin/geotrek/core/templates/core/sql/post_40_paths.sql
Lines 89 to 90 in 7b7e045
Example:
'SRID=2154;LINESTRING (220720.2970061041 6839647.216621559, 220754.7791213283 6839679.476219036, 220784.1131707298 6839651.675301611,220720.2970061041 6839647.216621559)'
Some factors that need to be considered:
merge_segmented_paths
command can merge two paths into a circular one if both of their extremities touchThe text was updated successfully, but these errors were encountered: