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

Changes to make the fast CTRE index builder work for OSM (do not merge) #404

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hannahbast
Copy link
Member

This PR should not be merged into the master as is because some of it is ad-hoc (items 1 and 4) and some of it is just congifuration (item 3). Here is what it does:

  1. Assume that all triples are subject-predicate-object (no , or ; syntax to avoid repeating the subject and/or predicate) and that all triples are on a single line and end with a newline.

  2. In the current master, all literals with ^^ after the last quote are considered as xsd values, which cannot be externalized. In particular, this prevents the externalization of literals of type ^^geo:wktLiteral . This could be considered a BUG in the current master, which is fixed by a change in this PR.

  3. Externalize all literals of length > 128 (so far the threshold was 1024). This will externalize all larger geometries, but not POINTs and simple geometries like buildings. This should actually be configurable in the settings.json.

  4. Don't run the TurtleParserTest because it has several tests concerning the escaping of , and ; which now fail due to 1.

@hannahbast hannahbast requested a review from joka921 May 14, 2021 18:33
1. Assume that all triples are subject-predicate-object (no , or ;
syntac to avoid repeating the subject and/or predicate) and that all
triples are on a single line and end with a newline.
2. Make sure that literals of type ^^geo:wktLiteral can get externalized
(they were recognized as xsd values so far, which is a bug)
3. Externalize all literals of length > 128 (so far the threshold was
1024). This will externalize all larger geometries, but not POINTs and
simple geometries like buildings.
4. Don't run the TurtelParserTest because it has several tests
concerning the escaping of , and ; which now fail due to 1.
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

Successfully merging this pull request may close these issues.

None yet

1 participant