-
Notifications
You must be signed in to change notification settings - Fork 29
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
Space syntax importer #525
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this could be included in the code base. Please create a new issue for its refactoring with some problematic points we know already.
* The full dataset can be found at https://github.com/spacesyntax/OpenMapping | ||
* Please see https://github.com/spacesyntax/OpenMapping for code of conduct and terms of use. | ||
* | ||
* How to use in a recipe: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other info missing, subjectType, provider etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
if exists it updates else adds, but that increase overhead and compute time. | ||
Using this method will only keep the old value and discard the new one, in case of | ||
duplicate records. | ||
Fix Me: Need to find a better way to address it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, add a FIXME tag here so we can get it easily from the IDE and add an issue for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#530 is created
fixedValue.getId().getAttribute().getLabel(), | ||
e.getMessage()); | ||
} | ||
if ( saved % 2000 == 0 ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a short comment of why 2000. It will be useful when rethinking this method as per FIXME.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
private int subjectCount, timedValueCount, fixedValueCount = 0; | ||
|
||
private enum DatasourceId { | ||
SpaceSyntaxOpenMapping(new DatasourceSpec( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could be shorter SSxOpenMap
Description
added space syntax Open Mapping importer
Checklist